Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use @benthemonkey source-map fork #100

Closed
wants to merge 4 commits into from
Closed

Conversation

7rulnik
Copy link

@7rulnik 7rulnik commented Jan 7, 2021

@benthemonkey made a source-map fork and backported mozilla/source-map#308 to js implementation.

Patch diff: mozilla/source-map@0.6.1...benthemonkey:patch-0.6.1

Sources of the idea:
mozilla/source-map#370
zulip/zulip#16545

Related to #34


I tried to run the benchmark in webpack repo but got jest error Your test suite must contain at least one test. Also, there is some problem with Travis, but tests passed on my machine.

@alexander-akait
Copy link
Member

We need published package...

@7rulnik
Copy link
Author

7rulnik commented Jan 8, 2021

Yeah, repo can be deleted.
@benthemonkey could you publish it to npm?

@benthemonkey
Copy link

Sure I'll do this today.

@benthemonkey
Copy link

@alexander-akait
Copy link
Member

Let's change it in package.json

@7rulnik
Copy link
Author

7rulnik commented Jan 8, 2021

@benthemonkey thanks for the rapid feedback!

@alexander-akait it's done

@7rulnik
Copy link
Author

7rulnik commented Jan 19, 2021

I think it's ready, but let's wait for benthemonkey/source-map#1. I will try to polish and release it this weekend.

@alexander-akait
Copy link
Member

@7rulnik thanks for fixing it

@alexander-akait
Copy link
Member

@7rulnik feel free to ping me when it will be ready

@7rulnik
Copy link
Author

7rulnik commented Feb 7, 2021

@alexander-akait I finished optimizations and moved to https://www.npmjs.com/package/source-map-js

For more info see 7rulnik/source-map-js#2

As a result, parsing became 4x faster and serialization 30% faster

@7rulnik
Copy link
Author

7rulnik commented Jul 27, 2021

#34 (comment)

@7rulnik 7rulnik closed this Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants