Scripts: compare performance across two XCL runs #937

Open
Creaa wants to merge 1 commit from upstream-pr/943 into main
Creaa commented 2026-11-24 09:11:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Creaa on 2026-11-24T09:11:05Z.


Startup and loading comparisons currently require pulling counters and timings out of two logs by hand. This script pairs activity samples from startup up to the shorter run.

What is in it

  • scripts/compare-perf.ps1 compares presentation counts, DirectStorage requests, first displayed frame time, and peak sampled process commit from existing logs. Output contains metrics only.
  • A PowerShell fixture covers unequal runs, missing metrics and activity, and a literal path. The README documents usage.
  • The logs are read one line at a time with read, write and delete sharing, so a large log is not held in memory and a log XCL is still writing can be compared (suggested by @ettehn; the change is @RavenCurseBurg's, co-authored).

Tested

Windows build 26300, RTX 4070 (617.14), Core i7-13700F, Rust 1.100.0 MSVC.

Rebased onto main e1d84b7 (2026-11-26; README conflict next to the collapsed section, both kept), head 21811e4:

  • powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File .\scripts\compare-perf.tests.ps1: all three fixture checks passed (the third is the streamed read of a log held open by a writer).
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4: 1423 passed, 0 failed, 46 ignored. SKIPPED: the wave64 GPU tests (no wave64), a direct-DXIL f16 case refused per #1426, heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), pso_measurement_compiles_an_exact_synthetic_record (Developer Mode is off) and the D3D12 debug-layer tests.

Earlier runs, on 813a217 before the rebase:

  • powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\compare-perf.tests.ps1: both fixture checks passed. Also compared two real 45-second traces on this machine (22 common samples).
  • Debug cargo build --locked --workspace succeeded. Then cargo test --locked --workspace --no-fail-fast -- --test-threads=1 --nocapture: 716 passed, 0 failed, 41 ignored. Four runtime GPU skips are included in the pass count: two for wave64 and two for the D3D12 debug layer.
  • Initial four-thread test run before building the test title: 712 passed, 4 failed, 41 ignored, 4 runtime GPU skips. Three failures were in GPU texture/VRAM tests and one e2e failure reported missing test binaries. All four passed in the build-first serial run.

Not tested

PowerShell 7, Linux, and macOS. Workspace tests ran without optional retail sample variables.

AI use

Codex (GPT-6) implemented the script, wrote the fixture and documentation, ran the checks, and drafted this PR. Claude Code (Claude Opus 5.5) did the rebase, took in the streaming change, ran the post-rebase checks and updated this description.

<!-- greyfinch-sync:ivall/xcl:issue:5469275089 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/943). Originally posted by [Creaa](https://github.com/Creaa) on 2026-11-24T09:11:05Z. --- Startup and loading comparisons currently require pulling counters and timings out of two logs by hand. This script pairs activity samples from startup up to the shorter run. **What is in it** - `scripts/compare-perf.ps1` compares presentation counts, DirectStorage requests, first displayed frame time, and peak sampled process commit from existing logs. Output contains metrics only. - A PowerShell fixture covers unequal runs, missing metrics and activity, and a literal path. The README documents usage. - The logs are read one line at a time with read, write and delete sharing, so a large log is not held in memory and a log XCL is still writing can be compared (suggested by @ettehn; the change is @RavenCurseBurg's, co-authored). **Tested** Windows build 26300, RTX 4070 (617.14), Core i7-13700F, Rust 1.100.0 MSVC. Rebased onto `main` `e1d84b7` (2026-11-26; README conflict next to the collapsed section, both kept), head `21811e4`: - `powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File .\scripts\compare-perf.tests.ps1`: all three fixture checks passed (the third is the streamed read of a log held open by a writer). - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`: 1423 passed, 0 failed, 46 ignored. SKIPPED: the wave64 GPU tests (`no wave64`), a direct-DXIL f16 case refused per #1426, `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `pso_measurement_compiles_an_exact_synthetic_record` (Developer Mode is off) and the D3D12 debug-layer tests. Earlier runs, on `813a217` before the rebase: - `powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\scripts\compare-perf.tests.ps1`: both fixture checks passed. Also compared two real 45-second traces on this machine (22 common samples). - Debug `cargo build --locked --workspace` succeeded. Then `cargo test --locked --workspace --no-fail-fast -- --test-threads=1 --nocapture`: 716 passed, 0 failed, 41 ignored. Four runtime GPU skips are included in the pass count: two for wave64 and two for the D3D12 debug layer. - Initial four-thread test run before building the test title: 712 passed, 4 failed, 41 ignored, 4 runtime GPU skips. Three failures were in GPU texture/VRAM tests and one e2e failure reported missing test binaries. All four passed in the build-first serial run. **Not tested** PowerShell 7, Linux, and macOS. Workspace tests ran without optional retail sample variables. **AI use** Codex (GPT-6) implemented the script, wrote the fixture and documentation, ran the checks, and drafted this PR. Claude Code (Claude Opus 5.5) did the rebase, took in the streaming change, ran the post-rebase checks and updated this description.
catminou4 commented 2026-11-24 09:13:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by catminou4 on 2026-11-24T09:13:07Z.

Review: APPROVED


Static review (macOS, no PowerShell here — the fixture test needs a Windows/pwsh run, which I could not execute): the script pairs 2 s activity samples by index up to the shorter run, extracts first-frame time and peak commit, and throws a clear error when a log has no activity samples. The regexes use named groups consistently and the memory line is only attributed after the first sample exists. compare-perf.tests.ps1 covers the happy path, the missing-activity error, and asserts the output never leaks the private-path fixture line or the out-of-window 999 MB sample — good privacy hygiene for perf logs. One observation, not a blocker: pairing is by sample index, so if one run stalls and its 2 s samples drift relative to the other's, presents-per-sample stop being comparable; the header line reporting both sample counts makes that visible to the reader.

<!-- greyfinch-sync:ivall/xcl:review:6036477710 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/943#pullrequestreview-6036477710). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-24T09:13:07Z. **Review:** APPROVED --- Static review (macOS, no PowerShell here — the fixture test needs a Windows/pwsh run, which I could not execute): the script pairs 2 s activity samples by index up to the shorter run, extracts first-frame time and peak commit, and throws a clear error when a log has no activity samples. The regexes use named groups consistently and the memory line is only attributed after the first sample exists. `compare-perf.tests.ps1` covers the happy path, the missing-activity error, and asserts the output never leaks the `private-path` fixture line or the out-of-window `999 MB` sample — good privacy hygiene for perf logs. One observation, not a blocker: pairing is by sample index, so if one run stalls and its 2 s samples drift relative to the other's, presents-per-sample stop being comparable; the header line reporting both sample counts makes that visible to the reader.
ettehn commented 2026-11-24 10:04:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ettehn on 2026-11-24T09:25:11Z.


The submitted fixtures pass on Windows with PowerShell 7.6.9. One scaling issue at 813a217: comparing a 32.4 MB synthetic log against itself (200,000 non-metric lines and one activity line) took a peak process working set of 617 MiB. The foreach ($line in Get-Content ...) collection is materialized before iteration.

A local change to a UTF-8 StreamReader.ReadLine() loop reduced the peak to 106 MiB on the same input. I used Convert-Path -LiteralPath and opened the stream with FileShare.ReadWrite | FileShare.Delete so bracketed filenames and an active XCL writer still work. With the writer held open, the comparison passed on both PowerShell 7.6.9 (106 MiB) and Windows PowerShell 5.1 (136 MiB). The existing fixtures passed on both.

Verification assisted by OpenAI Codex (GPT-6.2 Astra).

<!-- greyfinch-sync:ivall/xcl:comment:7127387564 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/943#issuecomment-7127387564). Originally posted by [ettehn](https://github.com/ettehn) on 2026-11-24T09:25:11Z. --- The submitted fixtures pass on Windows with PowerShell 7.6.9. One scaling issue at `813a217`: comparing a 32.4 MB synthetic log against itself (200,000 non-metric lines and one activity line) took a peak process working set of 617 MiB. The `foreach ($line in Get-Content ...)` collection is materialized before iteration. A local change to a UTF-8 `StreamReader.ReadLine()` loop reduced the peak to 106 MiB on the same input. I used `Convert-Path -LiteralPath` and opened the stream with `FileShare.ReadWrite | FileShare.Delete` so bracketed filenames and an active XCL writer still work. With the writer held open, the comparison passed on both PowerShell 7.6.9 (106 MiB) and Windows PowerShell 5.1 (136 MiB). The existing fixtures passed on both. Verification assisted by OpenAI Codex (GPT-6.2 Astra).
SlopTart commented 2026-11-24 11:05:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T10:37:55Z.


Linux / AMD RDNA3 datapoint.

Merged state: head 813a217 onto main 9aec53d, clean merge.

Full suite, cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 716 passed, 8 failed, 41 ignored; failures are the known Wine-lane set from my #42 rows plus this rig's title-textures flake family (see #718). two-run perf compare script green; see flake footnote.

Footnote: hle::acphal::tests::xapu_connect_returns_oom_and_cleans_up_on_failure failed once in-lane, passes 2/2 in isolation on the same merge - flake, not attributed.

Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.

Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross x86_64-pc-windows-gnu, XCL_NETWORK=0, release profile, --test-threads=4. My Linux rows: #42 / #718.

AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7129037691 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/943#issuecomment-7129037691). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T10:37:55Z. --- Linux / AMD RDNA3 datapoint. **Merged state:** head `813a217` onto main `9aec53d`, clean merge. **Full suite, `cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4`:** **716 passed, 8 failed, 41 ignored**; failures are the known Wine-lane set from my #42 rows plus this rig's title-textures flake family (see #718). two-run perf compare script green; see flake footnote. Footnote: `hle::acphal::tests::xapu_connect_returns_oom_and_cleans_up_on_failure` failed once in-lane, passes 2/2 in isolation on the same merge - flake, not attributed. **Not tested:** retail titles (none here), Windows, RDNA4. Counts only, no game data. **Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross `x86_64-pc-windows-gnu`, `XCL_NETWORK=0`, release profile, `--test-threads=4`. My Linux rows: #42 / #718. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
DavidM1911 commented 2026-11-24 13:03:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T12:38:52Z.


Independent verification, merged onto current main 384f7f7 locally (clean merge).

Machine: Windows 11, Ryzen 9 7900X; Windows PowerShell 5.1.

  • powershell -NoProfile -File scripts/compare-perf.tests.ps1: "both fixture checks passed" — the new compare-perf script's self-test is green.

AI use: test runs by Devin (Cognition, SWE-2); no code changes.

<!-- greyfinch-sync:ivall/xcl:comment:7131728923 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/943#issuecomment-7131728923). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T12:38:52Z. --- Independent verification, merged onto current `main` `384f7f7` locally (clean merge). **Machine:** Windows 11, Ryzen 9 7900X; Windows PowerShell 5.1. - `powershell -NoProfile -File scripts/compare-perf.tests.ps1`: **"both fixture checks passed"** — the new compare-perf script's self-test is green. AI use: test runs by Devin (Cognition, SWE-2); no code changes.
luckyteagirl commented 2026-11-25 04:10:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-25T03:28:00Z.


Tested

  • Exact PR head 813a217eabb27c6c5ddaa076e08e78dcd39d6c25 on Windows 11 build 26200 with Windows PowerShell 5.1. This is a script-only change; the RX 6800M GPU was not exercised by the script tests.
  • powershell -NoProfile -ExecutionPolicy Bypass -File scripts\compare-perf.tests.ps1: 2 fixture checks passed, 0 failed. They cover unequal log lengths, missing metrics, a literal path containing brackets, and the error for a log with no activity samples.
  • Ran scripts\compare-perf.ps1 on two existing local seven-second XCL smoke logs. It compared 3 common two-second samples, reported first frames at 6.064 s and 5.812 s, and peak sampled process commit at 6963 MB and 7058 MB. Output contained timing and counter metrics; no game file or path was uploaded.

Not tested

  • A longer world-load comparison, PowerShell 7, the Rust workspace suite, or Linux. The two existing smoke logs were generated for another PR, so this checks parsing and comparison rather than #943 runtime behavior.

AI use

OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact diff, ran the fixture and existing-log comparison, checked their outputs, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7151939957 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/943#issuecomment-7151939957). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-25T03:28:00Z. --- **Tested** - Exact PR head `813a217eabb27c6c5ddaa076e08e78dcd39d6c25` on Windows 11 build 26200 with Windows PowerShell 5.1. This is a script-only change; the RX 6800M GPU was not exercised by the script tests. - `powershell -NoProfile -ExecutionPolicy Bypass -File scripts\compare-perf.tests.ps1`: **2 fixture checks passed, 0 failed**. They cover unequal log lengths, missing metrics, a literal path containing brackets, and the error for a log with no activity samples. - Ran `scripts\compare-perf.ps1` on two existing local seven-second XCL smoke logs. It compared **3 common two-second samples**, reported first frames at 6.064 s and 5.812 s, and peak sampled process commit at 6963 MB and 7058 MB. Output contained timing and counter metrics; no game file or path was uploaded. **Not tested** - A longer world-load comparison, PowerShell 7, the Rust workspace suite, or Linux. The two existing smoke logs were generated for another PR, so this checks parsing and comparison rather than #943 runtime behavior. **AI use** OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact diff, ran the fixture and existing-log comparison, checked their outputs, and drafted this report.
RavenCurseBurg commented 2026-11-25 22:06:55 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by RavenCurseBurg on 2026-11-25T22:05:24Z.


Retested the incorporated streaming change on 21811e4d0c2079ad7c9def99d896a2fb6bb4c066. Both script blobs match cccb6ac. All three checks in scripts/compare-perf.tests.ps1 passed in Windows PowerShell 5.1 and PowerShell 7.6.9. I also repeated the 443,050-byte UTF-16LE live-writer comparison below. The complete output matched the archived pre-change output byte for byte in each shell. Windows 11 26100.9711, i7-13700, synthetic log. OpenAI Codex (GPT-6) ran the checks. Author’s incorporation note.

I tested @ettehn’s streaming suggestion on 813a217eabb27c6c5ddaa076e08e78dcd39d6c25. Candidate and compatibility fixture.

I compared a 443,050-byte UTF-16LE log against itself while a writer held it open. It contained 8,192 non-metric lines between two samples and ended with a memory record without a final newline. I supplied a relative bracketed filename after changing the PowerShell working directory. The complete formatted output matched the original byte for byte within each shell, including the last 456 MB sample.

In one fresh process per revision and shell, peak working set was 177.3 → 115.6 MiB on Windows PowerShell 5.1 and 121.4 → 108.0 MiB on PowerShell 7.6.9. These include shell overhead. -NoProfile -NonInteractive -ExecutionPolicy Bypass -File scripts/compare-perf.tests.ps1 passed all three checks in each shell. Restricting the reader to FileShare.Read made the new live-writer case fail in each.

Windows 11 26100.9711, Core i7-13700. Synthetic logs only. OpenAI Codex (GPT-6) implemented the suggested change, ran the checks and prepared the report.

<!-- greyfinch-sync:ivall/xcl:comment:7175921235 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/943#issuecomment-7175921235). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-25T22:05:24Z. --- **Retested the incorporated streaming change on `21811e4d0c2079ad7c9def99d896a2fb6bb4c066`.** Both script blobs match `cccb6ac`. All three checks in `scripts/compare-perf.tests.ps1` passed in Windows PowerShell 5.1 and PowerShell 7.6.9. I also repeated the 443,050-byte UTF-16LE live-writer comparison below. The complete output matched the archived pre-change output byte for byte in each shell. Windows 11 26100.9711, i7-13700, synthetic log. OpenAI Codex (GPT-6) ran the checks. [Author’s incorporation note](https://github.com/xcl-dev/xcl/pull/943#issuecomment-7176642759). I tested [@ettehn’s streaming suggestion](https://github.com/xcl-dev/xcl/pull/943#issuecomment-7127387564) on `813a217eabb27c6c5ddaa076e08e78dcd39d6c25`. [Candidate and compatibility fixture](https://github.com/RavenCurseBurg/xcl/commit/cccb6ac26843977a3c88e0e20d80d990570abe3a). I compared a 443,050-byte UTF-16LE log against itself while a writer held it open. It contained 8,192 non-metric lines between two samples and ended with a memory record without a final newline. I supplied a relative bracketed filename after changing the PowerShell working directory. The complete formatted output matched the original byte for byte within each shell, including the last 456 MB sample. In one fresh process per revision and shell, peak working set was 177.3 → 115.6 MiB on Windows PowerShell 5.1 and 121.4 → 108.0 MiB on PowerShell 7.6.9. These include shell overhead. `-NoProfile -NonInteractive -ExecutionPolicy Bypass -File scripts/compare-perf.tests.ps1` passed all three checks in each shell. Restricting the reader to `FileShare.Read` made the new live-writer case fail in each. Windows 11 26100.9711, Core i7-13700. Synthetic logs only. OpenAI Codex (GPT-6) implemented the suggested change, ran the checks and prepared the report.
Creaa commented 2026-11-25 23:09:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Creaa on 2026-11-25T22:39:58Z.


@ettehn @RavenCurseBurg thanks: the streaming read is in, as @RavenCurseBurg's commit with credit (Co-Authored-By), squashed into the PR's commit 21811e4. The branch is also rebased onto main e1d84b7; all three fixture checks and the full suite pass on it (counts in the description).

AI use: Claude Code (Claude Opus 5.5) did the rebase, took in the change, ran the checks and wrote this reply.

<!-- greyfinch-sync:ivall/xcl:comment:7176642759 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/943#issuecomment-7176642759). Originally posted by [Creaa](https://github.com/Creaa) on 2026-11-25T22:39:58Z. --- @ettehn @RavenCurseBurg thanks: the streaming read is in, as @RavenCurseBurg's commit with credit (`Co-Authored-By`), squashed into the PR's commit `21811e4`. The branch is also rebased onto `main` `e1d84b7`; all three fixture checks and the full suite pass on it (counts in the description). AI use: Claude Code (Claude Opus 5.5) did the rebase, took in the change, ran the checks and wrote this reply.
DavidM1911 commented 2026-11-26 04:07:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T03:12:59Z.


Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: 1 failure under parallel scheduling; clean on --test-threads=1 rerun (1304 passed, 0 failed, 27 ignored, 77s). Intermittent single-test flake — tracked in #1978.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7181500029 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/943#issuecomment-7181500029). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T03:12:59Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: 1 failure under parallel scheduling; clean on `--test-threads=1` rerun (**1304 passed, 0 failed, 27 ignored**, 77s). Intermittent single-test flake — tracked in #1978. Thanks! — Devin
github-actions[bot] commented 2026-11-30 08:41:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:41:54Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7273231241 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/943#issuecomment-7273231241). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T08:41:54Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 04:32:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:32:30Z.


Triage (#1607) – head 21811e4

Related: main now has scripts/perf-run.ps1 / scripts/perf-compare.ps1 (9835ed4), and #2887 / #2888 extend them. They compare perf-run artifact folders (manifests, release builds). This script reads two plain xcl.log files with XCL_ACTIVITY=1, so the purposes overlap but the inputs differ. The names compare-perf.ps1 and perf-compare.ps1 are easy to confuse, and the README section should say how it relates to the perf-run tools. The PR also conflicts with main in README.md.
The regexes match main's current activity (2 s) and memory: log lines. No problems found in the script.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300837863 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/943#issuecomment-7300837863). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:32:30Z. --- **Triage (#1607)** – head 21811e4 Related: main now has `scripts/perf-run.ps1` / `scripts/perf-compare.ps1` (9835ed4), and #2887 / #2888 extend them. They compare perf-run artifact folders (manifests, release builds). This script reads two plain `xcl.log` files with `XCL_ACTIVITY=1`, so the purposes overlap but the inputs differ. The names `compare-perf.ps1` and `perf-compare.ps1` are easy to confuse, and the README section should say how it relates to the perf-run tools. The PR also conflicts with main in README.md. The regexes match main's current `activity (2 s)` and `memory:` log lines. No problems found in the script. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/943:upstream-pr/943'
git switch 'upstream-pr/943'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/943'
git switch 'upstream-pr/943'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/943'
git switch 'upstream-pr/943'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/943'
git switch 'main'
git merge --squash 'upstream-pr/943'
git switch 'main'
git merge --ff-only 'upstream-pr/943'
git switch 'main'
git merge 'upstream-pr/943'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!937
No description provided.