CodSpeedHQ / codspeed-node

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

feat/integrate mongodb instrument #22

Closed adriencaccia closed 7 months ago

adriencaccia commented 1 year ago

Add support for the mongodb instrument.

codspeed-hq[bot] commented 8 months ago

CodSpeed Performance Report

Merging #22 will degrade performances by 22.41%

Comparing feat/integrate-database-plugin-adriencaccia (169a5e1) with main (894136d)

Summary

⚡ 10 improvements ❌ 2 (👁 2) regressions ✅ 65 untouched benchmarks

Benchmarks breakdown

Benchmark main feat/integrate-database-plugin-adriencaccia Change
👁 fibo 10 41.2 µs 49.1 µs -16.06%
switch 1 315.8 µs 17 µs ×19
test_recursive_fibo_10 161.9 µs 83.6 µs +93.71%
switch 1 314.2 µs 16.9 µs ×19
👁 switch 2 17.6 µs 22.6 µs -22.41%
test_recursive_fibo_20 14.4 ms 8.8 ms +64.5%
RegExp#test 20.5 µs 16.8 µs +21.82%
RegExp#test 20.7 µs 16.7 µs +23.63%
short body 4 497.8 µs 252.9 µs +96.8%
short body 5 469.7 µs 223 µs ×2.1
RegExp#test 20.7 µs 16.9 µs +22.74%
test_recursive_fibo_10 389.2 µs 91.7 µs ×4.2