Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add an env variable bench for testing #89

Open
wants to merge 2 commits into
base: time-scale-benches
Choose a base branch
from

Conversation

art049
Copy link
Member

@art049 art049 commented Mar 12, 2025

No description provided.

Copy link

codspeed-hq bot commented Mar 12, 2025

CodSpeed Instrumentation Performance Report

Merging #89 will degrade performances by 5.36%

Comparing cod-658-i-cannot-pass-an-env-variable-to-the-thing-running (76eef18) with time-scale-benches (b166c4d)

Summary

⚡ 3 improvements
❌ 3 regressions
✅ 162 untouched benchmarks
🆕 1 new benchmarks

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

Benchmarks breakdown

Benchmark BASE HEAD Change
bench_array1[42] 1 µs 1.1 µs -5.36%
bench_array1[4] 154.4 ns 125.3 ns +23.28%
bench_array2[42] 1 µs 1.1 µs -5.36%
bench_array2[4] 154.4 ns 125.3 ns +23.28%
init_array[42] 1 µs 1.1 µs -5.36%
init_array[4] 183.6 ns 154.4 ns +18.88%
🆕 print_env_hello N/A 8 µs N/A

Copy link

codspeed-hq bot commented Mar 12, 2025

CodSpeed Walltime Performance Report

Merging #89 will degrade performances by 20.25%

Comparing cod-658-i-cannot-pass-an-env-variable-to-the-thing-running (76eef18) with time-scale-benches (b166c4d)

Summary

⚡ 9 improvements
❌ 6 regressions
✅ 135 untouched benchmarks
🆕 1 new benchmarks

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

Benchmarks breakdown

Benchmark BASE HEAD Change
build_vec 170 ns 205 ns -17.07%
large_drop 183.9 µs 168.7 µs +9.01%
large_setup 12 ns 10 ns +20%
from_elem[2048] 243 ns 229 ns +6.11%
bench_array1[10] 5.2 µs 4.9 µs +4.37%
bench_array2[10] 5.2 µs 4.9 µs +4.37%
init_array[1000] 6.9 µs 1.8 µs ×3.9
🆕 print_env_hello N/A 2 µs N/A
recursive_memoized[BTreeMap<u64, u64>, 20] 3.5 µs 1.8 µs +98.63%
graph_coloring[5] 4 µs 4.2 µs -5.39%
hamiltonian_cycle[6] 5.6 µs 5.8 µs -3.3%
n_queens_solver[5] 8.7 µs 9.1 µs -4.23%
permutations[7] 766.6 µs 796.5 µs -3.76%
sleep_100ns 37.2 µs 25.5 µs +45.79%
sleep_100us 130.5 µs 114 µs +14.42%
sleep_1ns 21.1 µs 26.5 µs -20.25%

Sign up for free to 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