CodSpeedHQ / codspeed-node

Node.js libraries to create CodSpeed benchmarks
https://codspeed.io
Apache License 2.0
11 stars 2 forks source link

feat/benchmark.js hooks #21

Closed adriencaccia closed 1 year ago

adriencaccia commented 1 year ago
codspeed-hq[bot] commented 1 year ago

CodSpeed Performance Report

Merging #21 will improve performances by 42.47%

Comparing feat/benchmark.js-hooks (03de0f0) with main (cd532fd)

Summary

🔥 2 improvements ✅ 62 untouched benchmarks

Benchmarks breakdown

Benchmark main feat/benchmark.js-hooks Change
🔥 test async baz 100 1.8 ms 1.3 ms +42.47%
🔥 test async baz 100 1.9 ms 1.4 ms +39.22%
adriencaccia commented 1 year ago

make sure that beforeEach and afterEach hooks are run around the optimize function call in both plugins

adriencaccia commented 1 year ago

make sure that beforeEach and afterEach hooks are run around the optimize function call in both plugins

done in #23