Closed
Bug 1509846
Opened 7 years ago
Closed 7 years ago
Validate functions in parallel when compiling with Cranelift
Categories
(Core :: JavaScript: WebAssembly, enhancement)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
mozilla65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: bbouvier, Assigned: bbouvier)
References
Details
Attachments
(1 file)
|
7.09 KB,
patch
|
lth
:
review+
|
Details | Diff | Splinter Review |
While looking at bug 1509441, I saw a Cranelift #idef, showing that function validation was happening on the main thread for Cranelift. This is sub-efficient for many reasons (not parallelized work + this ends up checking the head and tail twice), plus since we have all the mechanisms to do validation on helper thread and report errors to the main threads. We should just do it on the helper threads instead (this should be a small compilation time win in baldrdash).
| Assignee | ||
Comment 1•7 years ago
|
||
This removes ~40 lines of code and it shaves off a few hundred milliseconds when compiling AngryBots with Baldrdash.
Updated•7 years ago
|
Attachment #9027520 -
Flags: review?(lhansen) → review+
Pushed by bbouvier@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2b4844c3f4d8
Validate in parallel when compiling with Cranelift; r=lth
Comment 3•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•