Avatar for the danielroe user
danielroe
beasties
BlogDocsChangelog

feat: new preload strategy `swap-low`

#72Merged
Comparing
SukkaW:swap-low
(
b916377
) with
main
(
67281f2
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
9
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

skip invalid path
packages/beasties/test/beasties.bench.ts::beasties::skip invalid path
CodSpeed Performance Gauge
0%
5.3 ms
5.3 ms
does not decode entities in HTML document
packages/beasties/test/beasties.bench.ts::beasties::does not decode entities in HTML document
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
run on HTML file
packages/beasties/test/beasties.bench.ts::beasties::run on HTML file
CodSpeed Performance Gauge
0%
5.2 ms
5.2 ms
run on HTML file multiple times
packages/beasties/test/beasties.bench.ts::beasties::run on HTML file multiple times
CodSpeed Performance Gauge
0%
8.3 ms
8.3 ms
should keep existing link tag attributes
packages/beasties/test/beasties.bench.ts::beasties::should keep existing link tag attributes
CodSpeed Performance Gauge
0%
2.4 ms
2.4 ms
does not encode HTML
packages/beasties/test/beasties.bench.ts::beasties::does not encode HTML
CodSpeed Performance Gauge
0%
2.4 ms
2.4 ms
basic Usage
packages/beasties/test/beasties.bench.ts::beasties::basic Usage
CodSpeed Performance Gauge
0%
2.5 ms
2.6 ms
prevent injection via media attr
packages/beasties/test/beasties.bench.ts::beasties::prevent injection via media attr
CodSpeed Performance Gauge
-1%
5.8 ms
5.9 ms

Commits

Click on a commit to change the comparison range
Base
main
67281f2
0%
chore: fix a few typos
ab0e8d1
5 months ago
by SukkaW
0%
test: add `swap-low` and `swap-high` test cases
b916377
1 month ago
by danielroe
© 2025 CodSpeed Technology
Home Terms PrivacyDocs