Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

The GitHub Actions performance comparison test had limited coverage (6 processes) and used percentage-based metrics that became unhelpful at large speed differences ("99.99% faster").

Changes

  • Expanded test coverage: 6 → 15 processes

    • Added: smss, wininit, dwm, RuntimeBroker, SearchIndexer, spoolsv, taskhostw, fontdrvhost, conhost
  • Switched to times-based comparison format:

    Before: "C++ is 99.99% faster than Go"
    After:  "C++ is 10x faster than Go"
            "Rust is 2.5x faster than C++"
            "C++ and Go have similar performance"  # when within ±10%
    
  • Improved comparison logic:

    • Uses threshold-based equality (±10%) instead of exact match
    • Flips perspective when other tool is faster ("Go is 2x faster than C++" vs "C++ is 2x slower")
    • Added division-by-zero guards

Modified file: .github/workflows/perf-compare.yml

Original prompt

This section details on the original issue you should resolve

<issue_title>make performance comparison test longer</issue_title>
<issue_description>make it have more than just 6 tests.
also since the speed difference is so great, showing "99.99% faster" isn't really helpful anymore. so use times. like 10x faster. 12 faster.</issue_description>

<agent_instructions>it's the github actions perf test</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 12, 2026 13:40
- Increased test processes from 6 to 15 (added smss, wininit, dwm, RuntimeBroker, SearchIndexer, spoolsv, taskhostw, fontdrvhost, conhost)
- Changed output format from percentage-based (99.99% faster) to times-based (10x faster, 2.5x faster)
- Improved readability and usefulness of performance comparisons

Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
- Fixed comparison logic: when other tool is faster, say "Go is Nx faster" instead of "C++ is Nx slower"
- Changed threshold from exact equality to ±10% for "similar performance"
- Added safety checks for division by zero
- More intuitive and grammatically correct output

Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
Copilot AI changed the title [WIP] Update performance comparison test duration and metrics Expand perf comparison test and switch to times-based metrics Feb 12, 2026
Copilot AI requested a review from supervoidcoder February 12, 2026 13:44
@supervoidcoder supervoidcoder marked this pull request as ready for review February 12, 2026 13:51
Copy link
Owner

@supervoidcoder supervoidcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@supervoidcoder supervoidcoder merged commit 6feabdd into main Feb 12, 2026
15 of 18 checks passed
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.

make performance comparison test longer

2 participants