Skip to content

perf: reduce development debug info - #1525

Merged
jdx merged 1 commit into
mainfrom
perf/reduce-dev-debug-info
Oct 6, 2026
Merged

jdx merged 1 commit into
mainfrom
perf/reduce-dev-debug-info

Conversation

@jdx

@jdx jdx commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

https://entire.io/gh/jdx/usage/trails/71

Reduce the default development-profile debug information from Cargo's full default to level 1.

This adds [profile.dev] debug = 1 at the workspace root, so developer and dev-profile CI builds use Cargo's reduced debug setting. Release and custom profile settings remain unchanged.

Validation: confirmed the manifest update and inspected workspace Cargo configuration, mise configuration, and workflow environments for competing CARGO_PROFILE_*_DEBUG or debuginfo overrides. No local build was run because this minimal configuration change was made through the authorized GitHub connector; required CI remains the verification gate.

AI-assisted — Tool: Codex GitHub connector; model: OpenAI/GPT-5; version: unavailable.


Note

Low Risk
Dev-profile-only Cargo setting with no change to release builds or application behavior.

Overview
Sets workspace [profile.dev] debug = 1 in the root Cargo.toml, so default dev builds (local work and dev-profile CI) emit less debug info than Cargo’s usual dev default.

Release and other custom profiles are untouched; the change is aimed at faster compiles and smaller dev artifacts, not production binaries.

Reviewed by Cursor Bugbot for commit 5cc511b. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • Chores
    • Updated development build settings. This change does not affect the app’s features or behavior for end users.

@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dea68d0e-8ba1-42d6-9b9d-ebab552147d8
📥 Commits

Reviewing files that changed from the base of the PR and between 357779e and 5cc511b.

📒 Files selected for processing (1)
  • Cargo.toml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The workspace adds a [profile.dev] setting in Cargo.toml that sets debug information to level 1.

Changes

Development Profile

Layer / File(s) Summary
Set development debug information
Cargo.toml
The development profile sets debug information to level 1.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Suggested reviewers: mise-en-dev

Merge Risk: ⚪ Minimal · up to 5cc51

Development builds receive the requested reduced debug information. No actionable merge-blocking risk is evident; normal CI verification remains appropriate.

Architecture Summary

Architecture risk: 🔵 Low · up to 5cc51

The change affects 1 system.

Changed systems: Cargo.toml

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — Cargo.toml (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in Cargo.toml: Adds a [profile.dev] configuration setting development-build debug information to level 1.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: reducing debug information in development builds.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Changes debug symbol generation in development builds.

This PR appears safe to merge.

What we checked:

  • Release builds stay unchanged: The setting applies to profile.dev. The checked performance tasks explicitly build with --release.

Summary

Adds [profile.dev] debug = 1 to the workspace root.

  • Development builds and inherited test builds use less debug information.
  • Release builds remain unchanged.
  • No actionable issues found. No build was run.
  • Author jdx explicitly requested reduced development debug information; the loss of full debugger details was treated as intentional.

Reviews (1) · Last reviewed commit: "perf: reduce development debug info"

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Instruction counts

benchmark trend instructions Δ wall (min) Δ
markdown ▁█▅▆▇▅▆▇▇▆▅▄▆▅▇▆▇ 286,033,689 → 286,050,330 +0.01% 50.03 → 50.25ms +0.45%
startup ██▇▇▇▇▆▆▇▆▇▇▇▇▇▁▆ 1,051,280 → 1,058,089 +0.65% 1.48 → 1.42ms -3.83%

No instruction-count regression above 1%.

Only instruction counts gate. Wall clock is shown for context — on identical hardware it moves 4-20% run to run.

Measured by tak — instruction-counted CLI benchmarks, stored in this repository's git notes.

Shadow comparison

Parsing mise use -g node@20 against a shadow of mise's committed spec.
Reported, not gated: the shadow grows as the derive learns to express more, so
what to watch is the ratio rather than either column.

framework stripped binary, bytes
usage 1261952
bpaf 2494656
clap 3100904
framework instructions, cold parse vs usage
usage 8530 —
clap 6314977 740x
bpaf 21909298 2568x
                                              min       p01       p10    median
usage-rs: argv -> struct                      762       773       783       808  ns
clap: build tree + parse -> struct        1240644   1243488   1255889   1274534  ns
bpaf: build parser + parse -> struct      3399088   3399088   3419280   3475442  ns

usage: argv -> struct                             776 ns      0.78 µs
clap: build tree + parse -> struct            1260707 ns   1260.71 µs
clap: parse -> struct, tree reused              49060 ns     49.06 µs
clap: build tree only                          748306 ns    748.31 µs

5cc511b0df20 vs 357779e7ad48 · measured on the runner, not pushed to the history.

@jdx
jdx merged commit f040f0d into main Oct 6, 2026
16 checks passed
@jdx
jdx deleted the perf/reduce-dev-debug-info branch October 6, 2026 00:48
mise-en-dev added a commit that referenced this pull request Oct 6, 2026
<!-- entire-trail-link-start -->
https://entire.io/gh/jdx/usage/trails/58
<!-- entire-trail-link-end -->

### ⚡ Performance

- reduce development debug info by [@jdx](https://github.com/jdx) in
[#1525](#1525)

### 🧪 Testing

- **(lib)** support independently enabled optional features by
[@jdx](https://github.com/jdx) in
[#1513](#1513)

### 🛡️ Security

- restrict AI replies on Discussions and Issues and note the instant ban
by [@jdx](https://github.com/jdx) in
[#1522](#1522)

### 🔍 Other Changes

- **(entire)** store checkpoints in a private repository by
[@jdx](https://github.com/jdx) in
[190ff3e](190ff3e)
- **(entire)** commit codex session hooks by
[@jdx](https://github.com/jdx) in
[abee1b8](abee1b8)
- **(entire)** commit claude session hooks by
[@jdx](https://github.com/jdx) in
[364d74e](364d74e)
- **(entire)** restore lower-cost trail findings by
[@jdx](https://github.com/jdx) in
[2f2f991](2f2f991)
- limit each contributor to one open draft PR by
[@jdx](https://github.com/jdx) in
[#1519](#1519)
- add hk pre-commit hook by [@jdx](https://github.com/jdx) in
[#1523](#1523)
- update pr-closer policy by [@jdx](https://github.com/jdx) in
[a2608b7](a2608b7)

### 📦️ Dependency Updates

- update ubuntu:26.04 docker digest to da6fc2b by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1514](#1514)
- update jdx/renovate-config action to v1.0.1 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1515](#1515)
- update mise tools to latest by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1516](#1516)
- update dependency communique to latest by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1518](#1518)
- update dependency aube to latest by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1520](#1520)
- run go mod tidy on Renovate branches by [@jdx](https://github.com/jdx)
in [#1521](#1521)
- update module github.com/urfave/cli/v3 to v3.13.0 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1517](#1517)
- lock file maintenance by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1524](#1524)
- update dependency golangci-lint to v2.14.0 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1526](#1526)
- update jdx/mise-action action to v5 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1527](#1527)
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.

1 participant