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

feat/vitest hooks #32

Merged
merged 2 commits into from
Jan 29, 2024
Merged

feat/vitest hooks #32

merged 2 commits into from
Jan 29, 2024

Conversation

adriencaccia
Copy link
Member

@adriencaccia adriencaccia commented Jan 26, 2024

  • feat(vitest-plugin): add support for benchmark hooks
  • feat(vitest-plugin): always run codspeed benchmarks when using the plugin, as hooks are not supported in the default vitest benchmark runner

@adriencaccia adriencaccia force-pushed the feat/vitest-hooks branch 2 times, most recently from dc462d3 to 08a1766 Compare January 26, 2024 16:49
Copy link

codspeed-hq bot commented Jan 26, 2024

CodSpeed Performance Report

Merging #32 will degrade performances by 54.04%

Comparing feat/vitest-hooks (fd2118b) with main (eea918d)

Summary

⚡ 2 improvements
❌ 1 (👁 1) regressions
✅ 74 untouched benchmarks

🆕 9 new benchmarks

Benchmarks breakdown

Benchmark main feat/vitest-hooks Change
🆕 five N/A 263.8 µs N/A
🆕 one N/A 219.1 µs N/A
🆕 end N/A 216.2 µs N/A
fibo 10 49.2 µs 40.4 µs +21.78%
🆕 two N/A 186.5 µs N/A
🆕 seven N/A 251.9 µs N/A
🆕 one N/A 769.9 µs N/A
🆕 two N/A 260.7 µs N/A
🆕 three N/A 250.9 µs N/A
👁 short body 230.8 µs 502.2 µs -54.04%
🆕 one N/A 868.2 µs N/A
short body 503.1 µs 241.7 µs ×2.1

@adriencaccia adriencaccia merged commit fd2118b into main Jan 29, 2024
22 checks passed
@adriencaccia adriencaccia deleted the feat/vitest-hooks branch January 29, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant