[PR #4407] [MERGED] Benchmark: distinguish missing scene load from zero #5611

Closed
opened 2026-11-03 05:13:46 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4407
Author: @SlaVKsVolks
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: contribute/horizon-benchmark-report-20261030


📝 Commits (1)

  • e0b4037 fix(bench): distinguish absent scene load measurements

📊 Changes

2 files changed (+28 additions, -1 deletions)

View changed files

📝 tests/test_perf_bench.py (+26 -0)
📝 tools/perf_bench.py (+2 -1)

📄 Description

🤖 Opened by SlaVKsVolks's AI agent (OpenAI Codex, GPT-6.1 Sol), not by SlaVKsVolks personally.

What and why

When a saved benchmark report has no scene-load measurements, perf_bench.py --table currently prints 0.0 seconds, which looks like a measured result. Show the existing missing-value marker instead. An actual zero remains 0.0, and the mean of available scene measurements is unchanged.

Part of #1346's benchmark reliability work; this does not complete the broader issue.

Kind

  • parity
  • bug
  • perf
  • feature
  • extra
  • tooling
  • docs

Vanilla reference

None: benchmark reporting only.

Self-check

Draft because the full self-check's parity phase could not start on this Windows host. The two changed files are Python benchmark reporting and its tests; no game, vanilla data, or parity implementation is changed.

  • python -m unittest tests.test_perf_bench -v: 16 tests passed. The new regression failed before the fix on the missing measurement and passes afterward; it also checks a measured zero and a two-scene mean.
  • python tools/check_public_tree.py --history: passed.
  • git diff --check: passed.
  • The sandbox baseline had two temporary-directory permission errors; the native Windows baseline passed all 15 tests.

pr_ready (tools/pr_ready.py --base d5f484c89f6e88cee27ad104860587a94b379cd5 on DESKTOP-5RS29HP, against d5f484c89, 48 s)

Check Result
Scope ✅ 2 files, +28 −1
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 481 run, OK (12 skipped; 46 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ❌ 362 affected; runner failed before starting harnesses
Label skip-release

With no dependency records in this checkout, selection conservatively counted 362 harnesses; one is named-only. The runner failed at machine_slot() importing fcntl on Windows before starting the selected harnesses. This is not a parity pass. WSL availability could not be established because its local list command returned access denied. The draft is for the maintainers to assess the appropriate CI and parity path.

🤖 Generated with OpenAI Codex (GPT-6.1 Sol).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4407 **Author:** [@SlaVKsVolks](https://github.com/SlaVKsVolks) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `contribute/horizon-benchmark-report-20261030` --- ### 📝 Commits (1) - [`e0b4037`](https://github.com/horizon-rust/horizon/commit/e0b4037a3957ab254af5ab18263dc4a0193c480f) fix(bench): distinguish absent scene load measurements ### 📊 Changes **2 files changed** (+28 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_perf_bench.py` (+26 -0) 📝 `tools/perf_bench.py` (+2 -1) </details> ### 📄 Description > 🤖 Opened by SlaVKsVolks's AI agent (OpenAI Codex, GPT-6.1 Sol), not by SlaVKsVolks personally. ## What and why When a saved benchmark report has no scene-load measurements, `perf_bench.py --table` currently prints `0.0` seconds, which looks like a measured result. Show the existing missing-value marker instead. An actual zero remains `0.0`, and the mean of available scene measurements is unchanged. Part of #1346's benchmark reliability work; this does not complete the broader issue. ## Kind - [ ] parity - [ ] bug - [ ] perf - [ ] feature - [ ] extra - [x] tooling - [ ] docs ## Vanilla reference None: benchmark reporting only. ## Self-check Draft because the full self-check's parity phase could not start on this Windows host. The two changed files are Python benchmark reporting and its tests; no game, vanilla data, or parity implementation is changed. - `python -m unittest tests.test_perf_bench -v`: 16 tests passed. The new regression failed before the fix on the missing measurement and passes afterward; it also checks a measured zero and a two-scene mean. - `python tools/check_public_tree.py --history`: passed. - `git diff --check`: passed. - The sandbox baseline had two temporary-directory permission errors; the native Windows baseline passed all 15 tests. **pr_ready** (`tools/pr_ready.py --base d5f484c89f6e88cee27ad104860587a94b379cd5` on DESKTOP-5RS29HP, against d5f484c89, 48 s) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +28 −1 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 481 run, OK (12 skipped; 46 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ❌ 362 affected; runner failed before starting harnesses | | Label | `skip-release` | With no dependency records in this checkout, selection conservatively counted 362 harnesses; one is named-only. The runner failed at `machine_slot()` importing `fcntl` on Windows before starting the selected harnesses. This is not a parity pass. WSL availability could not be established because its local list command returned access denied. The draft is for the maintainers to assess the appropriate CI and parity path. 🤖 Generated with OpenAI Codex (GPT-6.1 Sol). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:13:46 +07:00
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5611
No description provided.