Skip to content

chore: pin rust toolchain and print mise rust versions#923

Open
cdc-as81 wants to merge 2 commits into
mainfrom
cdc-as81-add-rust-update-track
Open

chore: pin rust toolchain and print mise rust versions#923
cdc-as81 wants to merge 2 commits into
mainfrom
cdc-as81-add-rust-update-track

Conversation

@cdc-as81
Copy link
Copy Markdown
Collaborator

Summary

  • Pin the repo Rust toolchain to 1.95.0 with rust-toolchain.toml
  • Update Cargo.toml rust-version to match the pinned toolchain
  • Install/export the pinned Rust toolchain in CI and release workflows
  • Add monthly Dependabot updates for the Rust toolchain
  • Add mise version printing before Rust/Cargo-related tasks
  • Add a mise check to ensure rust-toolchain.toml and Cargo.toml stay in sync

@cdc-as81 cdc-as81 requested a review from k88hudson-cfa May 26, 2026 18:42
@cdc-as81 cdc-as81 linked an issue May 26, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown

Benchmark Results

Hyperfine

Command Mean [ms] Min [ms] Max [ms] Relative
large_sir::baseline 3.4 ± 0.1 3.2 3.7 1.00
large_sir::baseline_households 3.5 ± 0.1 3.3 3.8 1.03 ± 0.04
large_sir::entities 7.6 ± 0.5 7.3 11.1 2.25 ± 0.17
large_sir::households 7.4 ± 0.1 7.2 7.8 2.22 ± 0.07

Criterion

Regressions (slower)
Group Bench Param Change CI Lower CI Upper
counts single_property_indexed_entities 4.057% 3.066% 5.035%
counts multi_property_indexed_entities 2.263% 1.738% 2.917%
sample_entity sample_entity_single_property_indexed 1000 1.485% 1.153% 1.888%
Improvements (faster)
Group Bench Param Change CI Lower CI Upper
sampling sampling_single_known_length_entities -6.717% -9.961% -3.119%
indexing query_people_count_indexed_multi-property_entities -5.417% -6.939% -3.890%
indexing with_query_results_multiple_individually_indexed_properties_enti -3.025% -3.660% -2.498%
sample_entity sample_entity_multi_property_indexed 100000 -2.627% -3.176% -1.750%
sample_entity sample_entity_multi_property_indexed 10000 -2.283% -2.579% -2.059%
sample_entity sample_entity_multi_property_indexed 1000 -2.152% -2.405% -1.816%
indexing with_query_results_single_indexed_property_entities -2.094% -3.377% -1.079%
indexing query_people_count_single_indexed_property_entities -1.879% -2.325% -1.584%
Unchanged / inconclusive (CI crosses 0%)
Group Bench Param Change CI Lower CI Upper
examples example-basic-infection 3.566% -0.143% 12.469%
sampling count_and_sampling_single_known_length_entities 1.545% 0.942% 2.239%
sampling sampling_single_l_reservoir_entities -1.414% -2.333% -0.673%
sample_entity sample_entity_whole_population 100000 -1.281% -2.011% -0.608%
sample_entity sample_entity_whole_population 1000 -1.111% -1.737% -0.571%
indexing query_people_indexed_multi-property_entities -0.805% -1.143% -0.491%
sample_entity sample_entity_whole_population 10000 -0.785% -1.394% -0.215%
counts reindex_after_adding_more_entities -0.766% -1.174% -0.363%
algorithm_benches algorithm_sampling_multiple_known_length 0.704% 0.366% 1.201%
large_dataset bench_query_population_multi_indexed_entities 0.698% 0.122% 1.369%
large_dataset bench_filter_unindexed_entity -0.604% -3.659% 2.451%
sampling sampling_multiple_known_length_entities 0.589% 0.383% 0.801%
sampling count_and_sampling_single_unindexed_concrete_plus_derived_entiti 0.548% 0.339% 0.736%
counts concrete_plus_derived_unindexed_entities 0.546% -0.090% 1.196%
indexing query_people_count_multiple_individually_indexed_properties_enti 0.478% 0.254% 0.685%
large_dataset bench_query_population_derived_property_entities -0.451% -1.200% 0.326%
counts single_property_unindexed_entities -0.434% -1.165% 0.403%
sample_entity sample_entity_single_property_unindexed 1000 0.407% -0.214% 1.049%
sampling sampling_multiple_unindexed_entities 0.406% 0.162% 0.615%
counts multi_property_unindexed_entities -0.365% -0.839% 0.005%
indexing with_query_results_indexed_multi-property_entities -0.356% -1.089% 0.286%
large_dataset bench_query_population_property_entities -0.348% -0.873% 0.112%
large_dataset bench_query_population_indexed_property_entities 0.333% -0.331% 1.079%
sample_entity sample_entity_single_property_unindexed 10000 0.310% -0.252% 1.011%
algorithm_benches algorithm_sampling_single_rand_reservoir -0.309% -0.790% 0.097%
indexing query_people_multiple_individually_indexed_properties_entities 0.248% -0.510% 0.781%
sampling sampling_single_unindexed_concrete_plus_derived_entities -0.241% -0.454% -0.052%
sample_entity sample_entity_single_property_indexed 10000 0.231% -0.120% 0.502%
sampling sampling_single_unindexed_entities -0.176% -0.275% -0.097%
indexing query_people_single_indexed_property_entities 0.158% -0.209% 0.479%
sampling sampling_multiple_l_reservoir_entities 0.157% 0.026% 0.286%
sample_entity sample_entity_single_property_indexed 100000 -0.124% -0.528% 0.195%
large_dataset bench_filter_indexed_entity 0.108% -8.561% 9.155%
examples example-births-deaths -0.091% -1.196% 0.782%
counts index_after_adding_entities 0.068% -0.611% 1.184%
sample_entity sample_entity_single_property_unindexed 100000 -0.052% -0.427% 0.320%
large_dataset bench_match_entity -0.049% -0.537% 0.419%
algorithm_benches algorithm_sampling_single_known_length -0.045% -0.466% 0.301%
large_dataset bench_query_population_multi_unindexed_entities -0.038% -0.835% 0.705%
algorithm_benches algorithm_sampling_single_l_reservoir 0.037% -0.344% 0.425%
algorithm_benches algorithm_sampling_multiple_l_reservoir 0.019% -0.386% 0.407%
Not Compared (no baseline yet)
Group Bench Reason
(none)

