unjs
magic-regexp
BlogDocs

GitHub Actions
run

Base runon
main
at
29b0119
compared to head run on
main
at
0fa0103
from
15 days ago
-1%
Improvements
0
Regressions
0
Untouched
6
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

statically replaces regexps where possible
test/transform.bench.ts::transformer: magic-regexp::statically replaces regexps where possible
0%
4.1 ms
4.1 ms
ignores code without imports from magic-regexp
test/transform.bench.ts::transformer: magic-regexp::ignores code without imports from magic-regexp
0%
494.8 µs
495.6 µs
preserves context for dynamic regexps
test/transform.bench.ts::transformer: magic-regexp::preserves context for dynamic regexps
-1%
3 ms
3 ms
respects how users import library
test/transform.bench.ts::transformer: magic-regexp::respects how users import library
-1%
3.4 ms
3.5 ms
transforms vue script blocks
test/transform.bench.ts::transformer: magic-regexp::transforms vue script blocks
-1%
5.4 ms
5.5 ms
ignores non-JS files
test/transform.bench.ts::transformer: magic-regexp::ignores non-JS files
-2%
624.2 µs
635.4 µs
Home Terms PrivacyDocs