Bug 125201 - Performance issue (with KineticJS) which goes away when dev console is open
Summary: Performance issue (with KineticJS) which goes away when dev console is open
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.9
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/LAgBF/27/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-12-03 16:52 PST by Piers Goodhew
Modified: 2020-03-31 11:41 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piers Goodhew 2013-12-03 16:52:37 PST
I've been trying to put together a simple schematic editor using KineticJS (and JSFiddle) which has some fairly severe performance issues when I select 3 objects and try to move them at once. However when I invoke the JS profiler (or any other part of the web inspector it seems), the problems go away.

Steps to repeat:

Open the above URL
Run the code by clicking "run" in the top left
In the canvas area at the bottom-right, select the 3 boxes (using shift, no marquee yet) and try to drag them. Beachball ensues for a time.

This does not occur if you only select 2 boxes, or if you have any part of the web inspector open.

It occurs much less repeatably if you run the code outside JSFiddle (I don't actually have it hosted anywhere).

Also, later versions of the same code, e.g. http://jsfiddle.net/LAgBF/31/ (which has partial marquee select) do not always exhibit the problem.
Comment 1 Radar WebKit Bug Importer 2020-03-31 11:41:31 PDT
<rdar://problem/61117724>