pytest-codspeed icon indicating copy to clipboard operation
pytest-codspeed copied to clipboard

feat: sample slowdown

Open art049 opened this issue 10 months ago • 2 comments

art049 avatar Feb 11 '25 14:02 art049

CodSpeed Instrumentation Performance Report

Merging #72 will degrade performances by 98.93%

Comparing feat/slowdown-example (5e8e5d7) with master (c92304c)

Summary

❌ 6 (👁 5) regressions
✅ 51 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
👁 test_sum_of_squares[sum_of_squares_for_loop_power] 517.3 µs 48,454.9 µs -98.93%
👁 test_sum_of_squares[sum_of_squares_for_loop_product] 451.9 µs 41,789.1 µs -98.92%
👁 test_sum_of_squares[sum_of_squares_sum_comprehension_power] 537.5 µs 48,978.7 µs -98.9%
test_sum_of_squares[sum_of_squares_sum_comprehension_product] 472.3 µs 42,340.8 µs -98.88%
👁 test_sum_of_squares[sum_of_squares_sum_labmda_power] 648.5 µs 60,172.2 µs -98.92%
👁 test_sum_of_squares[sum_of_squares_sum_labmda_product] 581.6 µs 53,504.8 µs -98.91%

codspeed-hq[bot] avatar Feb 11 '25 14:02 codspeed-hq[bot]

CodSpeed Walltime Performance Report

Merging #72 will degrade performances by 99.14%

Comparing feat/slowdown-example (5e8e5d7) with master (c92304c)

Summary

⚡ 10 improvements
❌ 19 regressions
✅ 28 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
test_iir_filter_process 2.8 µs 2.7 µs +2.21%
test_make_allpass 4.6 µs 4.7 µs -2.58%
test_make_bandpass 4.8 µs 4.9 µs -2.25%
test_make_lowpass 5.1 µs 5 µs +2.07%
test_color[graph0-3] 25.3 µs 25.9 µs -2.56%
test_combination_lists[4-2] 3.5 µs 3.4 µs +2.84%
test_combination_sum[candidates0-8] 8.9 µs 9.8 µs -8.86%
test_depth_first_search[4] 27.9 µs 29.1 µs -4.06%
test_generate_all_combinations[0-0] 850.1 ns 875.7 ns -2.92%
test_generate_all_combinations[5-4] 8 µs 8.2 µs -2.77%
test_generate_parenthesis[3] 7.4 µs 7.7 µs -3.45%
test_get_valid_pos[pos0-4] 2.6 µs 2.5 µs +5.16%
test_is_complete[board0] 1.3 µs 1.3 µs -2.15%
test_minimax[scores0] 8 µs 8.3 µs -3.66%
test_solve_maze[maze0] 20 µs 18.5 µs +7.8%
test_word_exists[board0-ABCCED] 15 µs 14.5 µs +3.18%
test_iterative_fibo_10 951.5 ns 975.4 ns -2.45%
test_recursive_cached_fibo_10 6 µs 6.2 µs -3.55%
test_recursive_fibo_20 3.1 ms 3.2 ms -2.18%
test_sum_of_squares[sum_of_squares_for_loop_power] 196.1 µs 18,172 µs -98.92%
... ... ... ... ...

:information_source: Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

codspeed-hq[bot] avatar Feb 11 '25 14:02 codspeed-hq[bot]