Issue metadata
Sign in to add a comment
|
Loading my angular site with DevTools open causes it to render 20x slower
Reported by
michaels...@gmail.com,
Jan 19 2018
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 Steps to reproduce the problem: 1. Open DevTools 2. Reload the application What is the expected behavior? The site loads and renders approximately as fast as with DevTools closed (~ 2 seconds). What went wrong? The site renders in upwards of 55 seconds. Did this work before? Yes First noticed it broken in 65.0.3298.0, possibly earlier. Chrome version: 65.0.3325.0 Channel: canary OS Version: 10.0 Flash Version: I could not attach the *problematic* trace (too big), but it's here: https://chromiumdev.slack.com/files/U04RE8C68/F8VPC7RQS/trace_trace_ng5_frozen_render_devtools_open.zip The site will render as expected if recording a Performance Profile (tested with 'Start profiling and reload page'). The application being accessed is ng 5.0.5 served via a localhost ng serve proxy. See https://chromiumdev.slack.com/archives/C051KSB4E/p1515770696000566 onward.
,
Jan 22 2018
Thanks For filing the issue!! @Reporter: Could you please attach sample file to check this issue from TE End. This would help in further triaging of the issue. Thanks!
,
Jan 22 2018
Could you try to open DevTools settings and in Debugger section check "Disable async stack traces" checkbox and confirm that application reload is still slow?
,
Jan 22 2018
Hi! What additional sample file would you like me to attach? If it's an (ng) application source, the request is perfectly reasonable but I'm afraid my hands are tied: the application is closed source and I'm under an NDA. (I had to sanitize those perf traces as it is.)
,
Jan 22 2018
NOTE: now testing with Version 66.0.3328.0 (Canary). @kozy, thank you for replying. Checking "Disable async stack traces" had no effect. Additionally, closing DevTools immediately after reloading the page also has no effect: it still loads slowly. DevTools must be closed at the time the page reload is triggered in order to load normally.
,
Jan 22 2018
Thanks! I took a look on traces. It looks like page load by itself took the same time with and without DevTools. Could you describe in more details how you reload page? Do you use the reload button? If so, could you observe the same freeze if trigger page reload by clicking enter when focus inside omnibox (navigate to the current url)?
,
Feb 15 2018
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by michaels...@gmail.com
, Jan 19 2018It seems the linked trace ("trace_trace_ng5_frozen_render_devtools_open.zip") *did* attach to the ticket, after all.