docs: record kDisco PR #52 Kotlin 2.3.21 toolchain upgrade as performance-neutral for fast-sim#761
Open
bedaHovorka with Copilot wants to merge 2 commits into
Open
docs: record kDisco PR #52 Kotlin 2.3.21 toolchain upgrade as performance-neutral for fast-sim#761bedaHovorka with Copilot wants to merge 2 commits into
bedaHovorka with Copilot wants to merge 2 commits into
Conversation
1 task
…utral (closes #752)
Copilot
AI
changed the title
[WIP] Evaluate kDisco PR #52 performance-neutral findings
docs: record kDisco PR #52 Kotlin 2.3.21 toolchain upgrade as performance-neutral for fast-sim
Jul 12, 2026
bedaHovorka
approved these changes
Jul 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #752 evaluated whether upgrading kDisco's Kotlin
2.1.10 → 2.3.21(kdisco#52) would speed upfast-sim's ~1.85M-derivative-eval hot path. Result: performance-neutral — 341 ms vs 349 ms, within ±7% run-to-run noise.Changes
docs/FAST_SIM_BENCHMARK.md— adds a supplementary section recording:shuntingLoop 300, median of 7, native linuxX64 release binary)Train.Motor.derivatives) is compiled by interlockSim's own Kotlin version, not kDisco's — so kDisco's toolchain version is irrelevant to Zero-crossing event detection: dtMax=1e-3 forces 1.85M derivative evals/run (60-70% of fast-sim wall) #750to0.6.1, conclusion: success)