1. 31 Mar, 2020 2 commits
    • Grisha Kruglov's avatar
      Part 6: Kick-off account manager initialization after visual completeness · 6c38b773
      Grisha Kruglov authored
      In order to hide the time it takes for the account manager to be initialized
      (which always involves disk IO, and often network IO), let's kick it off
      after "visual completeness".
      This makes sure that for most users, by the time they interact with the account
      manager-related functionality (e.g. in Settings), it's ready to go.
      
      Also, for signed-in users, this will establish background sync workers.
      6c38b773
    • Grisha Kruglov's avatar
      Pre: introduce a RunWhenReadyQueue · be1fa8df
      Grisha Kruglov authored
      This replaces the StartupTaskManager we had with a more general class.
      New implementation is a thread-safe "gated task executor", which either
      runs the task right away if it's marked as 'ready', or queries it to be
      executed later on.
      
      This ability to either execute or queue a task will be useful later on in the
      commit series.
      be1fa8df
  2. 26 Mar, 2020 1 commit
  3. 19 Mar, 2020 1 commit
    • Grisha Kruglov's avatar
      Initialize storage after visual completeness · e541e104
      Grisha Kruglov authored
      In order to eat the perceived performance costs, we initialize storage
      once we're visually complete. This way, we're reducing chances of user performing
      a UI action which will trigger storage init and delay said action.
      e541e104
  4. 13 Mar, 2020 1 commit
  5. 11 Mar, 2020 1 commit
  6. 09 Mar, 2020 1 commit
  7. 05 Mar, 2020 1 commit
  8. 03 Mar, 2020 1 commit
  9. 02 Mar, 2020 1 commit
  10. 28 Feb, 2020 2 commits
  11. 27 Feb, 2020 1 commit
  12. 26 Feb, 2020 1 commit
    • Grisha Kruglov's avatar
      Remove direct A-S dependency; switch to using 'full' megazord · fddf7728
      Grisha Kruglov authored
      As far as I can tell, we never actually exercise the a-s libraries in Fenix tests currently (this was one of the presumed reasons for having a direct dependency).
      In a different branch I've started work on adding end-to-end tests, but currently that's blocked on trying to figure out to load native libraries in tests (somehow, fenix's setup is different than what we have in A-C, not yet clear to me in what way).
      
      Another reason for a direct dependency (i think) is that we needed it to configure a `fenix` megazord. This could be solved via a `support-megazord-fenix` a-c component that provides the correct transient dependencies,
      but we can also just switch to use the `full` megazord instead, which is essentially what fenix megazord is at this point. A-S team wants to remove the fenix megazord, so this will help. This is what this patch does.
      fddf7728
  13. 25 Feb, 2020 1 commit
  14. 24 Feb, 2020 2 commits
  15. 18 Feb, 2020 1 commit
  16. 12 Feb, 2020 1 commit
  17. 10 Feb, 2020 1 commit
  18. 07 Feb, 2020 1 commit
    • Michael Comella's avatar
      For #7820: warm BrowsersCache on background thread. · a896b47c
      Michael Comella authored
      In an early iteration of his patch on a beta build, I saw no improvement over
      6 runs (Pixel 2):
      - Before: 401.5ms
      - After: 402.17ms
      
      This may be attributed to noise in startup performance. However,
      BrowsersCache disappears from profiles completely and results in
      theoretical performance gains.
      
      When using the StartupTimeline class (not landed yet), I see a 27.75ms
      runtime improvement on beta builds after this patch.
      a896b47c
  19. 04 Feb, 2020 1 commit
  20. 26 Jan, 2020 1 commit
  21. 23 Jan, 2020 1 commit
  22. 17 Jan, 2020 1 commit
  23. 15 Jan, 2020 1 commit
  24. 13 Jan, 2020 1 commit
  25. 10 Jan, 2020 1 commit
  26. 04 Jan, 2020 1 commit
    • Mihai Branescu's avatar
      Feature/#220 language menu (#7070) · ea2411a8
      Mihai Branescu authored
      
      
      * For #220
      - Added advanced header + locale settings item in the settings fragment
      
      * For #220
      - Added locale selection page with lib state + handling of locale changes
      
      * For #220
      - Removed registering for locale changes in the manifest, allow system
      to restart activity in that scenario
      
      * For #220
      - Added unit tests for locale settings page
      
      * For #220: fixed an outdated unit test
      ga-a
      Co-authored-by: default avatarSeverin Rudie <Baron-Severin@users.noreply.github.com>
      ea2411a8
  27. 03 Jan, 2020 1 commit
    • Severin Rudie's avatar
      7410 remove rxjava (#7426) · 9cbc3f7a
      Severin Rudie authored
      * For #7410: rewrite updateBookmarkFromObservableInput with coroutines
      
      * For 7410: remove RxJava from project. :(
      
      * For 7410: converted updateBookmarkFromTextChanges to Flow per review
      9cbc3f7a
  28. 30 Dec, 2019 1 commit
  29. 17 Dec, 2019 1 commit
    • Grisha Kruglov's avatar
      Closes #6937: Disable runStorageMaintenance during startup · 52334f91
      Grisha Kruglov authored
      This call will acquire a "write" lock at the storage layer (sqlite's reserved+),
      which may interfere with migrations that run during startup as well (they need to
      write to storage, and so also need to acquire a lock). If these operations clash,
      we get a SQLITE_BUSY crash. For now, just disable the maintenance operation.
      52334f91
  30. 27 Nov, 2019 1 commit
    • Will Hawkins's avatar
      Issue #5183: Initialize megazord asynchronously · a69253cf
      Will Hawkins authored
      Thanks to the work of the team at application-services, it is possible
      to asynchronously initialize the Http client and logger used by megazord
      Use that power to hide the time necessary to complete this initialization
      within the time that it takes to warmup the gecko runtime.
      a69253cf
  31. 22 Nov, 2019 1 commit
  32. 08 Nov, 2019 1 commit
  33. 07 Nov, 2019 1 commit
  34. 05 Nov, 2019 1 commit
  35. 30 Oct, 2019 1 commit
  36. 25 Oct, 2019 1 commit
  37. 24 Oct, 2019 1 commit