Improve the performance of the source-map library by rewriting parts of it in asm.js.



4 years ago
8 months ago


(Reporter: ejpbruel, Unassigned)


(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)




4 years ago
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.


4 years ago
Blocks: 771597
Rust is the new hotness.

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
Tom, didn't this happen?
Flags: needinfo?(ttromey)

Comment 3

11 months 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 (
or been landed in M-C yet (note that M-C has two copies of the source map library).
Flags: needinfo?(ttromey)


8 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.