Closed
Bug 1134566
Opened 10 years ago
Closed 5 years ago
Improve the performance of the source-map library by rewriting parts of it in asm.js.
Categories
(DevTools :: Debugger, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ejpbruel, Unassigned)
References
(Blocks 1 open bug)
Details
Parsing source maps is a significant performance bottleneck for the devtools. The parser implementation is written in JS and is already optimized to the point where we don't expect to get any big wins there.
The only way to get better performance at this point would be to rewrite the parser in either C++ or asm.js. Since the source-map library is used by people outside of Mozilla as well, asm.js seems the best option here.
Reporter | ||
Updated•10 years ago
|
Blocks: dbg-sourcemap
Comment 1•7 years ago
|
||
Rust is the new hotness.
https://github.com/tromey/vlq
Though it seems to me that this is less important now that the decoding is done in a worker.
Marking it P4, the forgotten P.
Priority: -- → P4
Comment 3•7 years ago
|
||
(In reply to :Harald Kirschner :digitarald from comment #2)
> Tom, didn't this happen?
Yes, but it hasn't landed in devtools-core yet (https://github.com/devtools-html/devtools-core/pull/995)
or been landed in M-C yet (note that M-C has two copies of the source map library).
Flags: needinfo?(ttromey)
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 4•5 years ago
|
||
The sourcemap library uses wasm now.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•