Avatar for the salsa-rs user
salsa-rs
salsa
BlogDocsChangelog

Use `inventory` for static ingredient registration

#934Merged
Comparing
ibraheemdev:ibraheem/inventory
(
21838e4
) with
master
(
d28d66b
)
CodSpeed Performance Gauge
+29%
Improvements
9
Untouched
3

Benchmarks

Improved

amortized[Input]
benches/compare.rs::benches::inputs::Mutating Inputs::amortized[Input]
CodSpeed Performance Gauge
+29%
3.5 µs2.7 µs
amortized[InternedInput]
benches/compare.rs::benches::inputs::Mutating Inputs::amortized[InternedInput]
CodSpeed Performance Gauge
+26%
3.4 µs2.7 µs
new[InternedInput]
benches/compare.rs::benches::inputs::Mutating Inputs::new[InternedInput]
CodSpeed Performance Gauge
+24%
5.8 µs4.7 µs
amortized[SupertypeInput]
benches/compare.rs::benches::inputs::Mutating Inputs::amortized[SupertypeInput]
CodSpeed Performance Gauge
+23%
4.1 µs3.3 µs
many_tracked_structs
benches/incremental.rs::benches::many_tracked_structs::many_tracked_structs
CodSpeed Performance Gauge
+15%
37.2 µs32.4 µs
new[SupertypeInput]
benches/compare.rs::benches::inputs::Mutating Inputs::new[SupertypeInput]
CodSpeed Performance Gauge
+14%
17.6 µs15.4 µs
new[Input]
benches/compare.rs::benches::inputs::Mutating Inputs::new[Input]
CodSpeed Performance Gauge
+14%
10.5 µs9.3 µs
accumulator
benches/accumulator.rs::benches::accumulator::accumulator
CodSpeed Performance Gauge
+13%
3.8 ms3.4 ms
converge_diverge
benches/dataflow.rs::benches::dataflow::converge_diverge
CodSpeed Performance Gauge
+7%
141.6 µs131.7 µs

Passed

mutating[20]
benches/compare.rs::benches::mutating_inputs::Mutating Inputs::mutating[20]
CodSpeed Performance Gauge
+4%
14.2 µs13.7 µs
mutating[30]
benches/compare.rs::benches::mutating_inputs::Mutating Inputs::mutating[30]
CodSpeed Performance Gauge
+4%
14.3 µs13.8 µs
mutating[10]
benches/compare.rs::benches::mutating_inputs::Mutating Inputs::mutating[10]
CodSpeed Performance Gauge
+4%
14 µs13.5 µs

Commits

Click on a commit to change the comparison range
Base
master
d28d66b
+13.57%
use `inventory` for static ingredient registration
fab2734
2 months ago
by ibraheemdev
+7.08%
remove unnecessary synchronization from memo tables
823d1c2
2 months ago
by ibraheemdev
-2.13%
use global ingredient caches for database-independent ingredients
ab5744f
2 months ago
by ibraheemdev
-14.38%
add manual ingredient registration API
842d7c2
2 months ago
by ibraheemdev
+14.12%
remove static ingredient index optimization when manual registration is in use
901868e
2 months ago
by ibraheemdev
0%
fix atomic imports
6fcdad5
2 months ago
by ibraheemdev
+10.76%
simplify ingredient caches
21838e4
2 months ago
by ibraheemdev
© 2025 CodSpeed Technology
Home Terms Privacy Docs