Skip to content

Conversation

@AdamGS
Copy link
Contributor

@AdamGS AdamGS commented Sep 30, 2025

Adds the ability to used the --locked flag to underlying compiler, which guarantees the Cargo.lock file remains unchanged, which is usually desirable in CI.

@GuillaumeLagrange
Copy link
Contributor

@AdamGS thanks for the PR, and good catch indeed !

@GuillaumeLagrange GuillaumeLagrange changed the title Add --locked flag to build command feat(cargo-codspeed): add --locked flag to build command Sep 30, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Sep 30, 2025

CodSpeed Instrumentation Performance Report

Merging #124 will degrade performances by 8.02%

Comparing spiraldb:main (36264f3) with main (97babdc)

Summary

❌ 9 regressions
✅ 158 untouched

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

Benchmarks breakdown

Benchmark BASE HEAD Change
recursive_memoized[BTreeMap<u64, u64>, 0] 400.8 ns 430 ns -6.78%
recursive_memoized[HashMap<u64, u64>, 0] 929.2 ns 958.3 ns -3.04%
instant 334.4 ns 363.6 ns -8.02%
system_time 334.4 ns 363.6 ns -8.02%
sleep_100ns 536.9 ns 566.1 ns -5.15%
sleep_100us 536.9 ns 566.1 ns -5.15%
sleep_1ms 536.9 ns 566.1 ns -5.15%
sleep_1ns 536.9 ns 566.1 ns -5.15%
sleep_1us 536.9 ns 566.1 ns -5.15%

@codspeed-hq
Copy link

codspeed-hq bot commented Sep 30, 2025

CodSpeed WallTime Performance Report

Merging #124 will degrade performances by 12.5%

Comparing spiraldb:main (36264f3) with main (97babdc)

Summary

⚡ 6 improvements
❌ 8 regressions
✅ 140 untouched

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

Benchmarks breakdown

Benchmark BASE HEAD Change
build_vec 200 ns 213 ns -6.1%
large_setup 13 ns 14 ns -7.14%
from_elem[8192] 504 ns 530 ns -4.91%
from_elem_decimal[2048] 247 ns 264 ns -6.44%
bench_array1[10] 10 ns 9 ns +11.11%
bench_array2[10] 10 ns 9 ns +11.11%
graph_coloring[5] 1,004 ns 971 ns +3.4%
hamiltonian_cycle[5] 683 ns 603 ns +13.27%
permutations[3] 755 ns 710 ns +6.34%
rat_in_maze[5] 605 ns 573 ns +5.58%
count_set_bits[0] 7 ns 8 ns -12.5%
count_set_bits[1024] 7 ns 8 ns -12.5%
count_set_bits[255] 7 ns 8 ns -12.5%
count_set_bits[65535] 7 ns 8 ns -12.5%

@art049
Copy link
Member

art049 commented Oct 1, 2025

Merged in 4be2e55

Thanks for the contribution ! 😀

@art049 art049 closed this Oct 1, 2025
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.

3 participants