fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Investigate the Search Suggestion Responsiveness

Open Malclir opened this issue 6 years ago • 1 comments

From #7380 , this was identified as one possible avenue where performance could maybe be improved. This issue is targeted to investigate into how efficient our Search Suggestion is.

Within the search suggestion, there are two use case that interest us:

  1. home -> search ui [ User gets there by clicking on the url bar] + "search with" + onscreen keyboard should be ~100ms (up to 250ms is ok)

2.starting from end of step 1-> character entered -> search ui + "keyword suggestions" + "url suggestions" + onscreen keyboard still up should be ~100ms (50ms is better). With this, there are, however, 2 possible cases

  • First case is when the first character is typed (Therefore from an empty search bar to the first character that generates the first suggestions)
  • Second case is when the user enters more character following the first one

┆Issue is synchronized with this Jira Task

Malclir avatar Mar 11 '20 20:03 Malclir

The result of looking into this which were taken using System.nanoTime() for all 3 cases

Case 1:

  • Average was ~609ms

Case 2:

  • 156.72ms
  • 116.5ms

Malclir avatar Mar 19 '20 03:03 Malclir