WebAssembly WIP plus fix for edge case in decoding.#22
WebAssembly WIP plus fix for edge case in decoding.#22krisselden wants to merge 5 commits intomasterfrom
Conversation
|
So does this help, how faster is it so far? |
|
@vlascik there are benchmarks, the current js version goes from 5 seconds for source-map to .5 for the 15mb of mappings in that scala sourcemap example. The webassembly version didn't see much improvement for node 8 but on the nightly v8 integration it cut it down to ~250ms from 500ms. Thanks for the article you can see if you look at the history of this project I'm aware of the allocation issues and how slow the Mozilla sourcemap library is. I have further notes for speeding up concat in a build pipeline and other ideas but just have had a limited amount of time. |
|
5s -> 250ms is pretty awesome, great job. |
Ya the goal of this project is to eventually replace the one in broccoli-concat. If you have cycles to help, we would love the help :) |
No description provided.