mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
### Motivation: The current method of parsing the ASCII table output is brittle and because the text output and the stored thresholds in JSON have different precisions doesn't always work. ### Modifications: * In the event that a deviation is found re-run the benchmarks in update mode and print the git diff to the logs. * The threshold update script scrapes this from the logs and applies it locally so that it can then be committed. * Add the functionality in the update script to update thresholds based on diff in logs ### Result: More reliable threshold updates. An example of this working: https://github.com/apple/swift-nio/actions/runs/15302748893?pr=3257 --------- Co-authored-by: George Barnett <gbarnett@apple.com>