s/dashmap/arcswap for session#8452
Conversation
Signed-off-by: Onur Satici <[email protected]>
Merging this PR will not alter performance
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | chunked_bool_canonical_into[(1000, 10)] |
20.3 µs | 33.4 µs | -39.15% |
| ❌ | Simulation | chunked_varbinview_canonical_into[(1000, 10)] |
161.7 µs | 197.9 µs | -18.3% |
| ❌ | Simulation | chunked_varbinview_into_canonical[(1000, 10)] |
176.9 µs | 213.6 µs | -17.21% |
| ❌ | Simulation | decompress_rd[f32, (100000, 0.0)] |
499.1 µs | 586.7 µs | -14.94% |
| ❌ | Simulation | chunked_varbinview_canonical_into[(100, 100)] |
273.3 µs | 308.3 µs | -11.34% |
| ❌ | Simulation | encode_varbin[(1000, 2)] |
158.2 µs | 176.4 µs | -10.33% |
| ⚡ | Simulation | varbinview_large |
131.2 µs | 112.6 µs | +16.53% |
| ⚡ | Simulation | bitwise_not_vortex_buffer_mut[128] |
215.3 ns | 186.1 ns | +15.67% |
| ⚡ | Simulation | bitwise_not_vortex_buffer_mut[1024] |
275.6 ns | 246.4 ns | +11.84% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing os/arcswap-session (0a4cfd6) with develop (67a2b22)
Footnotes
-
10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
Summary
use arcswap for storage instead of dashmap for session vars