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

perf: Store view downcaster in function ingredients directly

#720Merged
Comparing
Veykril:veykril/push-ktqyuntnwvxn
(
1772263
) with
master
(
ceb9b08
)
CodSpeed Performance Gauge
+7%
Improvements
1
Regressions
0
Untouched
10
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

accumulator
benches/accumulator.rs::benches::accumulator::accumulator
CodSpeed Performance Gauge
+7%
3.4 ms
3.2 ms

Passed

amortized[InternedInput]
benches/compare.rs::benches::inputs::Mutating Inputs::amortized[InternedInput]
CodSpeed Performance Gauge
+2%
3.7 µs
3.6 µs
amortized[Input]
benches/compare.rs::benches::inputs::Mutating Inputs::amortized[Input]
CodSpeed Performance Gauge
+2%
3.8 µs
3.7 µs
many_tracked_structs
benches/incremental.rs::benches::many_tracked_structs::many_tracked_structs
CodSpeed Performance Gauge
+2%
37 µs
36.4 µs
mutating[10]
benches/compare.rs::benches::mutating_inputs::Mutating Inputs::mutating[10]
CodSpeed Performance Gauge
+1%
14.6 µs
14.5 µs
mutating[20]
benches/compare.rs::benches::mutating_inputs::Mutating Inputs::mutating[20]
CodSpeed Performance Gauge
+1%
14.8 µs
14.7 µs
mutating[30]
benches/compare.rs::benches::mutating_inputs::Mutating Inputs::mutating[30]
CodSpeed Performance Gauge
+1%
14.9 µs
14.8 µs
new[InternedInput]
benches/compare.rs::benches::inputs::Mutating Inputs::new[InternedInput]
CodSpeed Performance Gauge
0%
5.4 µs
5.4 µs
new[Input]
benches/compare.rs::benches::inputs::Mutating Inputs::new[Input]
CodSpeed Performance Gauge
-1%
11.5 µs
11.6 µs
amortized[SupertypeInput]
benches/compare.rs::benches::inputs::Mutating Inputs::amortized[SupertypeInput]
CodSpeed Performance Gauge
-1%
4.5 µs
4.5 µs
new[SupertypeInput]
benches/compare.rs::benches::inputs::Mutating Inputs::new[SupertypeInput]
CodSpeed Performance Gauge
-1%
17 µs
17.2 µs

Commits

Click on a commit to change the comparison range
Base
master
ceb9b08
+7%
Skip unnecessary type-id check
1772263
1 month ago
by Veykril
© 2025 CodSpeed Technology
Home Terms PrivacyDocs