Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch test suite to vitest #461

Merged
merged 21 commits into from
Aug 18, 2024
Merged

Switch test suite to vitest #461

merged 21 commits into from
Aug 18, 2024

Conversation

dcastil
Copy link
Owner

@dcastil dcastil commented Aug 18, 2024

No description provided.

@github-actions github-actions bot added context-v2 Related to tailwind-merge v2 other Is other labels Aug 18, 2024
Copy link

github-actions bot commented Aug 18, 2024

Metrics report

At head commit d4ef3ac and base commit 1bed05d at 2024-08-18T16:44:24.800Z

Size

No changes

All size metrics
Export Size original Size minified Size minified and Brotli compressed
tailwind-merge esm 72.08 kB 0% 20.22 kB 0% 5.77 kB 0%
 › createTailwindMerge 12.63 kB 0% 3.40 kB 0% 1.38 kB 0%
 › extendTailwindMerge 71.59 kB 0% 19.81 kB 0% 5.57 kB 0%
 › fromTheme 0.16 kB 0% 0.08 kB 0% 0.09 kB 0%
 › getDefaultConfig 57.30 kB 0% 15.90 kB 0% 4.15 kB 0%
 › mergeConfigs 1.45 kB 0% 0.45 kB 0% 0.23 kB 0%
 › twJoin 1.06 kB 0% 0.26 kB 0% 0.16 kB 0%
 › twMerge 69.96 kB 0% 19.31 kB 0% 5.43 kB 0%
 › validators 3.01 kB 0% 1.26 kB 0% 0.64 kB 0%
tailwind-merge cjs 72.34 kB 0% 23.29 kB 0% 6.12 kB 0%
tailwind-merge/es5 esm 75.88 kB 0% 21.60 kB 0% 6.06 kB 0%
 › createTailwindMerge 14.51 kB 0% 4.03 kB 0% 1.51 kB 0%
 › extendTailwindMerge 75.20 kB 0% 21.19 kB 0% 5.83 kB 0%
 › fromTheme 0.21 kB 0% 0.10 kB 0% 0.09 kB 0%
 › getDefaultConfig 58.44 kB 0% 16.45 kB 0% 4.17 kB 0%
 › mergeConfigs 1.78 kB 0% 0.50 kB 0% 0.24 kB 0%
 › twJoin 1.08 kB 0% 0.26 kB 0% 0.14 kB 0%
 › twMerge 72.97 kB 0% 20.49 kB 0% 5.62 kB 0%
 › validators 3.74 kB 0% 1.54 kB 0% 0.65 kB 0%
tailwind-merge/es5 cjs 76.13 kB 0% 24.70 kB 0% 6.27 kB 0%

Copy link

codspeed-hq bot commented Aug 18, 2024

CodSpeed Performance Report

Merging #461 will create unknown performance changes

Comparing other/switch-test-suite-to-vitest (d4ef3ac) with main (1bed05d)

Summary

🆕 5 new benchmarks
⁉️ 7 (👁 7) dropped benchmarks

Benchmarks breakdown

Benchmark main other/switch-test-suite-to-vitest Change
👁 collection(cached) 32 ms N/A N/A
👁 heavy(cached) 424.7 µs N/A N/A
👁 simple(cached) 429.2 µs N/A N/A
👁 init 7.8 ms N/A N/A
👁 collection 199.9 ms N/A N/A
👁 heavy 318.6 µs N/A N/A
👁 simple 89.3 µs N/A N/A
🆕 collection with cache N/A 28.6 ms N/A
🆕 collection without cache N/A 204.5 ms N/A
🆕 heavy N/A 8.8 ms N/A
🆕 init N/A 8.1 ms N/A
🆕 simple N/A 13.4 ms N/A

@dcastil dcastil marked this pull request as draft August 18, 2024 15:50
@dcastil dcastil marked this pull request as ready for review August 18, 2024 16:48
@dcastil dcastil merged commit 0c74ac3 into main Aug 18, 2024
7 checks passed
@dcastil dcastil deleted the other/switch-test-suite-to-vitest branch August 18, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context-v2 Related to tailwind-merge v2 other Is other
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant