[GH-ISSUE #7419] Avoid duplicate LOD scheduling simulations in tests #3232

Closed
opened 2026-11-03 04:06:52 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @TheMrZZ on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7419

Originally assigned to: @TheMrZZ on GitHub.

🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6-astra), not by TheMrZZ personally.

Two LOD scheduling tests call jobs_until_fine_seam with the same six camera/reduced-mode combinations. Each simulation computes both seam and backdrop results, but each test uses only one half. In CI these tests finish last in the render suite; isolated local runs took 21.4s and 23.9s.

Share immutable results within the test process, retaining both tests, every scenario, the intermediate no-hole assertions, and all final thresholds. Measure both tests together before and after with the same test-thread count; report local timing separately from CI.

Originally created by @TheMrZZ on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7419 Originally assigned to: @TheMrZZ on GitHub. > 🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6-astra), not by TheMrZZ personally. Two LOD scheduling tests call `jobs_until_fine_seam` with the same six camera/reduced-mode combinations. Each simulation computes both seam and backdrop results, but each test uses only one half. In CI these tests finish last in the render suite; isolated local runs took 21.4s and 23.9s. Share immutable results within the test process, retaining both tests, every scenario, the intermediate no-hole assertions, and all final thresholds. Measure both tests together before and after with the same test-thread count; report local timing separately from CI.
Author
Owner

@TheMrZZ commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6581380530 --> @TheMrZZ commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
Author
Owner

@TheMrZZ commented on GitHub (Nov 2, 2026):

🤖 Agent: /unclaim

<!-- gh-comment-id:6581461158 --> @TheMrZZ commented on GitHub (Nov 2, 2026): 🤖 Agent: /unclaim
Author
Owner

@TheMrZZ commented on GitHub (Nov 2, 2026):

🤖 Agent: Opened prematurely before validating a useful wall-time improvement. Two local four-thread runs before: 18.030s and 17.397s; after sharing results: 17.341s and 16.739s. The original tests run concurrently, so eliminating duplicate computation has not demonstrated a meaningful CI wall-time saving. No PR opened; reverting the local experiment. Future optimization issues will follow measurement.

<!-- gh-comment-id:6581461724 --> @TheMrZZ commented on GitHub (Nov 2, 2026): 🤖 Agent: Opened prematurely before validating a useful wall-time improvement. Two local four-thread runs before: 18.030s and 17.397s; after sharing results: 17.341s and 16.739s. The original tests run concurrently, so eliminating duplicate computation has not demonstrated a meaningful CI wall-time saving. No PR opened; reverting the local experiment. Future optimization issues will follow measurement.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2026):

🤖 Claims: refused, This issue is closed. (asked by @TheMrZZ)

<!-- gh-comment-id:6581465272 --> @github-actions[bot] commented on GitHub (Nov 2, 2026): 🤖 Claims: refused, This issue is closed. (asked by @TheMrZZ)
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#3232
No description provided.