Skip to content

docs: add an example on measuring import times - #73

Open
art049 wants to merge 2 commits into
masterfrom
docs-import-time
Open

docs: add an example on measuring import times#73
art049 wants to merge 2 commits into
masterfrom
docs-import-time

Conversation

@art049

Copy link
Copy Markdown
Member

No description provided.

@art049art049 mentioned this pull request Feb 19, 2025
@codspeed-hq

codspeed-hqBot commented Feb 19, 2025

Copy link
Copy Markdown

CodSpeed Walltime Performance Report

Merging #73 will degrade performances by 12.46%

Comparing docs-import-time (651d394) with master (c92304c)

Summary

⚡ 10 improvements
❌ 7 regressions
✅ 40 untouched benchmarks
🆕 3 new benchmarks

⚠️Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

BenchmarkBASEHEADChange
test_iir_filter_process2.8 µs2.7 µs+3.57%
test_make_bandpass4.8 µs5 µs-3.3%
test_combination_lists[4-2]3.5 µs3.4 µs+5.2%
test_generate_all_combinations[4-2]5.6 µs5.5 µs+2.69%
test_generate_parenthesis[3]7.4 µs7.9 µs-6.05%
test_generate_sum_of_subsets_soln[nums0-9]21.4 µs20.4 µs+5.07%
test_is_safe[board0-1-1]9.4 µs9.1 µs+3.67%
test_open_knight_tour[1]3 µs2.8 µs+5.96%
test_solve_maze[maze0]20 µs18.5 µs+7.9%
🆕test_bench_module_import[.module_a]N/A1.9 msN/A
🆕test_bench_module_import[.module_b]N/A3 msN/A
test_count_even[count_even_slow]1.3 ms1.5 ms-12.46%
test_sum_of_squares[sum_of_squares_for_loop_power]196.1 µs206.4 µs-5.01%
test_sum_of_squares[sum_of_squares_sum_comprehension_power]194.9 µs208.2 µs-6.41%
test_sum_of_squares[sum_of_squares_sum_labmda_product]217.4 µs231.2 µs-5.98%
🆕test_bench_hashN/A55.1 µsN/A
test_noop_ellipsis_decorated304 ns280.9 ns+8.25%
test_noop_lambda558.4 ns547 ns+2.08%
test_noop_lambda_decorated611.1 ns645 ns-5.25%
test_noop_pass_decorated298.9 ns291 ns+2.69%

@codspeed-hq

codspeed-hqBot commented Feb 19, 2025

Copy link
Copy Markdown

CodSpeed Instrumentation Performance Report

Merging #73 will not alter performance

Comparing docs-import-time (651d394) with master (c92304c)

Summary

✅ 57 untouched benchmarks
🆕 3 new benchmarks

Benchmarks breakdown

BenchmarkBASEHEADChange
🆕test_bench_module_import[.module_a]N/A3.1 msN/A
🆕test_bench_module_import[.module_b]N/A5.5 msN/A
🆕test_bench_hashN/A159.9 µsN/A

Sign up for freeto 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

@art049