Skip to content

feat: add --timing flag wtih per-phase timing (v0.2.1)#5

Merged
masonlet merged 13 commits into
mainfrom
feat/timing
Jun 25, 2026
Merged

feat: add --timing flag wtih per-phase timing (v0.2.1)#5
masonlet merged 13 commits into
mainfrom
feat/timing

Conversation

@masonlet

Copy link
Copy Markdown
Member

Summary

Adds --timing flag as an independent diagnostic option

Changes

  • DiagnosticFlags for future diagnostic flags
  • crate::time! macro in src/utils/timing.rs for timing blocks of code
  • timing: bool threaded through all timed functions
  • mono_repo_mode and single_repo_mode both print [timing] Total
  • timing persisted to ConfigEntry and resolved from config defaults
  • Show timing? prompt added to interactive mode
  • ResolvedDiagnosticFlags replaces raw DiagnosticFlags in ResolvedArgs

Timing coverage

  • Prerequisites check
  • Git clone/update
  • Build system detection
  • Wrap hoisting (Meson)
  • Config file generation
  • Build directory creation/clean
  • CMake configure + build
  • Meson setup + compile
  • Total elapsed per mode

@masonlet masonlet merged commit be2bd88 into main Jun 25, 2026
10 checks passed
@masonlet masonlet deleted the feat/timing branch June 25, 2026 17:24
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