Avatar for the unjs user
unjs
magic-regexp
BlogDocsChangelog

GitHub Actions
run

6 months ago e3a9e41 main

Compare

Base
Search a run

Head
main
e3a9e41
6 months ago

Compare
Suggested base runs:

Benchmarks

statically replaces regexps where possible
test/transform.bench.ts::transformer: magic-regexp::statically replaces regexps where possible
4 ms
ignores code without imports from magic-regexp
test/transform.bench.ts::transformer: magic-regexp::ignores code without imports from magic-regexp
668.4 µs
preserves context for dynamic regexps
test/transform.bench.ts::transformer: magic-regexp::preserves context for dynamic regexps
3.1 ms
ignores non-JS files
test/transform.bench.ts::transformer: magic-regexp::ignores non-JS files
615.4 µs
respects how users import library
test/transform.bench.ts::transformer: magic-regexp::respects how users import library
3.5 ms
transforms vue script blocks
test/transform.bench.ts::transformer: magic-regexp::transforms vue script blocks
5.4 ms
Home Terms PrivacyDocs