Skip to content

chore: Update several dependencies#880

Open
RobertJacobsonCDC wants to merge 2 commits intomainfrom
RobertJacobsonCDC_876_bump_dependencies
Open

chore: Update several dependencies#880
RobertJacobsonCDC wants to merge 2 commits intomainfrom
RobertJacobsonCDC_876_bump_dependencies

Conversation

@RobertJacobsonCDC
Copy link
Copy Markdown
Collaborator

This PR updates the following dependencies:

  • ctor@0.5.1 -> ctor@1.0.1
  • criterion@0.7.0 -> criterion@0.8.2
  • strum@0.27.1 -> strum@0.28.0
  • sysinfo@0.37.0 -> sysinfo@0.38.4

Also removed the unused hashbrown crate.

The only one requiring any source changes is ctor. The new version allows us to get rid of the #[cfg(target_family = "wasm")] stuff we have littering lib.rs. I separated it into its own commit.

@RobertJacobsonCDC RobertJacobsonCDC linked an issue May 5, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Benchmark Results

Hyperfine

Command Mean [ms] Min [ms] Max [ms] Relative
large_sir::baseline 2.3 ± 0.0 2.2 2.5 1.00
large_sir::entities 4.6 ± 0.1 4.5 5.0 2.01 ± 0.06

Criterion

Regressions (slower)
Group Bench Param Change CI Lower CI Upper
algorithm_benches algorithm_sampling_single_l_reservoir 27.354% 27.066% 27.651%
indexing query_people_count_single_indexed_property_entities 17.244% 16.396% 18.211%
large_dataset bench_match_entity 12.693% 12.148% 13.253%
sample_entity sample_entity_single_property_unindexed 10000 9.734% 7.598% 11.929%
algorithm_benches algorithm_sampling_multiple_l_reservoir 9.455% 8.753% 10.034%
large_dataset bench_query_population_indexed_property_entities 8.187% 7.659% 8.559%
algorithm_benches algorithm_sampling_single_known_length 5.921% 5.055% 6.649%
indexing query_people_single_indexed_property_entities 5.080% 4.095% 6.016%
counts index_after_adding_entities 4.045% 1.772% 7.216%
counts single_property_indexed_entities 2.755% 2.543% 3.054%
counts reindex_after_adding_more_entities 2.701% 2.499% 2.909%
counts multi_property_indexed_entities 2.266% 1.874% 2.616%
algorithm_benches algorithm_sampling_multiple_known_length 2.025% 1.598% 2.332%
sampling sampling_single_l_reservoir_entities 1.648% 1.385% 1.964%
Improvements (faster)
Group Bench Param Change CI Lower CI Upper
sample_entity sample_entity_single_property_unindexed 1000 -20.703% -22.100% -19.093%
examples example-births-deaths -9.875% -10.280% -9.539%
sample_entity sample_entity_single_property_indexed 100000 -9.523% -9.959% -9.008%
sample_entity sample_entity_single_property_indexed 1000 -9.149% -9.475% -8.756%
indexing with_query_results_single_indexed_property_entities -8.638% -8.871% -8.389%
sample_entity sample_entity_single_property_indexed 10000 -7.580% -8.218% -6.611%
indexing query_people_count_multiple_individually_indexed_properties_enti -5.087% -5.603% -4.658%
sampling sampling_single_unindexed_entities -3.519% -4.103% -2.953%
indexing query_people_multiple_individually_indexed_properties_entities -2.556% -3.165% -1.927%
sampling sampling_single_known_length_entities -2.231% -2.743% -1.810%
sampling sampling_single_unindexed_concrete_plus_derived_entities -2.182% -2.955% -1.231%
sample_entity sample_entity_single_property_unindexed 100000 -2.039% -2.316% -1.786%
indexing with_query_results_indexed_multi-property_entities -1.936% -2.417% -1.363%
sample_entity sample_entity_multi_property_indexed 100000 -1.590% -2.266% -1.020%
indexing query_people_count_indexed_multi-property_entities -1.390% -1.709% -1.084%
Unchanged / inconclusive (CI crosses 0%)
Group Bench Param Change CI Lower CI Upper
indexing with_query_results_multiple_individually_indexed_properties_enti 1.594% 0.915% 2.292%
counts concrete_plus_derived_unindexed_entities -1.240% -2.425% -0.285%
sampling count_and_sampling_single_known_length_entities 1.151% 0.073% 2.609%
large_dataset bench_query_population_multi_unindexed_entities -1.116% -2.265% 0.116%
large_dataset bench_query_population_multi_indexed_entities 1.002% 0.470% 1.607%
examples example-basic-infection 0.941% -0.240% 1.945%
sample_entity sample_entity_multi_property_indexed 1000 -0.834% -1.166% -0.415%
large_dataset bench_filter_indexed_entity -0.717% -13.709% 12.773%
sample_entity sample_entity_multi_property_indexed 10000 -0.645% -1.033% -0.182%
large_dataset bench_query_population_derived_property_entities 0.621% 0.000% 1.224%
sampling sampling_multiple_known_length_entities 0.569% 0.087% 1.230%
indexing query_people_indexed_multi-property_entities -0.519% -1.060% -0.058%
large_dataset bench_query_population_property_entities 0.434% -0.013% 0.942%
algorithm_benches algorithm_sampling_single_rand_reservoir -0.359% -0.490% -0.241%
sampling sampling_multiple_unindexed_entities 0.337% 0.095% 0.595%
sampling sampling_multiple_l_reservoir_entities -0.331% -1.012% 0.106%
sample_entity sample_entity_whole_population 10000 -0.253% -0.595% 0.166%
counts multi_property_unindexed_entities 0.177% -0.162% 0.504%
sampling count_and_sampling_single_unindexed_concrete_plus_derived_entiti -0.170% -0.527% 0.184%
sample_entity sample_entity_whole_population 100000 0.166% -0.448% 0.730%
sample_entity sample_entity_whole_population 1000 -0.165% -0.407% 0.072%
counts single_property_unindexed_entities -0.162% -0.725% 0.518%
large_dataset bench_filter_unindexed_entity 0.020% -5.185% 5.491%

