Closed
Bug 488081
Opened 17 years ago
Closed 16 years ago
Workers: Don't compile and run script if it is suspended
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| status1.9.2 | --- | .2-fixed |
People
(Reporter: bent.mozilla, Assigned: bent.mozilla)
Details
Attachments
(1 file)
|
10.21 KB,
patch
|
jst
:
review+
jst
:
superreview+
beltzner
:
approval1.9.2.2+
|
Details | Diff | Splinter Review |
Currently we compile the worker script and trigger the op callback in order to suspend a worker that should already be suspended. This is wasteful (computation time, memory, and a blocked thread) and we should simply stick the worker in a suspended queue somewhere for later.
| Assignee | ||
Comment 1•16 years ago
|
||
This queues suspended worker runnables rather than executing and suspending them.
Assignee: nobody → bent.mozilla
Status: NEW → ASSIGNED
Attachment #394124 -
Flags: superreview?(jst)
Attachment #394124 -
Flags: review?(jst)
| Assignee | ||
Comment 2•16 years ago
|
||
jst, review ping!
Comment 3•16 years ago
|
||
Comment on attachment 394124 [details] [diff] [review]
Patch, v1
r+sr=jst
Attachment #394124 -
Flags: superreview?(jst)
Attachment #394124 -
Flags: superreview+
Attachment #394124 -
Flags: review?(jst)
Attachment #394124 -
Flags: review+
| Assignee | ||
Comment 4•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•16 years ago
|
Attachment #394124 -
Flags: approval1.9.2?
Comment 5•16 years ago
|
||
Comment on attachment 394124 [details] [diff] [review]
Patch, v1
approval1.9.2 requests aren't currently being monitored, since we're nearing RC freeze and there are too many outstanding requests, so I'm clearing this request. Feel free to re-request approval if you are confident that it's worth drivers' time to consider whether this non-blocker needs to land for 1.9.2 at this stage.
Attachment #394124 -
Flags: approval1.9.2?
| Assignee | ||
Comment 6•16 years ago
|
||
Comment on attachment 394124 [details] [diff] [review]
Patch, v1
I'd like to get this on the branch. It prevents us from running worker code after we've already left the page it was on which can slow everything down significantly with some test cases. Also, it's baked for quite a while now.
Attachment #394124 -
Flags: approval1.9.2.1?
Comment 7•16 years ago
|
||
Comment on attachment 394124 [details] [diff] [review]
Patch, v1
a1922=beltzner
Attachment #394124 -
Flags: approval1.9.2.2? → approval1.9.2.2+
| Assignee | ||
Comment 8•16 years ago
|
||
status1.9.2:
--- → .2-fixed
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•