Skip to content

perf: refresh baseline.json from Ubuntu CI runner post scroll-perf merge#93

Merged
tig merged 2 commits into
developfrom
copilot/update-baseline-json-after-scroll-perf-merge
May 13, 2026
Merged

perf: refresh baseline.json from Ubuntu CI runner post scroll-perf merge#93
tig merged 2 commits into
developfrom
copilot/update-baseline-json-after-scroll-perf-merge

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 13, 2026

benchmarks/baseline.json was captured on an Apple M4 Max and predated the five scroll-perf optimisations from PR #77, making the CI regression gate compare against the wrong hardware and wrong code.

Changes

  • benchmarks/baseline.json — re-baselined from Ubuntu 24.04.4 / AMD EPYC 9V74 / .NET 10.0.5 X64 RyuJIT AVX2 (--job short). Updated all existing categories; added the previously absent CaretMovement category (Caret_Down_1K, Caret_Right_1K, Caret_CtrlHomeEnd_1K).

  • benchmarks/compare-baseline.sh — updated the five hardcoded VisualLineBuild thresholds to match the new baseline:

    Benchmark Old (M4 Max) New (Ubuntu CI)
    BuildLine_Short 2.6 µs 5.8 µs
    BuildLine_Long 15.7 µs 35.4 µs
    BuildLine_Tabs 3.0 µs 6.1 µs
    BuildLine_Emoji 2.7 µs 6.4 µs
    BuildLine_Mixed 2.6 µs 6.2 µs

    The ~2× delta is expected: AMD EPYC Linux vs Apple Silicon. All ratios on the new baseline measure 1.00×–1.07×.

Copilot AI assigned Copilot and tig May 13, 2026
Copilot AI linked an issue May 13, 2026 that may be closed by this pull request
…ptimizations)

Run full BenchmarkDotNet suite (--job short) on Ubuntu 24.04.4 / AMD EPYC 9V74 /
.NET 10.0.5. Previous baseline was measured on an Apple M4 Max and predated
the five scroll-perf optimizations from PR #77.

Changes:
- benchmarks/baseline.json: update all five categories (VisualLineBuild,
  Scrolling, DocumentAccess, EndToEndScroll) and add the missing CaretMovement
  category (Caret_Down_1K, Caret_Right_1K, Caret_CtrlHomeEnd_1K).
- benchmarks/compare-baseline.sh: update the five hardcoded VisualLineBuild
  thresholds to match the new baseline values (5.8/35.4/6.1/6.4/6.2 us).

compare-baseline.sh smoke-test passes: all ratios 1.00x–1.07x vs the new baseline.

Agent-Logs-Url: https://github.com/gui-cs/Editor/sessions/d28a09a7-7034-489f-9eee-f51726fd1ea6

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Copilot AI changed the title [WIP] Update baseline.json from CI after scroll-perf merge perf: refresh baseline.json from Ubuntu CI runner post scroll-perf merge May 13, 2026
Copilot finished work on behalf of tig May 13, 2026 02:54
Copilot AI requested a review from tig May 13, 2026 02:54
@tig tig marked this pull request as ready for review May 13, 2026 06:05
@tig tig merged commit 7003889 into develop May 13, 2026
8 checks passed
@tig tig deleted the copilot/update-baseline-json-after-scroll-perf-merge branch May 13, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update baseline.json from CI after scroll-perf merge

2 participants