AMP Autosuggest Performance
I've implemented auto-suggest and found some performance issue.
What's the issue?
I'm currently using typeahead.js for auto-suggest. So i want to replace it with AMP auto-suggest. Now the issue with AMP auto-suggest is, when i search query for first time [after site loaded] it took approx. 3 Sec. to render the suggestion list. And for non amp version [with typeahead] it took approx. 1.5 Sec to render the suggestion list for the same query.
I've tried using 'input-throttled' instead of input-debounce but with no luck.
Any suggestion on how to improve this?
What browsers are affected?
Latest version of Chrome and Firefox.
Which AMP version is affected?
Version 1516833286380
/to @cvializ
@Kishan08 Can you please try on Safari/iOS as well? I ran into a similar issue where there's a rendering delay on Chrome/Webkit/Android. The same amp-list works without delay on iOS/Safari. Here are the details: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/amphtml-discuss/DAHtpfCupgo/aabjD6W5AQAJ
Any update?
@Kishan08 Can you provide a link to the documents where you are observing the fast vs. slow behavior? That will help me investigate. Thank you!
This issue seems to be in Pending Triage for awhile. @cvializ Please triage this to an appropriate milestone.
This issue seems to be in Pending Triage for awhile. @cvializ Please triage this to an appropriate milestone.
FYI we do not see irregular browser behavior or browser performance with amp-autosuggest. So am interested in a problem link as it may be doing something that we'll encounter in the future.
This issue seems to be in Pending Triage for awhile. @cvializ Please triage this to an appropriate milestone.
Hi there!
This issue is related to the AMP autosuggest example that we removed when we launched the new dedicated amp-autocomplete component: https://amp.dev/documentation/examples/components/amp-autocomplete/?format=websites
I'm going to go ahead and close this issue with the recommendation that you try out the new component, but please feel free to let us know if you are still experiencing any performance problems with use. Thanks!