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

perf: mappings encoder and decoder #114

Merged
merged 7 commits into from
Aug 28, 2024

Conversation

SyMind
Copy link
Member

@SyMind SyMind commented Aug 24, 2024

decoder ported from webpack, with only a single iteration for the mappings string.

Copy link

codspeed-hq bot commented Aug 24, 2024

CodSpeed Performance Report

Merging #114 will improve performances by 12.37%

Comparing SyMind:perf-mappings-encoder (3c687c5) with main (fef4544)

Summary

⚡ 1 improvements
✅ 4 untouched benchmarks

Benchmarks breakdown

Benchmark main SyMind:perf-mappings-encoder Change
replace_large_minified_source 110.9 ms 98.7 ms +12.37%

@SyMind SyMind force-pushed the perf-mappings-encoder branch 3 times, most recently from cc007ee to dcc5fd0 Compare August 24, 2024 09:05
@SyMind SyMind force-pushed the perf-mappings-encoder branch 3 times, most recently from 19301f6 to bac78ed Compare August 26, 2024 11:42
@SyMind SyMind force-pushed the perf-mappings-encoder branch 3 times, most recently from a14e861 to 95a493c Compare August 26, 2024 12:32
@SyMind SyMind changed the title perf: MappingsEncoder perf: mappings encoder and decoder Aug 27, 2024
@SyMind SyMind mentioned this pull request Aug 27, 2024
2 tasks
@SyMind SyMind marked this pull request as ready for review August 28, 2024 10:23
@SyMind SyMind merged commit 08fca46 into web-infra-dev:main Aug 28, 2024
7 checks passed
@SyMind SyMind deleted the perf-mappings-encoder branch August 28, 2024 11:23
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.

2 participants