Disallow the legacy global session and allowlist existing call sites#8637
Conversation
Signed-off-by: Robert Kruszewski <github@robertk.io>
Merging this PR will degrade performance by 10.63%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | chunked_varbinview_opt_canonical_into[(1000, 10)] |
169.4 µs | 206.2 µs | -17.84% |
| ❌ | Simulation | chunked_varbinview_into_canonical[(1000, 10)] |
169.5 µs | 205.6 µs | -17.55% |
| ❌ | Simulation | chunked_varbinview_opt_into_canonical[(1000, 10)] |
183.3 µs | 219.7 µs | -16.53% |
| ⚡ | Simulation | chunked_varbinview_into_canonical[(100, 100)] |
306.7 µs | 271.8 µs | +12.85% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing claude/deprecate-legacy-session-au8j8j (c229b90) with develop (0026d3a)
Footnotes
-
4 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. ↩
This changes LEGACY_SESSION top level lazy static into a method.
We also disallow this method from being used in the codebase and enshrine
existing call sites with exceptions
Signed-off-by: Robert Kruszewski github@robertk.io