github-actions Bot added a commit that referenced this pull request May 5, 2026
@RobertJacobsonCDC RobertJacobsonCDC force-pushed the RobertJacobsonCDC_876_bump_dependencies branch from d16c7d5 to 506f8be Compare May 8, 2026 17:35
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Benchmark Results

Hyperfine

Command Mean [ms] Min [ms] Max [ms] Relative
large_sir::baseline 2.4 ± 0.0 2.3 2.5 1.00
large_sir::entities 5.1 ± 0.1 4.9 5.4 2.15 ± 0.05

Criterion

Regressions (slower)
Group Bench Param Change CI Lower CI Upper
indexing query_people_count_single_indexed_property_entities 53.276% 49.273% 56.386%
algorithm_benches algorithm_sampling_single_l_reservoir 27.164% 26.780% 27.452%
sample_entity sample_entity_whole_population 10000 25.701% 24.103% 27.328%
sample_entity sample_entity_whole_population 1000 18.658% 17.626% 19.802%
sample_entity sample_entity_whole_population 100000 12.373% 8.683% 15.918%
large_dataset bench_match_entity 11.430% 8.065% 14.919%
algorithm_benches algorithm_sampling_multiple_l_reservoir 8.516% 8.099% 8.961%
sampling sampling_single_known_length_entities 8.058% 7.588% 8.680%
sample_entity sample_entity_single_property_indexed 10000 4.456% 4.157% 4.812%
large_dataset bench_query_population_indexed_property_entities 3.993% 2.193% 5.869%
sampling count_and_sampling_single_known_length_entities 3.343% 2.695% 4.021%
counts reindex_after_adding_more_entities 3.268% 2.908% 3.589%
Improvements (faster)
Group Bench Param Change CI Lower CI Upper
large_dataset bench_query_population_derived_property_entities -40.782% -41.359% -40.300%
sampling count_and_sampling_single_unindexed_concrete_plus_derived_entiti -33.805% -33.954% -33.655%
sample_entity sample_entity_single_property_unindexed 100000 -21.910% -22.199% -21.671%
examples example-basic-infection -11.595% -12.207% -11.039%
large_dataset bench_filter_unindexed_entity -11.001% -15.072% -6.067%
sampling sampling_single_unindexed_concrete_plus_derived_entities -10.319% -11.715% -9.118%
counts multi_property_unindexed_entities -8.106% -10.093% -6.279%
indexing query_people_single_indexed_property_entities -7.665% -7.736% -7.589%
indexing with_query_results_single_indexed_property_entities -7.341% -8.367% -6.372%
counts concrete_plus_derived_unindexed_entities -6.068% -8.291% -4.037%
algorithm_benches algorithm_sampling_single_known_length -5.588% -6.136% -4.947%
indexing query_people_count_multiple_individually_indexed_properties_enti -5.404% -5.545% -5.281%
sample_entity sample_entity_multi_property_indexed 100000 -5.024% -5.814% -4.096%
sample_entity sample_entity_single_property_unindexed 10000 -5.017% -5.532% -4.512%
sampling sampling_multiple_known_length_entities -3.061% -3.587% -2.591%
sample_entity sample_entity_single_property_indexed 1000 -2.598% -3.231% -1.964%
indexing query_people_count_indexed_multi-property_entities -2.507% -3.616% -1.616%
indexing query_people_indexed_multi-property_entities -2.357% -2.823% -1.810%
sampling sampling_single_l_reservoir_entities -2.186% -2.529% -1.841%
indexing with_query_results_indexed_multi-property_entities -1.744% -1.990% -1.472%
algorithm_benches algorithm_sampling_multiple_known_length -1.710% -2.109% -1.244%
examples example-births-deaths -1.678% -2.238% -1.237%
Unchanged / inconclusive (CI crosses 0%)
Group Bench Param Change CI Lower CI Upper
counts single_property_unindexed_entities -2.112% -3.831% -0.529%
sample_entity sample_entity_multi_property_indexed 1000 1.683% 0.640% 2.628%
indexing with_query_results_multiple_individually_indexed_properties_enti -1.410% -1.927% -0.911%
counts multi_property_indexed_entities 1.214% 0.839% 1.675%
counts single_property_indexed_entities 1.107% 0.289% 2.001%
sample_entity sample_entity_single_property_indexed 100000 1.071% 0.212% 2.060%
sample_entity sample_entity_multi_property_indexed 10000 -0.993% -2.927% 0.749%
sample_entity sample_entity_single_property_unindexed 1000 -0.827% -1.182% -0.572%
indexing query_people_multiple_individually_indexed_properties_entities 0.791% 0.354% 1.243%
large_dataset bench_query_population_multi_unindexed_entities -0.773% -1.245% -0.430%
counts index_after_adding_entities -0.757% -0.916% -0.600%
sampling sampling_multiple_l_reservoir_entities 0.728% 0.564% 0.982%
large_dataset bench_filter_indexed_entity 0.719% -11.512% 15.763%
large_dataset bench_query_population_property_entities -0.485% -1.249% 0.048%
sampling sampling_multiple_unindexed_entities 0.318% 0.177% 0.509%
large_dataset bench_query_population_multi_indexed_entities 0.140% -0.427% 0.762%
sampling sampling_single_unindexed_entities 0.118% -0.024% 0.373%
algorithm_benches algorithm_sampling_single_rand_reservoir -0.080% -0.381% 0.163%

github-actions Bot added a commit that referenced this pull request May 8, 2026
@k88hudson-cfa
Copy link
Copy Markdown
Collaborator

It looks to me like link-section, which is used by ctor's priority feature, relies on nightly-only features in the wasm path, which seems less than ideal/maybe worth reporting upstream? We could work around this with default-features = false, features = ["std", "proc_macro"] for now since we don't use that feature

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.

Bump non-rand-related dependencies

3 participants