Repository navigation
feat(bench): per-phase cold-build timing breakdown in Blink benchmark (#1465) - #1470
Merged
Merged
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: FastLED/fbuild/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
zackees
added a commit
that referenced
this pull request
Sep 26, 2026
#1470 cached FBUILD_PERF_LOG_JSON as a std::path::PathBuf, which the ban_std_pathbuf dylint rejects, failing Dylint Full on linux and windows.
zackees
added a commit
that referenced
this pull request
Sep 26, 2026
#1470 added find_compile_db and raw_baseline_ms with a std PathBuf, a raw .fbuild/build path and an unrooted TempDir, which ban_std_pathbuf, ban_raw_fbuild_path and ban_unrooted_tempdir reject. Use NormalizedPath, fbuild_paths::get_project_build_root and a TempDir under fbuild_paths::temp_subdir, as the bench's main.rs already does.
zackees
added a commit
that referenced
this pull request
Sep 26, 2026
* ci: canary setup-soldr 218672f before v0 promotion Pins the build template to zackees/setup-soldr main 218672f8 (setup-soldr#530: no toolchain snapshots when solo-toolchain-cache is off) so the v0 promotion gate can verify it. * fix(build-engine): use NormalizedPath for the perf-log JSON sink #1470 cached FBUILD_PERF_LOG_JSON as a std::path::PathBuf, which the ban_std_pathbuf dylint rejects, failing Dylint Full on linux and windows. * fix(bench): satisfy dylint in the build-comparison harness #1470 added find_compile_db and raw_baseline_ms with a std PathBuf, a raw .fbuild/build path and an unrooted TempDir, which ban_std_pathbuf, ban_raw_fbuild_path and ban_unrooted_tempdir reject. Use NormalizedPath, fbuild_paths::get_project_build_root and a TempDir under fbuild_paths::temp_subdir, as the bench's main.rs already does. * ci: canary setup-soldr dfbe962 (current main) before v0 promotion * fix(build-engine): keep raw FBUILD_PERF_LOG_JSON sink path NormalizedPath lexically resolves '..', which can open a different file when the sink path crosses a symlink. Cache the raw OsString instead (addresses CodeRabbit review on #1471).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1465
perf_log:FBUILD_PERF_LOG_JSON=<path>appends one JSON line per timer.avr-orchestrator+pipelinetimers), a raw-compiler baseline replayed fromcompile_commands.json, fbuild overhead, PlatformIO cold ratio, and a 7-day-median regression warning.Verified: focused tests (perf_log, bench-build-comparison),
./lint,./testall green.