question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can you update source-map to improve performance?

See original GitHub issue

https://github.com/mozilla/source-map/blob/master/CHANGELOG.md SourceMapConsumer now uses WebAssembly, which is much faster

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ds300commented, May 25, 2018

I decided to revert this change. It broke some people’s builds already, and would probably break some more in the coming weeks. I don’t think the perf improvements from wasm are worth the time and effort required from the people this affects. Maybe I’ll try again in a while.

1reaction
ds300commented, May 23, 2018

Just published react-native-typescript-transformer@1.2.6 with the new source-map 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there any performance impact of adding source-maps in ...
Yes. Depending on the complexity of your code source maps significantly increase the entire project size leading to longer load time ...
Read more >
Please upgrade source-map to 0.7.2 to get speed improvements
Please update so you would get 10 times speed improvements for your library in Firefox, 9 times in Safari and 5 times in...
Read more >
Major JavaScript source map updates - Rollbar
We 're excited to introduce a major update to JavaScript source map support in Rollbar! This update introduces several features unique to ...
Read more >
Should I Use Source Maps in Production? | CSS-Tricks
There's no hit on performance (source maps don't get loaded unless you have DevTools open, which is, IMO, irrelevant to a real performance ......
Read more >
Is it safe to ship JavaScript Source maps to production?
Most developer tools can now parse the source map automatically and look as if you're running the unminified and uncombined files.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found