CodSpeedHQ / pytest-codspeed

Pytest plugin to create CodSpeed benchmarks
https://codspeed.io
MIT License
53 stars 6 forks source link

[WIP] Alternative fix for `stdout`/`stderr` redirects #31

Closed kenodegard closed 5 months ago

kenodegard commented 5 months ago

An alternative to #25.

Benefits (?) of this implementation:

Submitting to see benchmark results.

codspeed-hq[bot] commented 5 months ago

CodSpeed Performance Report

Merging #31 will improve performances by 6.37%

Comparing kenodegard:fix-outerr-redirects-alternative (8541559) with master (90e639b)

Summary

⚡ 2 improvements ✅ 3 untouched benchmarks

Benchmarks breakdown

Benchmark master kenodegard:fix-outerr-redirects-alternative Change
test_iterative_fibo_10 45.5 µs 42.7 µs +6.37%
test_recursive_cached_fibo_10 113.8 µs 111.3 µs +2.25%
kenodegard commented 5 months ago

Closing in favor of #32