unjs
magic-regexp
BlogDocs

GitHub Actions
run

Base runon
main
at
0fa0103
compared to head run on
main
at
30fba94
from
14 days ago
0%
Improvements
0
Regressions
0
Untouched
6
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

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