Skip to content

Use @benthemonkey source-map fork - #100

Closed
7rulnik wants to merge 4 commits into
webpack:mainfrom
7rulnik:master
Closed

Use @benthemonkey source-map fork#100
7rulnik wants to merge 4 commits into
webpack:mainfrom
7rulnik:master

Conversation

@7rulnik

@7rulnik 7rulnik commented Jan 7, 2021

Copy link
Copy Markdown

@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
Copy Markdown
Member

We need published package...

@7rulnik

7rulnik commented Jan 8, 2021

Copy link
Copy Markdown
Author

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

@benthemonkey

Copy link
Copy Markdown

Sure I'll do this today.

@benthemonkey

Copy link
Copy Markdown

@alexander-akait

Copy link
Copy Markdown
Member

Let's change it in package.json

@7rulnik

7rulnik commented Jan 8, 2021

Copy link
Copy Markdown
Author

@benthemonkey thanks for the rapid feedback!

@alexander-akait it's done

@7rulnik

7rulnik commented Jan 19, 2021

Copy link
Copy Markdown
Author

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
Copy Markdown
Member

@7rulnik thanks for fixing it

@alexander-akait

Copy link
Copy Markdown
Member

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

@7rulnik

7rulnik commented Feb 7, 2021

Copy link
Copy Markdown
Author

@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

7rulnik commented Jul 27, 2021

Copy link
Copy Markdown
Author

#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