Skip to content

fix: make IxaError compatible with anyhow#912

Open
k88hudson-cfa wants to merge 1 commit into
mainfrom
k88-anyhow
Open

fix: make IxaError compatible with anyhow#912
k88hudson-cfa wants to merge 1 commit into
mainfrom
k88-anyhow

Conversation

@k88hudson-cfa
Copy link
Copy Markdown
Collaborator

Fixes #908

@github-actions
Copy link
Copy Markdown

Benchmark Results

Hyperfine

Command Mean [ms] Min [ms] Max [ms] Relative
large_sir::baseline 3.4 ± 0.0 3.4 3.6 1.00
large_sir::baseline_households 3.4 ± 0.0 3.4 3.6 1.00 ± 0.02
large_sir::entities 7.7 ± 0.1 7.5 7.8 2.23 ± 0.04
large_sir::households 7.5 ± 0.1 7.2 8.0 2.17 ± 0.05

Criterion

Regressions (slower)
Group Bench Param Change CI Lower CI Upper
sample_entity sample_entity_single_property_unindexed 1000 30.289% 28.303% 32.091%
counts multi_property_unindexed_entities 12.233% 10.467% 14.002%
sampling sampling_multiple_known_length_entities 10.759% 10.046% 11.475%
sample_entity sample_entity_single_property_indexed 1000 9.133% 8.352% 9.879%
indexing query_people_single_indexed_property_entities 8.004% 7.909% 8.100%
indexing query_people_indexed_multi-property_entities 5.670% 5.178% 6.170%
sample_entity sample_entity_single_property_indexed 10000 5.408% 4.754% 6.070%
sampling sampling_single_unindexed_concrete_plus_derived_entities 3.817% 3.368% 4.263%
large_dataset bench_query_population_multi_unindexed_entities 3.731% 1.761% 5.826%
sampling count_and_sampling_single_unindexed_concrete_plus_derived_entiti 2.739% 2.199% 3.409%
sample_entity sample_entity_single_property_indexed 100000 2.371% 1.701% 3.084%
examples example-basic-infection 2.064% 1.446% 2.686%
sampling sampling_multiple_l_reservoir_entities 1.740% 1.507% 1.964%
sample_entity sample_entity_single_property_unindexed 100000 1.402% 1.202% 1.583%
sampling sampling_single_unindexed_entities 1.236% 1.037% 1.466%
Improvements (faster)
Group Bench Param Change CI Lower CI Upper
sample_entity sample_entity_whole_population 1000 -28.286% -28.750% -27.810%
sample_entity sample_entity_whole_population 100000 -27.294% -27.972% -26.626%
sample_entity sample_entity_whole_population 10000 -26.369% -26.864% -25.850%
large_dataset bench_query_population_property_entities -16.075% -17.440% -14.620%
large_dataset bench_filter_unindexed_entity -14.266% -17.239% -11.452%
counts reindex_after_adding_more_entities -6.779% -7.004% -6.554%
sample_entity sample_entity_single_property_unindexed 10000 -5.365% -6.830% -4.133%
examples example-births-deaths -4.121% -4.640% -3.510%
counts index_after_adding_entities -3.981% -4.208% -3.789%
indexing query_people_count_indexed_multi-property_entities -3.598% -4.230% -2.979%
sampling sampling_multiple_unindexed_entities -3.473% -3.559% -3.374%
large_dataset bench_match_entity -3.289% -3.481% -3.086%
indexing query_people_multiple_individually_indexed_properties_entities -3.012% -3.132% -2.880%
sampling sampling_single_known_length_entities -2.613% -3.293% -1.936%
counts multi_property_indexed_entities -2.608% -3.036% -2.202%
indexing query_people_count_single_indexed_property_entities -2.588% -2.877% -2.314%
counts single_property_indexed_entities -2.435% -3.599% -1.578%
indexing with_query_results_multiple_individually_indexed_properties_enti -2.130% -2.474% -1.771%
indexing query_people_count_multiple_individually_indexed_properties_enti -2.122% -2.213% -2.036%
large_dataset bench_query_population_derived_property_entities -2.058% -2.648% -1.408%
Unchanged / inconclusive (CI crosses 0%)
Group Bench Param Change CI Lower CI Upper
indexing with_query_results_indexed_multi-property_entities 1.695% 0.776% 2.469%
sampling sampling_single_l_reservoir_entities -1.496% -3.230% -0.096%
sample_entity sample_entity_multi_property_indexed 10000 -1.272% -1.909% -0.605%
sampling count_and_sampling_single_known_length_entities -1.126% -1.961% -0.288%
sample_entity sample_entity_multi_property_indexed 100000 -0.962% -1.544% -0.400%
sample_entity sample_entity_multi_property_indexed 1000 -0.955% -1.582% -0.328%
large_dataset bench_query_population_multi_indexed_entities 0.858% 0.305% 1.588%
large_dataset bench_query_population_indexed_property_entities -0.744% -1.474% -0.142%
algorithm_benches algorithm_sampling_single_known_length -0.609% -1.557% 0.161%
counts single_property_unindexed_entities 0.424% -0.264% 1.141%
indexing with_query_results_single_indexed_property_entities -0.410% -0.832% -0.049%
counts concrete_plus_derived_unindexed_entities 0.337% 0.094% 0.578%
algorithm_benches algorithm_sampling_multiple_known_length -0.150% -0.656% 0.282%
large_dataset bench_filter_indexed_entity 0.126% -8.213% 8.735%
algorithm_benches algorithm_sampling_multiple_l_reservoir 0.112% -0.244% 0.424%
algorithm_benches algorithm_sampling_single_rand_reservoir -0.084% -0.484% 0.313%
algorithm_benches algorithm_sampling_single_l_reservoir -0.019% -0.226% 0.292%
Not Compared (no baseline yet)
Group Bench Reason
(none)

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

Make IxaError compatible with anyhow

2 participants