github-actions Bot added a commit that referenced this pull request May 26, 2026
@github-actions
Copy link
Copy Markdown

Benchmark Results

Hyperfine

Command Mean [ms] Min [ms] Max [ms] Relative
large_sir::baseline 3.4 ± 0.1 3.4 3.6 1.00 ± 0.03
large_sir::baseline_households 3.4 ± 0.1 3.4 3.7 1.00
large_sir::entities 8.0 ± 0.5 7.6 9.7 2.34 ± 0.15
large_sir::households 7.5 ± 0.1 7.3 8.0 2.18 ± 0.06

Criterion

Regressions (slower)
Group Bench Param Change CI Lower CI Upper
algorithm_benches algorithm_sampling_single_known_length 85.802% 85.382% 86.213%
indexing with_query_results_multiple_individually_indexed_properties_enti 28.301% 26.135% 30.230%
sample_entity sample_entity_single_property_unindexed 1000 25.235% 24.564% 25.943%
counts single_property_indexed_entities 20.704% 17.714% 23.302%
sample_entity sample_entity_single_property_indexed 1000 18.394% 17.633% 19.111%
sample_entity sample_entity_single_property_indexed 100000 15.916% 15.253% 16.568%
large_dataset bench_filter_unindexed_entity 14.890% 11.129% 18.859%
sample_entity sample_entity_single_property_indexed 10000 11.259% 10.375% 12.171%
sample_entity sample_entity_single_property_unindexed 10000 10.576% 8.114% 13.219%
indexing query_people_single_indexed_property_entities 8.834% 8.436% 9.095%
examples example-basic-infection 5.156% 4.685% 5.657%
indexing query_people_count_indexed_multi-property_entities 3.357% 2.563% 4.194%
indexing query_people_indexed_multi-property_entities 2.396% 1.367% 3.536%
indexing with_query_results_indexed_multi-property_entities 2.343% 1.884% 2.791%
counts multi_property_unindexed_entities 2.325% 1.637% 3.220%
sample_entity sample_entity_multi_property_indexed 10000 2.013% 1.719% 2.329%
sampling sampling_multiple_known_length_entities 1.878% 1.254% 2.546%
algorithm_benches algorithm_sampling_multiple_known_length 1.793% 1.020% 2.283%
sampling sampling_single_unindexed_entities 1.631% 1.042% 2.263%
sampling sampling_single_unindexed_concrete_plus_derived_entities 1.477% 1.358% 1.611%
Improvements (faster)
Group Bench Param Change CI Lower CI Upper
large_dataset bench_query_population_indexed_property_entities -16.701% -18.662% -14.757%
large_dataset bench_match_entity -13.761% -14.507% -12.977%
indexing query_people_count_single_indexed_property_entities -13.420% -13.771% -13.155%
algorithm_benches algorithm_sampling_single_rand_reservoir -9.815% -10.262% -9.308%
sampling count_and_sampling_single_known_length_entities -5.653% -6.164% -5.197%
examples example-births-deaths -5.043% -5.434% -4.649%
sample_entity sample_entity_whole_population 10000 -4.770% -6.162% -3.655%
sample_entity sample_entity_whole_population 1000 -4.282% -4.810% -3.758%
sample_entity sample_entity_whole_population 100000 -3.974% -4.333% -3.505%
algorithm_benches algorithm_sampling_single_l_reservoir -3.937% -4.611% -3.328%
sampling sampling_single_known_length_entities -2.268% -2.737% -1.703%
sample_entity sample_entity_single_property_unindexed 100000 -1.898% -2.772% -1.185%
indexing with_query_results_single_indexed_property_entities -1.650% -2.149% -1.238%
sampling sampling_single_l_reservoir_entities -1.414% -1.762% -1.126%
Unchanged / inconclusive (CI crosses 0%)
Group Bench Param Change CI Lower CI Upper
sample_entity sample_entity_multi_property_indexed 1000 2.883% 0.968% 5.375%
counts reindex_after_adding_more_entities 1.820% 0.453% 3.196%
large_dataset bench_query_population_multi_indexed_entities 1.607% 0.681% 2.537%
large_dataset bench_filter_indexed_entity -1.533% -9.595% 7.363%
sample_entity sample_entity_multi_property_indexed 100000 0.981% 0.514% 1.404%
sampling count_and_sampling_single_unindexed_concrete_plus_derived_entiti -0.832% -1.094% -0.537%
counts multi_property_indexed_entities 0.710% -0.513% 2.188%
algorithm_benches algorithm_sampling_multiple_l_reservoir -0.650% -1.427% 0.004%
large_dataset bench_query_population_derived_property_entities -0.632% -1.709% 0.485%
large_dataset bench_query_population_multi_unindexed_entities 0.606% 0.410% 0.813%
counts concrete_plus_derived_unindexed_entities -0.549% -1.042% -0.006%
counts single_property_unindexed_entities 0.468% -0.336% 1.316%
sampling sampling_multiple_unindexed_entities -0.454% -0.691% -0.203%
sampling sampling_multiple_l_reservoir_entities 0.451% 0.367% 0.546%
large_dataset bench_query_population_property_entities -0.380% -0.911% 0.036%
counts index_after_adding_entities -0.248% -0.687% 0.103%
indexing query_people_count_multiple_individually_indexed_properties_enti -0.148% -0.293% 0.003%
indexing query_people_multiple_individually_indexed_properties_entities 0.059% -0.509% 0.485%
Not Compared (no baseline yet)
Group Bench Reason
(none)

github-actions Bot added a commit that referenced this pull request May 26, 2026
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.

Use rust-toolchain + dependabot / upgrade script

2 participants