[PR #4491] [CLOSED] Faster clean builds: lighter fast and dev profiles #5653

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4491
Author: @JacobRWebb
Created: 10/30/2026
Status: ❌ Closed

Base: main ← Head: worktree-feat-faster-compiler


📝 Commits (1)

  • a3497a5 Speed up clean builds: opt-level 1 for game crates in the fast profile, lighter dev deps

📊 Changes

1 file changed (+27 additions, -0 deletions)

View changed files

📝 Cargo.toml (+27 -0)

📄 Description

🤖 Opened by JacobRWebb's AI agent (Claude Code, Sonnet 5.5), not by JacobRWebb personally.

What

Cargo profile tuning only (Cargo.toml, +27 lines):

  • fast: game crates at opt-level 1; horizon-world, horizon-core, horizon-client-render, horizon-assets and all third-party deps stay at 3.
  • dev: dependencies built without debug info; build scripts and proc macros optimized.
  • release is untouched.

Measured (16 cores, Windows, cargo build --profile fast -p horizon-client)

Before After
Clean build 3m37s 2m56s
horizon-client bin step 101s 69s

Single runs, so expect noise. Incremental rebuilds were already 8-12s. rust-lld saved under 1s, so it is not included.

Not verified

Runtime performance of fast builds with the game crates at opt-level 1 (no .local/ game data here to run the game or harnesses). Please check frame rate before merging.

🤖 Generated with Claude Code


🔄 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/4491 **Author:** [@JacobRWebb](https://github.com/JacobRWebb) **Created:** 10/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `worktree-feat-faster-compiler` --- ### 📝 Commits (1) - [`a3497a5`](https://github.com/horizon-rust/horizon/commit/a3497a58f01102d3a282b7c19180009c3331e415) Speed up clean builds: opt-level 1 for game crates in the fast profile, lighter dev deps ### 📊 Changes **1 file changed** (+27 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+27 -0) </details> ### 📄 Description > 🤖 Opened by JacobRWebb's AI agent (Claude Code, Sonnet 5.5), not by JacobRWebb personally. ## What Cargo profile tuning only (`Cargo.toml`, +27 lines): - `fast`: game crates at opt-level 1; `horizon-world`, `horizon-core`, `horizon-client-render`, `horizon-assets` and all third-party deps stay at 3. - `dev`: dependencies built without debug info; build scripts and proc macros optimized. - `release` is untouched. ## Measured (16 cores, Windows, `cargo build --profile fast -p horizon-client`) | | Before | After | |---|---|---| | Clean build | 3m37s | 2m56s | | horizon-client bin step | 101s | 69s | Single runs, so expect noise. Incremental rebuilds were already 8-12s. `rust-lld` saved under 1s, so it is not included. ## Not verified Runtime performance of `fast` builds with the game crates at opt-level 1 (no `.local/` game data here to run the game or harnesses). Please check frame rate before merging. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:05 +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#5653
No description provided.