The applink-startup test should flush the DNS cache before each run
Categories
(Testing :: mozperftest, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: mstange, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxp])
The app link startup test currently won't catch regressions or improvements when we change how early we look up DNS for the host name. That's because the device's DNS cache will have the IP for theme-crave-demo.myshopify.com cached after the first run. It would be good to clear the DNS cache before each run, so that we can find out how pre-warming DNS affects performance in the case where users are following an app link to a host that they don't have in the local DNS cache yet.
Kaya, what command do you recommend for flushing the DNS cache on the phone?
Updated•1 year ago
|
Updated•1 year ago
|
Comment 1•1 year ago
•
|
||
For reference :kaya, at the beginning of each test we run pm clear {package name} do you know if this flushes the cache?
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Not really, it is an OS level DNS cache, I would not expect app data clearing flushing the DNS. It looks like hard/soft reboot would be required for flushing it.
I'll soon be validating these approaches and whether they're indeed clearing the cache, then I'll update this ticket again. That's why still keeping the ni request for myself on.
Description
•