Avatar for the dcastil user
dcastil
tailwind-merge
BlogDocsChangelog

additional optimizations

#619Merged
Comparing
quantizor:further-improvements
(
1bafc9c
) with
main
(
57372fa
)
CodSpeed Performance Gauge
+1%
Untouched
5
New
2

Benchmarks

7 total
ultra long class list with many conflicts without cache
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
N/A
N/A16.1 ms
ultra long class list with many conflicts with cache
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
N/A
N/A16.1 ms
collection without cache
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
+5%
202 ms193 ms
collection with cache
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
+2%
17.3 ms16.9 ms
simple
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
0%
3.9 ms3.9 ms
heavy
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
init
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
0%
5.1 ms5.1 ms

Commits

Click on a commit to change the comparison range
Base
main
57372fa
+1.69%
perf: pre-compute conflict arrays at initialization
7831c8e
4 months ago
by quantizor
-0.34%
test: add ultra long class list benchmark
1927858
4 months ago
by quantizor
0%
revert: remove array-based string building optimization
0799c12
4 months ago
by quantizor
0%
Make benchmark test names consistent
1bafc9c
3 months ago
by dcastil
© 2026 CodSpeed Technology
Home Terms Privacy Docs