New issue
Advanced search Search tips

Issue 668398 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Closed: Dec 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

hot swapping js code is incredible slow(up to 2 min) in workspace

Reported by x.ce...@gmail.com, Nov 24 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2929.4 Safari/537.36

Steps to reproduce the problem:
I have bundled file bundle.js(30000LOC, 1mb - simple react app), and added it to workspace. 

If add simple changes to begin and end of file page freezes about 50~100sec

in console printed
[Violation] Long running JavaScript task took 101146ms

in attachment try to change top and bottom console.log() to any other and save it, and then try to interact with the page, for example resize devtools window

What is the expected behavior?

What went wrong?
page freezing after js file have been changed

Did this work before? No 

Chrome version: 57.0.2929.4  Channel: canary
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 24.0 r0
 
test.zip
140 KB Download
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
I suspect we are being bitten by diff.

Comment 2 by x.ce...@gmail.com, Nov 29 2016

But if I change only top or bottom console.log it took only 500ms
Owner: kozy@chromium.org

Comment 4 by kozy@chromium.org, Jan 3 2018

Cc: kozy@chromium.org pfeldman@chromium.org
 Issue 795271  has been merged into this issue.
Is there any update on this? Issues merged reported almost more than a year and several versions apart but doesn't appear to be any further info..
Status: Archived (was: Assigned)
Bulk-closing low priority bugs / feature requests with no action plan.

Sign in to add a comment