Skip to content

feat(memory-tier): add tiny tier for <=1KB SRAM ATtiny parts - #2267

Merged
zackees merged 5 commits into
masterfrom
feat/tiny-memory-tier-attiny1604
Apr 17, 2026
Merged

zackees merged 5 commits into
masterfrom
feat/tiny-memory-tier-attiny1604

Conversation

@zackees

@zackees zackees commented Apr 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Adds a fourth memory tier tiny (below low) for MCUs with ≤1KB SRAM that cannot fit standard FastLED example sketches
  • Fixes the ATtiny1604 CI build (run 24525412430) where ArrayOfLedArrays, MultipleStripsInOneArray, and PerfDisc overflowed .bss after library growth between Feb-Mar 2026
  • New FL_IS_AVR_ATTINY_TINY_MEMORY macro in is_avr.h and SKETCH_HAS_TINY_MEMORY in sketch_macros.h with invariant TINY=1 implies LARGE=0
  • Excluded the 3 failing examples from tiny boards via // @filter: (memory is low) — they continue to build on Uno (2KB) and larger

Why

The toolchain is unchanged — platform-atmelmegaavr 1.9.0, framework-arduino-megaavr-megatinycore 2.6.7, toolchain-atmelavr 7.3.0. The regression was purely library footprint growth:

  • Feb 6 (run 21767284656): ArrayOfLedArrays & MultipleStripsInOneArray built fine
  • Mar 27: first failure (many more examples failed)
  • Apr 16: only 3 remaining failures

PerfDisc (added 2026-03-11) was born broken on ATtiny1604 — its comment says "fits AVR 2KB RAM" but ATtiny1604 has 1KB.

Memory tier ordering

tiny < low < large < huge — (memory is X) means >= X. Existing filters behave identically; unknown-board default kept at large.

Test plan

  • uv run pytest ci/tests/test_sketch_filter.py — 67 passed (5 new tiny-tier tests)
  • bash lint --cpp — clean (no NativePlatformDefinesChecker violations)
  • bash test --cpp — 298/298 passed
  • uv run ci/tools/validate_sketch_filters.py — 106/106 sketches valid
  • ATtiny1604 CI build passes on this branch

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added a new "tiny" memory classification tier and improved detection for very-low-memory AVR/ATtiny boards.
  • Chores

    • Reordered memory tiers so "tiny" is distinct from "low"/"large"/"huge".
    • Added build-filter directives to several example sketches to exclude certain tiny-target boards.
  • Tests

    • Added and updated tests to cover the new "tiny" tier and adjusted memory-tier matching behavior.

Introduces a fourth memory tier ('tiny') below 'low' for MCUs with <=1KB
SRAM that cannot fit standard FastLED example sketches. Fixes ATtiny1604
CI build failures where ArrayOfLedArrays, MultipleStripsInOneArray, and
PerfDisc overflowed .bss after library growth (FL_NOEXCEPT rollout, PMR,
singleton refactors between Feb-Mar 2026).

- src/platforms/avr/is_avr.h: new FL_IS_AVR_ATTINY_TINY_MEMORY macro
  covering classic ATtiny13/25/45/85/etc., ATtiny88, ATtiny4313, and
  modern ATtinyxy2/xy4 parts up to ATtiny1604 (1KB).
- src/fl/system/sketch_macros.h: new SKETCH_HAS_TINY_MEMORY macro with
  invariant TINY=1 implies LARGE=0.
- ci/boards.py: memory_class returns 'tiny' for attiny85/88/4313/1604;
  attiny1616 (2KB) stays 'low'.
- ci/compiler/sketch_filter.py: MEMORY_TIERS ordered tiny<low<large<huge;
  unknown-board default preserved at 'large' so existing filters behave
  identically.
- Three failing examples tagged '// @filter: (memory is low)' to skip
  tiny boards while still building on Uno (2KB) and larger.
- ci/tests/test_sketch_filter.py: 5 new tests for tiny tier semantics.
@coderabbitai

coderabbitai Bot commented Apr 17, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 53adfd4a-673c-47d6-9a86-3b73817d5825

📥 Commits

Reviewing files that changed from the base of the PR and between 59f15a5 and 00da4dd.

📒 Files selected for processing (2)
  • src/fl/system/sketch_macros.h
  • src/platforms/avr/is_avr.h

📝 Walkthrough

Walkthrough

Adds a new "tiny" memory classification for specific ATtiny boards and propagates it through board classification, sketch-filter semantics, platform detection macros, compile-time sketch macros, tests, and example build filters to support tiny < low < large < huge.

Changes

Cohort / File(s) Summary
Board classification
ci/boards.py
Adds "tiny" to Board.memory_class, implements case-insensitive ATtiny matching for the tiny tier, removes several ATtiny entries from the prior low set, and updates the docstring to the four-way mapping.
Filter logic
ci/compiler/sketch_filter.py
Inserts "tiny" into MEMORY_TIERS (tiny < low < large < huge), updates _memory_tier_matches so (memory is low) excludes tiny, and changes fallback for unknown board.memory_class to use the "large" mapping.
Tests
ci/tests/test_sketch_filter.py
Adds tiny_board fixture, updates low-tier test to exclude tiny, and adds tests for require tiny, tiny interactions with require low/large, and exclude memory=tiny.
Platform detection & macros
src/platforms/avr/is_avr.h, src/fl/system/sketch_macros.h
Adds FL_IS_AVR_ATTINY_TINY_MEMORY for listed ≤1KB SRAM ATtiny parts; introduces SKETCH_HAS_TINY_MEMORY and SKETCH_HAS_TINY_MEMORY_OVERRIDDEN; enforces compile-time incompatibility with SKETCH_HAS_LARGE_MEMORY.
Example annotations
examples/.../ArrayOfLedArrays.ino, examples/.../MultipleStripsInOneArray.ino, examples/.../PerfDisc.ino, examples/.../XYMatrix.ino
Adds // @filter: (board is not ATtiny1604) comment to exclude ATtiny1604 from those examples; no functional changes.

Sequence Diagram(s)

sequenceDiagram
    participant Builder as Build System
    participant Platform as Platform Detection
    participant Board as Board Classifier
    participant Filter as Sketch Filter
    participant Compiler as Compiler Macros

    Builder->>Platform: Detect AVR target chip
    Platform->>Platform: Evaluate FL_IS_AVR_ATTINY_TINY_MEMORY
    Platform-->>Builder: Return platform capabilities
    Builder->>Board: Query board.memory_class
    Board->>Board: Determine "tiny"/"low"/"large"/"huge"
    Board-->>Builder: Return memory_class
    Builder->>Filter: Evaluate sketch filter expressions
    Filter->>Filter: Match using updated MEMORY_TIERS rules
    Filter-->>Builder: Include or skip examples
    Builder->>Compiler: Set SKETCH_HAS_TINY_MEMORY if applicable
    Compiler->>Compiler: Validate exclusivity with LARGE/HUGE macros
    Compiler-->>Builder: Final compile configuration
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐇 Tiny hops where bytes are few,
I count the SRAM and know what's true.
A new small tier, a snug little den,
Now tiny boards get noticed again.
Hop, compile, and code — hooray, amen!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and accurately describes the main change: introducing a new 'tiny' memory tier for ATtiny parts with ≤1KB SRAM.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/tiny-memory-tier-attiny1604

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 and usage tips.

@github-actions

Copy link
Copy Markdown
Contributor

📊 Header Compilation Performance

Total Time: 1014.85ms

Top 5 Slowest Headers

  1. FastLED.h - 764.64ms
  2. fl/fastled.h - 321.57ms
  3. fl/task/executor.h - 245.32ms
  4. crgb.h - 175.36ms
  5. fl/gfx/crgb.h - 174.11ms

Warnings

⚠️ Header FastLED.h exceeds 150ms (764.6ms)
⚠️ Header fl/fastled.h exceeds 150ms (321.6ms)
⚠️ Header fl/task/executor.h exceeds 150ms (245.3ms)
⚠️ Header crgb.h exceeds 150ms (175.4ms)
⚠️ Header fl/gfx/crgb.h exceeds 150ms (174.1ms)
⚠️ Header fl/math/ease.h exceeds 150ms (169.7ms)
⚠️ Header fl/math/fixed_point.h exceeds 150ms (167.9ms)
⚠️ Header fl/task/scheduler.h exceeds 50ms (129.4ms)
⚠️ Header fl/stl/singleton.h exceeds 50ms (120.4ms)
⚠️ Header fl/stl/thread_local.h exceeds 50ms (119.8ms)
⚠️ Header fl/stl/thread.h exceeds 50ms (118.7ms)
⚠️ Header platforms/thread.h exceeds 50ms (118.6ms)
⚠️ Header platforms/stub/thread_stub.h exceeds 50ms (118.5ms)
⚠️ Header platforms/stub/thread_stub_stl.h exceeds 50ms (118.5ms)
⚠️ Header fl/ui.h exceeds 50ms (110.8ms)
⚠️ Header fl/task/promise.h exceeds 50ms (103.3ms)
⚠️ Header fl/stl/json.h exceeds 50ms (69.7ms)
⚠️ Header fl/stl/function.h exceeds 50ms (60.8ms)
⚠️ Header fl/stl/json/types.h exceeds 50ms (54.9ms)
⚠️ Header platforms.h exceeds 50ms (53.1ms)
⚠️ Header platforms/stub/fastled_stub.h exceeds 50ms (53.0ms)
⚠️ Template instantiation time is high (53.4%)

Full Report
================================================================================
FASTLED COMPILATION PERFORMANCE REPORT
================================================================================
Generated: 2026-04-17 00:24:25
Compiler: clang++-17
File: ci/perf/test_compile.cpp

SUMMARY
--------------------------------------------------------------------------------
Total Compilation Time:    1,995.52 ms
Frontend Time:             14.64 ms (0.7%)
Backend Time:              260.87 ms (13.1%)

COMPILATION PHASES
--------------------------------------------------------------------------------
Source                    10855.07 ms (544.0%)
Templates                   547.04 ms ( 27.4%)

FASTLED HEADERS (Level 1 - Direct Includes)
--------------------------------------------------------------------------------
  1309.6 ms - FastLED.h (SLOW)
   682.9 ms - fl/task/executor.h (SLOW)
   413.4 ms - fl/fastled.h (SLOW)
   357.9 ms - fl/task/scheduler.h (SLOW)
   348.9 ms - fl/stl/singleton.h (SLOW)
   348.3 ms - fl/stl/thread_local.h (SLOW)
   347.1 ms - fl/stl/thread.h (SLOW)
   347.0 ms - platforms/thread.h (SLOW)
   347.0 ms - platforms/stub/thread_stub.h (SLOW)
   346.9 ms - platforms/stub/thread_stub_stl.h (SLOW)
   312.6 ms - fl/task/promise.h (SLOW)
   269.6 ms - fl/stl/function.h (SLOW)
   241.6 ms - crgb.h (SLOW)
   240.3 ms - fl/gfx/crgb.h (SLOW)
   236.0 ms - fl/math/ease.h (SLOW)
   234.1 ms - fl/math/fixed_point.h (SLOW)
   108.7 ms - fl/math/fixed_point/s4x12.h (SLOW)
   107.5 ms - fl/ui.h (SLOW)
   102.8 ms - fl/stl/shared_ptr.h (SLOW)
    94.2 ms - fl/stl/vector.h (SLOW)

FASTLED HEADERS (Nested Includes - Up to 10 Levels)
--------------------------------------------------------------------------------
FastLED.h (1309.6ms)
  ├─  682.9 ms - fl/task/executor.h
  │ ├─  357.9 ms - fl/task/scheduler.h
  │ │ ├─  348.9 ms - fl/stl/singleton.h
  │ │ │ └─  348.3 ms - fl/stl/thread_local.h
  │ │ │   └─  347.1 ms - fl/stl/thread.h
  │ │ │     └─  347.0 ms - platforms/thread.h
  │ │ │       └─  347.0 ms - platforms/stub/thread_stub.h
  │ │ │         └─  346.9 ms - platforms/stub/thread_stub_stl.h
  │ │ │           └─  341.7 ms - thread
  │ │ │             ├─  216.9 ms - std_thread.h
  │ │ │             └─  107.7 ms - this_thread_sleep.h
  │ │ └─    8.2 ms - fl/task/task.h
  │ │   └─    3.3 ms - fl/trace.h
  │ │     ├─    2.1 ms - fl/stl/chrono.h
  │ │     └─    0.9 ms - fl/stl/tuple.h
  │ ├─  312.6 ms - fl/task/promise.h
  │ │ ├─  269.6 ms - fl/stl/function.h
  │ │ │ ├─  102.8 ms - fl/stl/shared_ptr.h
  │ │ │ │ ├─   77.2 ms - fl/stl/type_traits.h
  │ │ │ │ │ └─   72.0 ms - fl/stl/move.h
  │ │ │ │ ├─   21.2 ms - fl/stl/atomic.h
  │ │ │ │ │ └─   20.4 ms - platforms/atomic.h
  │ │ │ │ │   └─   20.3 ms - platforms/shared/atomic.h
  │ │ │ │ └─    0.7 ms - fl/stl/bit_cast.h
  │ │ │ ├─   94.2 ms - fl/stl/vector.h
  │ │ │ │ ├─   61.2 ms - fl/math/math.h
  │ │ │ │ │ └─   56.5 ms - fl/stl/undef.h
  │ │ │ │ │   └─   90.5 ms - stdlib.h
  │ │ │ │ │     ├─   46.3 ms - cstdlib
  │ │ │ │ │     │ └─   90.5 ms - stdlib.h
  │ │ │ │ │     │   ├─   46.3 ms - cstdlib
  │ │ │ │ │     │   └─    8.1 ms - types.h
  │ │ │ │ │     └─    8.1 ms - types.h
  │ │ │ │ │       ├─    8.1 ms - types.h
  │ │ │ │ │       │ ├─    8.1 ms - types.h
  │ │ │ │ │       │ ├─    1.5 ms - pthreadtypes.h
  │ │ │ │ │       │ ├─    1.4 ms - endian.h
  │ │ │ │ │       │ └─    1.3 ms - select.h
  │ │ │ │ │       ├─    1.5 ms - pthreadtypes.h
  │ │ │ │ │       │ └─    1.1 ms - thread-shared-types.h
  │ │ │ │ │       ├─    1.4 ms - endian.h
  │ │ │ │ │       └─    1.3 ms - select.h
  │ │ │ │ ├─   15.7 ms - fl/stl/allocator.h
  │ │ │ │ │ └─   10.7 ms - fl/stl/bitset.h
  │ │ │ │ │   └─    7.0 ms - fl/stl/bitset_dynamic.h
  │ │ │ │ │     └─    1.9 ms - fl/stl/unique_ptr.h
  │ │ │ │ ├─    7.8 ms - fl/stl/initializer_list.h
  │ │ │ │ ├─    2.4 ms - fl/stl/basic_vector.h
  │ │ │ │ └─    0.6 ms - fl/stl/functional.h
  │ │ │ ├─   42.6 ms - fl/stl/variant.h
  │ │ │ │ └─   40.9 ms - fl/stl/new.h
  │ │ │ │   └─   40.9 ms - platforms/new.h
  │ │ │ │     └─   40.9 ms - platforms/shared/new.h
  │ │ │ │       └─   36.1 ms - new
  │ │ │ │         ├─   18.4 ms - c++config.h
  │ │ │ │         │ └─    3.7 ms - os_defines.h
  │ │ │ │         └─    0.6 ms - version.h
  │ │ │ ├─   21.1 ms - fl/stl/compiler_control.h
  │ │ │ └─    3.9 ms - fl/stl/algorithm.h
  │ │ │   └─    1.7 ms - fl/math/random.h
  │ │ │     └─    0.8 ms - fl/math/random8.h
  │ │ └─   38.1 ms - fl/stl/string.h
  │ │   ├─   11.6 ms - fl/stl/basic_string.h
  │ │   │ ├─    0.9 ms - fl/stl/not_null.h
  │ │   │ └─    0.9 ms - fl/stl/iterator.h
  │ │   ├─    7.3 ms - fl/stl/span.h
  │ │   │ └─    3.1 ms - fl/math/geometry.h
  │ │   ├─    4.4 ms - fl/stl/string_view.h
  │ │   └─    1.3 ms - fl/stl/optional.h
  │ ├─   10.3 ms - platforms/await.h
  │ │ └─    9.9 ms - platforms/coroutine_runtime.h
  │ │   └─    8.4 ms - fl/system/engine_events.h
  │ │     ├─    4.1 ms - fl/math/screenmap.h
  │ │     │ └─    3.0 ms - fl/stl/flat_map.h
  │ │     └─    2.8 ms - fl/math/xymap.h
  │ │       └─    0.7 ms - fl/math/lut.h
  │ └─    0.7 ms - fl/task/promise_result.h
  ├─  413.4 ms - fl/fastled.h
  │ ├─  241.6 ms - crgb.h
  │ │ ├─  240.3 ms - fl/gfx/crgb.h
  │ │ │ └─  236.0 ms - fl/math/ease.h
  │ │ │   └─  234.1 ms - fl/math/fixed_point.h
  │ │ │     ├─  108.7 ms - fl/math/fixed_point/s4x12.h
  │ │ │     │ ├─   91.3 ms - fl/math/sin32.h
  │ │ │     │ │ └─   88.7 ms - fl/math/simd.h
  │ │ │     │ │   └─   88.2 ms - fl/math/simd/types.h
  │ │ │     │ │     └─   87.9 ms - platforms/simd.h
  │ │ │     │ ├─    0.9 ms - fl/math/fixed_point/traits.h
  │ │ │     │ └─    0.6 ms - fl/math/fixed_point/isqrt.h
  │ │ │     ├─   17.9 ms - fl/math/fixed_point/s8x24.h
  │ │ │     ├─   15.3 ms - fl/math/fixed_point/s8x8.h
  │ │ │     ├─   15.3 ms - fl/math/fixed_point/s16x16.h
  │ │ │     └─   14.8 ms - fl/math/fixed_point/s24x8.h
  │ │ └─    0.8 ms - chsv.h
  │ │   └─    0.7 ms - fl/gfx/hsv.h
  │ ├─   76.2 ms - platforms.h
  │ │ └─   76.2 ms - platforms/stub/fastled_stub.h
  │ │   ├─   41.8 ms - platforms/stub/fastspi_stub.h
  │ │   │ └─   41.7 ms - platforms/stub/fastspi_stub_generic.h
  │ │   │   ├─   35.6 ms - platforms/shared/active_strip_data/active_strip_data.h
  │ │   │   │ └─   33.5 ms - fl/id_tracker.h
  │ │   │   │   └─   32.4 ms - fl/stl/mutex.h
  │ │   │   │     └─   32.3 ms - platforms/mutex.h
  │ │   │   │       └─   32.2 ms - platforms/stub/mutex_stub.h
  │ │   │   └─    5.7 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │ │   └─   34.3 ms - platforms/stub/clockless_stub.h
  │ │     └─   34.2 ms - platforms/stub/clockless_channel_stub.h
  │ │       ├─   12.2 ms - fl/channels/data.h
  │ │       │ └─    9.0 ms - fl/channels/config.h
  │ │       │   ├─    1.9 ms - fl/chipsets/chipset_timing_config.h
  │ │       │   │ └─    1.2 ms - fl/chipsets/led_timing.h
  │ │       │   └─    1.4 ms - fl/chipsets/spi.h
  │ │       ├─   11.6 ms - fl/system/log.h
  │ │       │ └─   11.1 ms - fl/stl/strstream.h
  │ │       ├─    2.4 ms - fl/channels/manager.h
  │ │       ├─    1.4 ms - fl/stl/weak_ptr.h
  │ │       └─    1.1 ms - fl/channels/driver.h
  │ ├─   36.2 ms - colorutils.h
  │ │ └─   35.3 ms - fl/gfx/colorutils.h
  │ │   ├─    7.9 ms - fl/gfx/blur.h
  │ │   │ └─    4.2 ms - fl/gfx/canvas.h
  │ │   │   └─    2.6 ms - fl/math/alpha.h
  │ │   └─    2.8 ms - fl/gfx/fill.h
  │ ├─   20.6 ms - pixel_controller.h
  │ │ ├─   14.6 ms - pixel_iterator.h
  │ │ │ └─   14.5 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │ │   ├─    4.1 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │ │   ├─    4.1 ms - fl/chipsets/encoders/apa102.h
  │ │ │   │ └─    3.1 ms - fl/chipsets/encoders/encoder_utils.h
  │ │ │   │   └─    2.5 ms - fl/gfx/gamma_lut.h
  │ │ │   ├─    0.8 ms - fl/chipsets/encoders/sk9822.h
  │ │ │   └─    0.7 ms - fl/chipsets/encoders/hd108.h
  │ │ └─    2.5 ms - rgbw.h
  │ │   └─    2.3 ms - fl/gfx/rgbw.h
  │ └─   18.8 ms - pixeltypes.h
  │   ├─   15.6 ms - lib8tion.h
  │   │ ├─    7.7 ms - fl/math/math8.h
  │   │ │ ├─    4.0 ms - fl/math/intmap.h
  │   │ │ │ └─    3.1 ms - platforms/intmap.h
  │   │ │ ├─    2.0 ms - fl/math/scale8.h
  │   │ │ │ └─    2.0 ms - platforms/scale8.h
  │   │ │ │   └─    0.8 ms - platforms/shared/scale8.h
  │   │ │ └─    1.6 ms - platforms/math8.h
  │   │ │   └─    1.2 ms - platforms/shared/math8.h
  │   │ ├─    1.6 ms - fl/math/beat.h
  │   │ │ └─    0.9 ms - fl/math/trig8.h
  │   │ │   └─    0.8 ms - platforms/trig8.h
  │   │ │     └─    0.7 ms - platforms/shared/trig8.h
  │   │ └─    0.5 ms - fl/math/time_functions.h
  │   └─    2.8 ms - crgb.hpp
  ├─  107.5 ms - fl/ui.h
  │ ├─   68.2 ms - fl/stl/json.h
  │ │ └─   53.7 ms - fl/stl/json/types.h
  │ │   └─    6.4 ms - fl/stl/limits.h
  │ ├─   10.0 ms - fl/ui_impl.h
  │ │ └─    9.4 ms - platforms/ui_defs.h
  │ │   ├─    2.0 ms - platforms/shared/ui/json/audio.h
  │ │   │ └─    1.0 ms - platforms/shared/ui/json/audio_internal.h
  │ │   ├─    1.5 ms - platforms/shared/ui/json/button.h
  │ │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │ │   ├─    0.9 ms - platforms/shared/ui/json/checkbox.h
  │ │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │ │   └─    0.8 ms - platforms/shared/ui/json/number_field.h
  │ └─    5.0 ms - fl/stl/url.h
  ├─   25.3 ms - chipsets.h
  │ ├─   10.4 ms - fl/chipsets/ucs7604.h
  │ │ └─    7.8 ms - fl/chipsets/encoders/ucs7604.h
  │ ├─    5.9 ms - fl/chipsets/apa102.h
  │ ├─    1.6 ms - fl/chipsets/lpd880x.h
  │ ├─    0.9 ms - fl/chipsets/encoders/ws2816.h
  │ └─    0.8 ms - fl/chipsets/p9813.h
  └─   21.0 ms - fl/audio/audio_processor.h
    ├─    5.3 ms - fl/audio/audio_context.h
    │ └─    1.5 ms - fl/audio/fft/fft.h
    ├─    1.7 ms - fl/audio/detector/vibe.h
    └─    0.9 ms - fl/audio/signal_conditioner.h
fl/task/executor.h (682.9ms)
  ├─  357.9 ms - fl/task/scheduler.h
  │ ├─  348.9 ms - fl/stl/singleton.h
  │ │ └─  348.3 ms - fl/stl/thread_local.h
  │ │   └─  347.1 ms - fl/stl/thread.h
  │ │     └─  347.0 ms - platforms/thread.h
  │ │       └─  347.0 ms - platforms/stub/thread_stub.h
  │ │         └─  346.9 ms - platforms/stub/thread_stub_stl.h
  │ │           └─  341.7 ms - thread
  │ │             ├─  216.9 ms - std_thread.h
  │ │             │ ├─   72.9 ms - iosfwd
  │ │             │ ├─   56.7 ms - tuple
  │ │             │ ├─   20.2 ms - refwrap.h
  │ │             │ ├─   14.1 ms - gthr.h
  │ │             │ └─    9.7 ms - unique_ptr.h
  │ │             └─  107.7 ms - this_thread_sleep.h
  │ │               ├─   93.2 ms - chrono.h
  │ │               └─    3.2 ms - cerrno
  │ └─    8.2 ms - fl/task/task.h
  │   └─    3.3 ms - fl/trace.h
  │     ├─    2.1 ms - fl/stl/chrono.h
  │     └─    0.9 ms - fl/stl/tuple.h
  ├─  312.6 ms - fl/task/promise.h
  │ ├─  269.6 ms - fl/stl/function.h
  │ │ ├─  102.8 ms - fl/stl/shared_ptr.h
  │ │ │ ├─   77.2 ms - fl/stl/type_traits.h
  │ │ │ │ └─   72.0 ms - fl/stl/move.h
  │ │ │ ├─   21.2 ms - fl/stl/atomic.h
  │ │ │ │ └─   20.4 ms - platforms/atomic.h
  │ │ │ │   └─   20.3 ms - platforms/shared/atomic.h
  │ │ │ └─    0.7 ms - fl/stl/bit_cast.h
  │ │ ├─   94.2 ms - fl/stl/vector.h
  │ │ │ ├─   61.2 ms - fl/math/math.h
  │ │ │ │ └─   56.5 ms - fl/stl/undef.h
  │ │ │ │   └─   90.5 ms - stdlib.h
  │ │ │ │     ├─   46.3 ms - cstdlib
  │ │ │ │     │ └─   90.5 ms - stdlib.h
  │ │ │ │     │   ├─   46.3 ms - cstdlib
  │ │ │ │     │   │ └─   90.5 ms - stdlib.h
  │ │ │ │     │   └─    8.1 ms - types.h
  │ │ │ │     │     ├─    8.1 ms - types.h
  │ │ │ │     │     ├─    1.5 ms - pthreadtypes.h
  │ │ │ │     │     ├─    1.4 ms - endian.h
  │ │ │ │     │     └─    1.3 ms - select.h
  │ │ │ │     └─    8.1 ms - types.h
  │ │ │ │       ├─    8.1 ms - types.h
  │ │ │ │       │ ├─    8.1 ms - types.h
  │ │ │ │       │ │ ├─    8.1 ms - types.h
  │ │ │ │       │ │ ├─    1.5 ms - pthreadtypes.h
  │ │ │ │       │ │ ├─    1.4 ms - endian.h
  │ │ │ │       │ │ └─    1.3 ms - select.h
  │ │ │ │       │ ├─    1.5 ms - pthreadtypes.h
  │ │ │ │       │ │ └─    1.1 ms - thread-shared-types.h
  │ │ │ │       │ ├─    1.4 ms - endian.h
  │ │ │ │       │ └─    1.3 ms - select.h
  │ │ │ │       ├─    1.5 ms - pthreadtypes.h
  │ │ │ │       │ └─    1.1 ms - thread-shared-types.h
  │ │ │ │       ├─    1.4 ms - endian.h
  │ │ │ │       └─    1.3 ms - select.h
  │ │ │ ├─   15.7 ms - fl/stl/allocator.h
  │ │ │ │ └─   10.7 ms - fl/stl/bitset.h
  │ │ │ │   └─    7.0 ms - fl/stl/bitset_dynamic.h
  │ │ │ │     └─    1.9 ms - fl/stl/unique_ptr.h
  │ │ │ ├─    7.8 ms - fl/stl/initializer_list.h
  │ │ │ ├─    2.4 ms - fl/stl/basic_vector.h
  │ │ │ └─    0.6 ms - fl/stl/functional.h
  │ │ ├─   42.6 ms - fl/stl/variant.h
  │ │ │ └─   40.9 ms - fl/stl/new.h
  │ │ │   └─   40.9 ms - platforms/new.h
  │ │ │     └─   40.9 ms - platforms/shared/new.h
  │ │ │       └─   36.1 ms - new
  │ │ │         ├─   18.4 ms - c++config.h
  │ │ │         │ └─    3.7 ms - os_defines.h
  │ │ │         │   └─    3.4 ms - features.h
  │ │ │         └─    0.6 ms - version.h
  │ │ ├─   21.1 ms - fl/stl/compiler_control.h
  │ │ └─    3.9 ms - fl/stl/algorithm.h
  │ │   └─    1.7 ms - fl/math/random.h
  │ │     └─    0.8 ms - fl/math/random8.h
  │ └─   38.1 ms - fl/stl/string.h
  │   ├─   11.6 ms - fl/stl/basic_string.h
  │   │ ├─    0.9 ms - fl/stl/not_null.h
  │   │ └─    0.9 ms - fl/stl/iterator.h
  │   ├─    7.3 ms - fl/stl/span.h
  │   │ └─    3.1 ms - fl/math/geometry.h
  │   ├─    4.4 ms - fl/stl/string_view.h
  │   └─    1.3 ms - fl/stl/optional.h
  ├─   10.3 ms - platforms/await.h
  │ └─    9.9 ms - platforms/coroutine_runtime.h
  │   └─    8.4 ms - fl/system/engine_events.h
  │     ├─    4.1 ms - fl/math/screenmap.h
  │     │ └─    3.0 ms - fl/stl/flat_map.h
  │     └─    2.8 ms - fl/math/xymap.h
  │       └─    0.7 ms - fl/math/lut.h
  └─    0.7 ms - fl/task/promise_result.h
fl/fastled.h (413.4ms)
  ├─  241.6 ms - crgb.h
  │ ├─  240.3 ms - fl/gfx/crgb.h
  │ │ └─  236.0 ms - fl/math/ease.h
  │ │   └─  234.1 ms - fl/math/fixed_point.h
  │ │     ├─  108.7 ms - fl/math/fixed_point/s4x12.h
  │ │     │ ├─   91.3 ms - fl/math/sin32.h
  │ │     │ │ └─   88.7 ms - fl/math/simd.h
  │ │     │ │   └─   88.2 ms - fl/math/simd/types.h
  │ │     │ │     └─   87.9 ms - platforms/simd.h
  │ │     │ │       └─   87.9 ms - platforms/shared/simd_x86.hpp
  │ │     │ ├─    0.9 ms - fl/math/fixed_point/traits.h
  │ │     │ └─    0.6 ms - fl/math/fixed_point/isqrt.h
  │ │     ├─   17.9 ms - fl/math/fixed_point/s8x24.h
  │ │     ├─   15.3 ms - fl/math/fixed_point/s8x8.h
  │ │     ├─   15.3 ms - fl/math/fixed_point/s16x16.h
  │ │     └─   14.8 ms - fl/math/fixed_point/s24x8.h
  │ └─    0.8 ms - chsv.h
  │   └─    0.7 ms - fl/gfx/hsv.h
  ├─   76.2 ms - platforms.h
  │ └─   76.2 ms - platforms/stub/fastled_stub.h
  │   ├─   41.8 ms - platforms/stub/fastspi_stub.h
  │   │ └─   41.7 ms - platforms/stub/fastspi_stub_generic.h
  │   │   ├─   35.6 ms - platforms/shared/active_strip_data/active_strip_data.h
  │   │   │ └─   33.5 ms - fl/id_tracker.h
  │   │   │   └─   32.4 ms - fl/stl/mutex.h
  │   │   │     └─   32.3 ms - platforms/mutex.h
  │   │   │       └─   32.2 ms - platforms/stub/mutex_stub.h
  │   │   │         └─   32.2 ms - platforms/stub/mutex_stub_stl.h
  │   │   └─    5.7 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │   └─   34.3 ms - platforms/stub/clockless_stub.h
  │     └─   34.2 ms - platforms/stub/clockless_channel_stub.h
  │       ├─   12.2 ms - fl/channels/data.h
  │       │ └─    9.0 ms - fl/channels/config.h
  │       │   ├─    1.9 ms - fl/chipsets/chipset_timing_config.h
  │       │   │ └─    1.2 ms - fl/chipsets/led_timing.h
  │       │   └─    1.4 ms - fl/chipsets/spi.h
  │       ├─   11.6 ms - fl/system/log.h
  │       │ └─   11.1 ms - fl/stl/strstream.h
  │       ├─    2.4 ms - fl/channels/manager.h
  │       ├─    1.4 ms - fl/stl/weak_ptr.h
  │       └─    1.1 ms - fl/channels/driver.h
  ├─   36.2 ms - colorutils.h
  │ └─   35.3 ms - fl/gfx/colorutils.h
  │   ├─    7.9 ms - fl/gfx/blur.h
  │   │ └─    4.2 ms - fl/gfx/canvas.h
  │   │   └─    2.6 ms - fl/math/alpha.h
  │   └─    2.8 ms - fl/gfx/fill.h
  ├─   20.6 ms - pixel_controller.h
  │ ├─   14.6 ms - pixel_iterator.h
  │ │ └─   14.5 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │   ├─    4.1 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │   ├─    4.1 ms - fl/chipsets/encoders/apa102.h
  │ │   │ └─    3.1 ms - fl/chipsets/encoders/encoder_utils.h
  │ │   │   └─    2.5 ms - fl/gfx/gamma_lut.h
  │ │   ├─    0.8 ms - fl/chipsets/encoders/sk9822.h
  │ │   └─    0.7 ms - fl/chipsets/encoders/hd108.h
  │ └─    2.5 ms - rgbw.h
  │   └─    2.3 ms - fl/gfx/rgbw.h
  └─   18.8 ms - pixeltypes.h
    ├─   15.6 ms - lib8tion.h
    │ ├─    7.7 ms - fl/math/math8.h
    │ │ ├─    4.0 ms - fl/math/intmap.h
    │ │ │ └─    3.1 ms - platforms/intmap.h
    │ │ ├─    2.0 ms - fl/math/scale8.h
    │ │ │ └─    2.0 ms - platforms/scale8.h
    │ │ │   └─    0.8 ms - platforms/shared/scale8.h
    │ │ └─    1.6 ms - platforms/math8.h
    │ │   └─    1.2 ms - platforms/shared/math8.h
    │ ├─    1.6 ms - fl/math/beat.h
    │ │ └─    0.9 ms - fl/math/trig8.h
    │ │   └─    0.8 ms - platforms/trig8.h
    │ │     └─    0.7 ms - platforms/shared/trig8.h
    │ └─    0.5 ms - fl/math/time_functions.h
    └─    2.8 ms - crgb.hpp
fl/ui.h (107.5ms)
  ├─   68.2 ms - fl/stl/json.h
  │ └─   53.7 ms - fl/stl/json/types.h
  │   └─    6.4 ms - fl/stl/limits.h
  ├─   10.0 ms - fl/ui_impl.h
  │ └─    9.4 ms - platforms/ui_defs.h
  │   ├─    2.0 ms - platforms/shared/ui/json/audio.h
  │   │ └─    1.0 ms - platforms/shared/ui/json/audio_internal.h
  │   ├─    1.5 ms - platforms/shared/ui/json/button.h
  │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │   ├─    0.9 ms - platforms/shared/ui/json/checkbox.h
  │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │   └─    0.8 ms - platforms/shared/ui/json/number_field.h
  └─    5.0 ms - fl/stl/url.h
chipsets.h (25.3ms)
  ├─   10.4 ms - fl/chipsets/ucs7604.h
  │ └─    7.8 ms - fl/chipsets/encoders/ucs7604.h
  ├─    5.9 ms - fl/chipsets/apa102.h
  ├─    1.6 ms - fl/chipsets/lpd880x.h
  ├─    0.9 ms - fl/chipsets/encoders/ws2816.h
  └─    0.8 ms - fl/chipsets/p9813.h

TOP 20 SLOWEST OPERATIONS
--------------------------------------------------------------------------------
  1.  1309.6 ms - Source: FastLED.h
  2.  1309.6 ms - Total Source: 
  3.   682.9 ms - Source: fl/task/executor.h
  4.   580.0 ms - Total ParseClass: 
  5.   413.4 ms - Source: fl/fastled.h
  6.   357.9 ms - Source: fl/task/scheduler.h
  7.   348.9 ms - Source: fl/stl/singleton.h
  8.   348.3 ms - Source: fl/stl/thread_local.h
  9.   347.1 ms - Source: fl/stl/thread.h
 10.   347.0 ms - Source: platforms/thread.h
 11.   347.0 ms - Source: platforms/stub/thread_stub.h
 12.   346.9 ms - Source: platforms/stub/thread_stub_stl.h
 13.   341.7 ms - Source: thread
 14.   312.6 ms - Source: fl/task/promise.h
 15.   269.6 ms - Source: fl/stl/function.h
 16.   241.6 ms - Source: crgb.h
 17.   240.3 ms - Source: fl/gfx/crgb.h
 18.   236.0 ms - Source: fl/math/ease.h
 19.   234.1 ms - Source: fl/math/fixed_point.h
 20.   216.9 ms - Source: std_thread.h

PERFORMANCE FLAGS
--------------------------------------------------------------------------------
⚠️  SLOW HEADERS (>50.0ms):
    - FastLED.h (1309.6ms)
    - fl/task/executor.h (682.9ms)
    - fl/fastled.h (413.4ms)
    - fl/task/scheduler.h (357.9ms)
    - fl/stl/singleton.h (348.9ms)
    - fl/stl/thread_local.h (348.3ms)
    - fl/stl/thread.h (347.1ms)
    - platforms/thread.h (347.0ms)
    - platforms/stub/thread_stub.h (347.0ms)
    - platforms/stub/thread_stub_stl.h (346.9ms)

⚠️  Template instantiation time is high (27.4% of total)
✓  Lexing time is acceptable (<10% of total)

RECOMMENDATIONS
--------------------------------------------------------------------------------
1. Consider optimizing FastLED.h (1309.6ms)
2. Consider optimizing fl/task/executor.h (682.9ms)
3. Consider optimizing fl/fastled.h (413.4ms)

================================================================================

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (1)
ci/compiler/sketch_filter.py (1)

319-319: Update docstring to mention the new tiny tier.

The _memory_tier_matches docstring still says board_memory: Board's memory class ("low", "large", or "huge"), omitting tiny.

📝 Proposed fix
-        board_memory: Board's memory class ("low", "large", or "huge")
+        board_memory: Board's memory class ("tiny", "low", "large", or "huge")
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ci/compiler/sketch_filter.py` at line 319, Update the _memory_tier_matches
docstring to include the new "tiny" tier in the description of board_memory
(e.g., "tiny", "low", "large", or "huge") and adjust any example or parameter
text to reflect the added tier; locate the docstring for the
_memory_tier_matches function and change the board_memory line accordingly so
the docs match the implementation.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@ci/boards.py`:
- Around line 239-246: The tiny-vs-low misclassification is caused by
case-sensitive membership check: tiny_memory_boards contains lowercase names but
Board.memory_class uses self.board_name with mixed case (e.g., "ATtiny1604");
normalize before comparison by comparing self.board_name.lower() against
tiny_memory_boards (or store normalized names in tiny_memory_boards and use a
lowercased lookup), update the check in memory_class that references
tiny_memory_boards to use the normalized form, and apply the same
lowercase-normalization to the subsequent low_memory_boards and
huge_memory_boards checks so mixed-case board_name values (like
ATtiny1604/ATtiny1616) are classified correctly; also add a regression test that
instantiates the real Board for "ATtiny1604" and asserts memory_class == "tiny".

In `@ci/compiler/sketch_filter.py`:
- Around line 325-326: The current assignment of board_tier uses
MEMORY_TIERS.get(board_memory.lower(), MEMORY_TIERS["large"]) which silently
upgrades unknown board_memory to the "large" tier; change this to fail fast or
at least warn: look up board_memory.lower() in MEMORY_TIERS explicitly, and if
missing call process_logger.warning(...) (or raise a ValueError) and either
fallback to an "unknown" sentinel that triggers exact-match-only behavior or
raise so callers must handle it; update the code paths that read board_tier
accordingly (reference symbols: MEMORY_TIERS, board_memory, board_tier) so
unknown/misconfigured values do not silently map to "large".

In `@src/platforms/avr/is_avr.h`:
- Around line 139-140: The macro list using __AVR_ATtinyxy4__ /
ARDUINO_attinyxy4 incorrectly claims to cover only ≤1KB SRAM parts for
SKETCH_HAS_TINY_MEMORY=1; either replace the wildcard with an explicit list of
the ≤1KB parts (e.g., ATtiny414, ATtiny814, ATtiny424) in the is_avr.h condition
that sets SKETCH_HAS_TINY_MEMORY, or update the surrounding comment to reflect
that the wildcard also matches 2-series devices (ATtiny1624, ATtiny3224) and
ensure those larger devices are excluded by adding their own macro check or a
separate macro path so SKETCH_HAS_TINY_MEMORY is only set for true ≤1KB devices.

---

Nitpick comments:
In `@ci/compiler/sketch_filter.py`:
- Line 319: Update the _memory_tier_matches docstring to include the new "tiny"
tier in the description of board_memory (e.g., "tiny", "low", "large", or
"huge") and adjust any example or parameter text to reflect the added tier;
locate the docstring for the _memory_tier_matches function and change the
board_memory line accordingly so the docs match the implementation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8b34681a-8e30-41b7-900f-77678499f329

📥 Commits

Reviewing files that changed from the base of the PR and between 95134be and 6c40ba8.

📒 Files selected for processing (8)
  • ci/boards.py
  • ci/compiler/sketch_filter.py
  • ci/tests/test_sketch_filter.py
  • examples/Multiple/ArrayOfLedArrays/ArrayOfLedArrays.ino
  • examples/Multiple/MultipleStripsInOneArray/MultipleStripsInOneArray.ino
  • examples/PerfDisc/PerfDisc.ino
  • src/fl/system/sketch_macros.h
  • src/platforms/avr/is_avr.h

Comment thread ci/boards.py Resolved
Comment on lines +325 to +326
# Unknown board memory defaults to "large" tier (capable, non-tiny, non-low).
board_tier = MEMORY_TIERS.get(board_memory.lower(), MEMORY_TIERS["large"])

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Behavior change: unknown board_memory now silently defaults to large.

Previously unknown memory classes used a distinct default; now they are coerced to large, which means an unknown/misconfigured board will pass (memory is low) and (memory is large) filters without any diagnostic. Given the new tiny tier — where misclassification risks OOM on hardware — consider logging a warning or falling back to exact-match-only instead of silently upgrading. As per coding guidelines, "Never use silent fallbacks for missing critical resources - always fail fast with descriptive errors."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ci/compiler/sketch_filter.py` around lines 325 - 326, The current assignment
of board_tier uses MEMORY_TIERS.get(board_memory.lower(), MEMORY_TIERS["large"])
which silently upgrades unknown board_memory to the "large" tier; change this to
fail fast or at least warn: look up board_memory.lower() in MEMORY_TIERS
explicitly, and if missing call process_logger.warning(...) (or raise a
ValueError) and either fallback to an "unknown" sentinel that triggers
exact-match-only behavior or raise so callers must handle it; update the code
paths that read board_tier accordingly (reference symbols: MEMORY_TIERS,
board_memory, board_tier) so unknown/misconfigured values do not silently map to
"large".

Comment thread src/platforms/avr/is_avr.h Resolved
Board 'ATtiny1604' has a capital A in PlatformIO's canonical name, so
the exact lowercase match against the tiny_memory_boards set missed it
and fell through to the atmelmegaavr platform check returning 'low'.
Lower-case the board_name before the membership test.
@github-actions

Copy link
Copy Markdown
Contributor

📊 Header Compilation Performance

Total Time: 1206.34ms

Top 5 Slowest Headers

  1. FastLED.h - 914.93ms
  2. fl/fastled.h - 395.71ms
  3. fl/task/executor.h - 296.29ms
  4. crgb.h - 224.62ms
  5. fl/gfx/crgb.h - 223.27ms

Warnings

⚠️ Header FastLED.h exceeds 150ms (914.9ms)
⚠️ Header fl/fastled.h exceeds 150ms (395.7ms)
⚠️ Header fl/task/executor.h exceeds 150ms (296.3ms)
⚠️ Header crgb.h exceeds 150ms (224.6ms)
⚠️ Header fl/gfx/crgb.h exceeds 150ms (223.3ms)
⚠️ Header fl/math/ease.h exceeds 150ms (218.1ms)
⚠️ Header fl/math/fixed_point.h exceeds 150ms (215.6ms)
⚠️ Header fl/task/scheduler.h exceeds 150ms (156.3ms)
⚠️ Header fl/stl/singleton.h exceeds 50ms (146.2ms)
⚠️ Header fl/stl/thread_local.h exceeds 50ms (145.4ms)
⚠️ Header fl/stl/thread.h exceeds 50ms (144.2ms)
⚠️ Header platforms/thread.h exceeds 50ms (144.1ms)
⚠️ Header platforms/stub/thread_stub.h exceeds 50ms (144.1ms)
⚠️ Header platforms/stub/thread_stub_stl.h exceeds 50ms (144.0ms)
⚠️ Header fl/task/promise.h exceeds 50ms (125.9ms)
⚠️ Header fl/ui.h exceeds 50ms (124.7ms)
⚠️ Header fl/stl/json.h exceeds 50ms (80.3ms)
⚠️ Header fl/stl/function.h exceeds 50ms (74.6ms)
⚠️ Header fl/math/fixed_point/s4x12.h exceeds 50ms (64.6ms)
⚠️ Header fl/stl/json/types.h exceeds 50ms (62.4ms)
⚠️ Header platforms.h exceeds 50ms (58.4ms)
⚠️ Header platforms/stub/fastled_stub.h exceeds 50ms (58.4ms)
⚠️ Template instantiation time is high (54.8%)

Full Report
================================================================================
FASTLED COMPILATION PERFORMANCE REPORT
================================================================================
Generated: 2026-04-17 00:40:56
Compiler: clang++-17
File: ci/perf/test_compile.cpp

SUMMARY
--------------------------------------------------------------------------------
Total Compilation Time:    2,531.57 ms
Frontend Time:             18.11 ms (0.7%)
Backend Time:              228.98 ms (9.0%)

COMPILATION PHASES
--------------------------------------------------------------------------------
Source                    15653.34 ms (618.3%)
Templates                   643.34 ms ( 25.4%)

FASTLED HEADERS (Level 1 - Direct Includes)
--------------------------------------------------------------------------------
  1782.6 ms - FastLED.h (SLOW)
  1012.0 ms - fl/task/executor.h (SLOW)
   565.3 ms - fl/task/promise.h (SLOW)
   517.6 ms - fl/fastled.h (SLOW)
   514.7 ms - fl/stl/function.h (SLOW)
   432.4 ms - fl/task/scheduler.h (SLOW)
   422.4 ms - fl/stl/singleton.h (SLOW)
   421.5 ms - fl/stl/thread_local.h (SLOW)
   419.8 ms - fl/stl/thread.h (SLOW)
   419.7 ms - platforms/thread.h (SLOW)
   419.7 ms - platforms/stub/thread_stub.h (SLOW)
   419.6 ms - platforms/stub/thread_stub_stl.h (SLOW)
   313.5 ms - crgb.h (SLOW)
   312.1 ms - fl/gfx/crgb.h (SLOW)
   307.0 ms - fl/math/ease.h (SLOW)
   304.5 ms - fl/math/fixed_point.h (SLOW)
   252.8 ms - fl/stl/vector.h (SLOW)
   216.8 ms - fl/math/math.h (SLOW)
   210.6 ms - fl/stl/undef.h (SLOW)
   154.1 ms - fl/math/fixed_point/s4x12.h (SLOW)

FASTLED HEADERS (Nested Includes - Up to 10 Levels)
--------------------------------------------------------------------------------
FastLED.h (1782.6ms)
  ├─ 1012.0 ms - fl/task/executor.h
  │ ├─  565.3 ms - fl/task/promise.h
  │ │ ├─  514.7 ms - fl/stl/function.h
  │ │ │ ├─  252.8 ms - fl/stl/vector.h
  │ │ │ │ ├─  216.8 ms - fl/math/math.h
  │ │ │ │ │ └─  210.6 ms - fl/stl/undef.h
  │ │ │ │ │   └─  393.6 ms - stdlib.h
  │ │ │ │ │     ├─  198.7 ms - cstdlib
  │ │ │ │ │     │ ├─  393.6 ms - stdlib.h
  │ │ │ │ │     │ │ ├─  198.7 ms - cstdlib
  │ │ │ │ │     │ │ ├─  102.2 ms - types.h
  │ │ │ │ │     │ │ ├─   11.4 ms - locale_t.h
  │ │ │ │ │     │ │ └─    6.1 ms - floatn.h
  │ │ │ │ │     │ └─    0.5 ms - std_abs.h
  │ │ │ │ │     ├─  102.2 ms - types.h
  │ │ │ │ │     │ ├─  102.2 ms - types.h
  │ │ │ │ │     │ │ ├─  102.2 ms - types.h
  │ │ │ │ │     │ │ ├─   17.9 ms - select.h
  │ │ │ │ │     │ │ ├─   16.1 ms - pthreadtypes.h
  │ │ │ │ │     │ │ └─   13.2 ms - endian.h
  │ │ │ │ │     │ ├─   17.9 ms - select.h
  │ │ │ │ │     │ ├─   16.1 ms - pthreadtypes.h
  │ │ │ │ │     │ │ └─   13.6 ms - thread-shared-types.h
  │ │ │ │ │     │ └─   13.2 ms - endian.h
  │ │ │ │ │     │   └─    0.6 ms - byteswap.h
  │ │ │ │ │     ├─   11.4 ms - locale_t.h
  │ │ │ │ │     └─    6.1 ms - floatn.h
  │ │ │ │ ├─   19.4 ms - fl/stl/allocator.h
  │ │ │ │ │ └─   13.3 ms - fl/stl/bitset.h
  │ │ │ │ │   └─    8.6 ms - fl/stl/bitset_dynamic.h
  │ │ │ │ │     └─    2.3 ms - fl/stl/unique_ptr.h
  │ │ │ │ ├─    5.2 ms - fl/stl/initializer_list.h
  │ │ │ │ ├─    2.9 ms - fl/stl/basic_vector.h
  │ │ │ │ └─    0.8 ms - fl/stl/functional.h
  │ │ │ ├─  139.5 ms - fl/stl/shared_ptr.h
  │ │ │ │ ├─   74.8 ms - fl/stl/atomic.h
  │ │ │ │ │ └─   73.5 ms - platforms/atomic.h
  │ │ │ │ │   └─   73.5 ms - platforms/shared/atomic.h
  │ │ │ │ ├─   59.5 ms - fl/stl/type_traits.h
  │ │ │ │ │ └─   52.9 ms - fl/stl/move.h
  │ │ │ │ └─    0.7 ms - fl/stl/bit_cast.h
  │ │ │ ├─   88.9 ms - fl/stl/variant.h
  │ │ │ │ └─   86.9 ms - fl/stl/new.h
  │ │ │ │   └─   86.9 ms - platforms/new.h
  │ │ │ │     └─   86.8 ms - platforms/shared/new.h
  │ │ │ │       └─   81.7 ms - new
  │ │ │ │         ├─   63.4 ms - c++config.h
  │ │ │ │         │ └─   56.4 ms - os_defines.h
  │ │ │ │         └─    0.6 ms - version.h
  │ │ │ ├─   22.6 ms - fl/stl/compiler_control.h
  │ │ │ └─    4.9 ms - fl/stl/algorithm.h
  │ │ │   └─    2.1 ms - fl/math/random.h
  │ │ │     └─    1.0 ms - fl/math/random8.h
  │ │ └─   45.1 ms - fl/stl/string.h
  │ │   ├─   13.2 ms - fl/stl/basic_string.h
  │ │   │ ├─    1.1 ms - fl/stl/not_null.h
  │ │   │ ├─    1.0 ms - fl/stl/iterator.h
  │ │   │ └─    0.5 ms - fl/stl/charconv.h
  │ │   ├─    8.9 ms - fl/stl/span.h
  │ │   │ └─    3.5 ms - fl/math/geometry.h
  │ │   ├─    5.7 ms - fl/stl/string_view.h
  │ │   └─    1.5 ms - fl/stl/optional.h
  │ ├─  432.4 ms - fl/task/scheduler.h
  │ │ ├─  422.4 ms - fl/stl/singleton.h
  │ │ │ └─  421.5 ms - fl/stl/thread_local.h
  │ │ │   └─  419.8 ms - fl/stl/thread.h
  │ │ │     └─  419.7 ms - platforms/thread.h
  │ │ │       └─  419.7 ms - platforms/stub/thread_stub.h
  │ │ │         └─  419.6 ms - platforms/stub/thread_stub_stl.h
  │ │ │           └─  413.6 ms - thread
  │ │ │             ├─  233.4 ms - std_thread.h
  │ │ │             └─  157.9 ms - this_thread_sleep.h
  │ │ └─    9.2 ms - fl/task/task.h
  │ │   └─    3.7 ms - fl/trace.h
  │ │     ├─    2.3 ms - fl/stl/chrono.h
  │ │     └─    1.1 ms - fl/stl/tuple.h
  │ ├─   11.9 ms - platforms/await.h
  │ │ └─   11.4 ms - platforms/coroutine_runtime.h
  │ │   └─    9.8 ms - fl/system/engine_events.h
  │ │     ├─    5.1 ms - fl/math/screenmap.h
  │ │     │ └─    3.7 ms - fl/stl/flat_map.h
  │ │     └─    3.1 ms - fl/math/xymap.h
  │ │       └─    0.8 ms - fl/math/lut.h
  │ └─    0.8 ms - fl/task/promise_result.h
  ├─  517.6 ms - fl/fastled.h
  │ ├─  313.5 ms - crgb.h
  │ │ ├─  312.1 ms - fl/gfx/crgb.h
  │ │ │ └─  307.0 ms - fl/math/ease.h
  │ │ │   └─  304.5 ms - fl/math/fixed_point.h
  │ │ │     ├─  154.1 ms - fl/math/fixed_point/s4x12.h
  │ │ │     │ ├─  133.1 ms - fl/math/sin32.h
  │ │ │     │ │ └─  129.8 ms - fl/math/simd.h
  │ │ │     │ │   └─  129.2 ms - fl/math/simd/types.h
  │ │ │     │ │     └─  128.9 ms - platforms/simd.h
  │ │ │     │ ├─    1.1 ms - fl/math/fixed_point/traits.h
  │ │ │     │ └─    0.8 ms - fl/math/fixed_point/isqrt.h
  │ │ │     ├─   19.0 ms - fl/math/fixed_point/s16x16.h
  │ │ │     ├─   18.8 ms - fl/math/fixed_point/s8x8.h
  │ │ │     ├─   18.8 ms - fl/math/fixed_point/s8x24.h
  │ │ │     └─   18.5 ms - fl/math/fixed_point/s24x8.h
  │ │ └─    0.9 ms - chsv.h
  │ │   └─    0.8 ms - fl/gfx/hsv.h
  │ ├─   91.9 ms - platforms.h
  │ │ └─   91.9 ms - platforms/stub/fastled_stub.h
  │ │   ├─   53.7 ms - platforms/stub/fastspi_stub.h
  │ │   │ └─   53.7 ms - platforms/stub/fastspi_stub_generic.h
  │ │   │   ├─   47.0 ms - platforms/shared/active_strip_data/active_strip_data.h
  │ │   │   │ └─   44.8 ms - fl/id_tracker.h
  │ │   │   │   └─   43.8 ms - fl/stl/mutex.h
  │ │   │   │     └─   43.7 ms - platforms/mutex.h
  │ │   │   │       └─   43.5 ms - platforms/stub/mutex_stub.h
  │ │   │   └─    6.2 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │ │   └─   38.1 ms - platforms/stub/clockless_stub.h
  │ │     └─   38.0 ms - platforms/stub/clockless_channel_stub.h
  │ │       ├─   13.5 ms - fl/channels/data.h
  │ │       │ └─   10.0 ms - fl/channels/config.h
  │ │       │   ├─    2.2 ms - fl/chipsets/chipset_timing_config.h
  │ │       │   │ └─    1.4 ms - fl/chipsets/led_timing.h
  │ │       │   └─    1.7 ms - fl/chipsets/spi.h
  │ │       ├─   13.5 ms - fl/system/log.h
  │ │       │ └─   13.0 ms - fl/stl/strstream.h
  │ │       ├─    2.5 ms - fl/channels/manager.h
  │ │       ├─    1.6 ms - fl/stl/weak_ptr.h
  │ │       └─    1.1 ms - fl/channels/driver.h
  │ ├─   42.6 ms - colorutils.h
  │ │ └─   41.7 ms - fl/gfx/colorutils.h
  │ │   ├─    9.0 ms - fl/gfx/blur.h
  │ │   │ └─    4.8 ms - fl/gfx/canvas.h
  │ │   │   └─    2.9 ms - fl/math/alpha.h
  │ │   └─    3.2 ms - fl/gfx/fill.h
  │ ├─   24.1 ms - pixel_controller.h
  │ │ ├─   17.3 ms - pixel_iterator.h
  │ │ │ └─   17.2 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │ │   ├─    5.1 ms - fl/chipsets/encoders/apa102.h
  │ │ │   │ └─    4.0 ms - fl/chipsets/encoders/encoder_utils.h
  │ │ │   │   └─    3.3 ms - fl/gfx/gamma_lut.h
  │ │ │   ├─    4.6 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │ │   ├─    1.0 ms - fl/chipsets/encoders/sk9822.h
  │ │ │   └─    0.9 ms - fl/chipsets/encoders/hd108.h
  │ │ └─    2.6 ms - rgbw.h
  │ │   └─    2.4 ms - fl/gfx/rgbw.h
  │ └─   23.0 ms - pixeltypes.h
  │   ├─   19.3 ms - lib8tion.h
  │   │ ├─   10.0 ms - fl/math/math8.h
  │   │ │ ├─    5.3 ms - fl/math/intmap.h
  │   │ │ │ └─    4.2 ms - platforms/intmap.h
  │   │ │ ├─    2.5 ms - fl/math/scale8.h
  │   │ │ │ └─    2.5 ms - platforms/scale8.h
  │   │ │ │   └─    1.0 ms - platforms/shared/scale8.h
  │   │ │ └─    2.0 ms - platforms/math8.h
  │   │ │   └─    1.6 ms - platforms/shared/math8.h
  │   │ ├─    2.0 ms - fl/math/beat.h
  │   │ │ └─    1.0 ms - fl/math/trig8.h
  │   │ │   └─    1.0 ms - platforms/trig8.h
  │   │ │     └─    0.9 ms - platforms/shared/trig8.h
  │   │ └─    0.6 ms - fl/math/qfx.h
  │   └─    3.3 ms - crgb.hpp
  ├─  123.3 ms - fl/ui.h
  │ ├─   79.8 ms - fl/stl/json.h
  │ │ └─   62.1 ms - fl/stl/json/types.h
  │ │   └─    7.6 ms - fl/stl/limits.h
  │ ├─   10.5 ms - fl/ui_impl.h
  │ │ └─    9.9 ms - platforms/ui_defs.h
  │ │   ├─    2.2 ms - platforms/shared/ui/json/audio.h
  │ │   │ └─    1.0 ms - platforms/shared/ui/json/audio_internal.h
  │ │   ├─    1.6 ms - platforms/shared/ui/json/button.h
  │ │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │ │   ├─    0.9 ms - platforms/shared/ui/json/checkbox.h
  │ │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │ │   └─    0.9 ms - platforms/shared/ui/json/number_field.h
  │ └─    6.1 ms - fl/stl/url.h
  ├─   28.9 ms - chipsets.h
  │ ├─   11.7 ms - fl/chipsets/ucs7604.h
  │ │ └─    8.9 ms - fl/chipsets/encoders/ucs7604.h
  │ ├─    6.8 ms - fl/chipsets/apa102.h
  │ ├─    1.8 ms - fl/chipsets/lpd880x.h
  │ ├─    0.9 ms - fl/chipsets/encoders/ws2816.h
  │ └─    0.8 ms - fl/chipsets/p9813.h
  └─   26.7 ms - fl/stl/stdint.h
    └─   26.4 ms - platforms/int.h
      └─   25.9 ms - platforms/shared/int.h
        └─   25.8 ms - platforms/shared/int_linux.h
fl/task/executor.h (1012.0ms)
  ├─  565.3 ms - fl/task/promise.h
  │ ├─  514.7 ms - fl/stl/function.h
  │ │ ├─  252.8 ms - fl/stl/vector.h
  │ │ │ ├─  216.8 ms - fl/math/math.h
  │ │ │ │ └─  210.6 ms - fl/stl/undef.h
  │ │ │ │   └─  393.6 ms - stdlib.h
  │ │ │ │     ├─  198.7 ms - cstdlib
  │ │ │ │     │ ├─  393.6 ms - stdlib.h
  │ │ │ │     │ │ ├─  198.7 ms - cstdlib
  │ │ │ │     │ │ │ ├─  393.6 ms - stdlib.h
  │ │ │ │     │ │ │ └─    0.5 ms - std_abs.h
  │ │ │ │     │ │ ├─  102.2 ms - types.h
  │ │ │ │     │ │ │ ├─  102.2 ms - types.h
  │ │ │ │     │ │ │ ├─   17.9 ms - select.h
  │ │ │ │     │ │ │ ├─   16.1 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─   13.2 ms - endian.h
  │ │ │ │     │ │ ├─   11.4 ms - locale_t.h
  │ │ │ │     │ │ └─    6.1 ms - floatn.h
  │ │ │ │     │ └─    0.5 ms - std_abs.h
  │ │ │ │     ├─  102.2 ms - types.h
  │ │ │ │     │ ├─  102.2 ms - types.h
  │ │ │ │     │ │ ├─  102.2 ms - types.h
  │ │ │ │     │ │ │ ├─  102.2 ms - types.h
  │ │ │ │     │ │ │ ├─   17.9 ms - select.h
  │ │ │ │     │ │ │ ├─   16.1 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─   13.2 ms - endian.h
  │ │ │ │     │ │ ├─   17.9 ms - select.h
  │ │ │ │     │ │ ├─   16.1 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─   13.6 ms - thread-shared-types.h
  │ │ │ │     │ │ └─   13.2 ms - endian.h
  │ │ │ │     │ │   └─    0.6 ms - byteswap.h
  │ │ │ │     │ ├─   17.9 ms - select.h
  │ │ │ │     │ ├─   16.1 ms - pthreadtypes.h
  │ │ │ │     │ │ └─   13.6 ms - thread-shared-types.h
  │ │ │ │     │ └─   13.2 ms - endian.h
  │ │ │ │     │   └─    0.6 ms - byteswap.h
  │ │ │ │     ├─   11.4 ms - locale_t.h
  │ │ │ │     └─    6.1 ms - floatn.h
  │ │ │ ├─   19.4 ms - fl/stl/allocator.h
  │ │ │ │ └─   13.3 ms - fl/stl/bitset.h
  │ │ │ │   └─    8.6 ms - fl/stl/bitset_dynamic.h
  │ │ │ │     └─    2.3 ms - fl/stl/unique_ptr.h
  │ │ │ ├─    5.2 ms - fl/stl/initializer_list.h
  │ │ │ ├─    2.9 ms - fl/stl/basic_vector.h
  │ │ │ └─    0.8 ms - fl/stl/functional.h
  │ │ ├─  139.5 ms - fl/stl/shared_ptr.h
  │ │ │ ├─   74.8 ms - fl/stl/atomic.h
  │ │ │ │ └─   73.5 ms - platforms/atomic.h
  │ │ │ │   └─   73.5 ms - platforms/shared/atomic.h
  │ │ │ ├─   59.5 ms - fl/stl/type_traits.h
  │ │ │ │ └─   52.9 ms - fl/stl/move.h
  │ │ │ └─    0.7 ms - fl/stl/bit_cast.h
  │ │ ├─   88.9 ms - fl/stl/variant.h
  │ │ │ └─   86.9 ms - fl/stl/new.h
  │ │ │   └─   86.9 ms - platforms/new.h
  │ │ │     └─   86.8 ms - platforms/shared/new.h
  │ │ │       └─   81.7 ms - new
  │ │ │         ├─   63.4 ms - c++config.h
  │ │ │         │ └─   56.4 ms - os_defines.h
  │ │ │         │   └─   50.9 ms - features.h
  │ │ │         └─    0.6 ms - version.h
  │ │ ├─   22.6 ms - fl/stl/compiler_control.h
  │ │ └─    4.9 ms - fl/stl/algorithm.h
  │ │   └─    2.1 ms - fl/math/random.h
  │ │     └─    1.0 ms - fl/math/random8.h
  │ └─   45.1 ms - fl/stl/string.h
  │   ├─   13.2 ms - fl/stl/basic_string.h
  │   │ ├─    1.1 ms - fl/stl/not_null.h
  │   │ ├─    1.0 ms - fl/stl/iterator.h
  │   │ └─    0.5 ms - fl/stl/charconv.h
  │   ├─    8.9 ms - fl/stl/span.h
  │   │ └─    3.5 ms - fl/math/geometry.h
  │   ├─    5.7 ms - fl/stl/string_view.h
  │   └─    1.5 ms - fl/stl/optional.h
  ├─  432.4 ms - fl/task/scheduler.h
  │ ├─  422.4 ms - fl/stl/singleton.h
  │ │ └─  421.5 ms - fl/stl/thread_local.h
  │ │   └─  419.8 ms - fl/stl/thread.h
  │ │     └─  419.7 ms - platforms/thread.h
  │ │       └─  419.7 ms - platforms/stub/thread_stub.h
  │ │         └─  419.6 ms - platforms/stub/thread_stub_stl.h
  │ │           └─  413.6 ms - thread
  │ │             ├─  233.4 ms - std_thread.h
  │ │             │ ├─   68.1 ms - tuple
  │ │             │ ├─   49.7 ms - iosfwd
  │ │             │ ├─   34.7 ms - gthr.h
  │ │             │ ├─   23.4 ms - refwrap.h
  │ │             │ └─   11.8 ms - unique_ptr.h
  │ │             └─  157.9 ms - this_thread_sleep.h
  │ │               ├─  111.3 ms - chrono.h
  │ │               └─   35.1 ms - cerrno
  │ └─    9.2 ms - fl/task/task.h
  │   └─    3.7 ms - fl/trace.h
  │     ├─    2.3 ms - fl/stl/chrono.h
  │     └─    1.1 ms - fl/stl/tuple.h
  ├─   11.9 ms - platforms/await.h
  │ └─   11.4 ms - platforms/coroutine_runtime.h
  │   └─    9.8 ms - fl/system/engine_events.h
  │     ├─    5.1 ms - fl/math/screenmap.h
  │     │ └─    3.7 ms - fl/stl/flat_map.h
  │     └─    3.1 ms - fl/math/xymap.h
  │       └─    0.8 ms - fl/math/lut.h
  └─    0.8 ms - fl/task/promise_result.h
fl/fastled.h (517.6ms)
  ├─  313.5 ms - crgb.h
  │ ├─  312.1 ms - fl/gfx/crgb.h
  │ │ └─  307.0 ms - fl/math/ease.h
  │ │   └─  304.5 ms - fl/math/fixed_point.h
  │ │     ├─  154.1 ms - fl/math/fixed_point/s4x12.h
  │ │     │ ├─  133.1 ms - fl/math/sin32.h
  │ │     │ │ └─  129.8 ms - fl/math/simd.h
  │ │     │ │   └─  129.2 ms - fl/math/simd/types.h
  │ │     │ │     └─  128.9 ms - platforms/simd.h
  │ │     │ │       └─  128.9 ms - platforms/shared/simd_x86.hpp
  │ │     │ ├─    1.1 ms - fl/math/fixed_point/traits.h
  │ │     │ └─    0.8 ms - fl/math/fixed_point/isqrt.h
  │ │     ├─   19.0 ms - fl/math/fixed_point/s16x16.h
  │ │     ├─   18.8 ms - fl/math/fixed_point/s8x8.h
  │ │     ├─   18.8 ms - fl/math/fixed_point/s8x24.h
  │ │     └─   18.5 ms - fl/math/fixed_point/s24x8.h
  │ └─    0.9 ms - chsv.h
  │   └─    0.8 ms - fl/gfx/hsv.h
  ├─   91.9 ms - platforms.h
  │ └─   91.9 ms - platforms/stub/fastled_stub.h
  │   ├─   53.7 ms - platforms/stub/fastspi_stub.h
  │   │ └─   53.7 ms - platforms/stub/fastspi_stub_generic.h
  │   │   ├─   47.0 ms - platforms/shared/active_strip_data/active_strip_data.h
  │   │   │ └─   44.8 ms - fl/id_tracker.h
  │   │   │   └─   43.8 ms - fl/stl/mutex.h
  │   │   │     └─   43.7 ms - platforms/mutex.h
  │   │   │       └─   43.5 ms - platforms/stub/mutex_stub.h
  │   │   │         └─   43.5 ms - platforms/stub/mutex_stub_stl.h
  │   │   └─    6.2 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │   └─   38.1 ms - platforms/stub/clockless_stub.h
  │     └─   38.0 ms - platforms/stub/clockless_channel_stub.h
  │       ├─   13.5 ms - fl/channels/data.h
  │       │ └─   10.0 ms - fl/channels/config.h
  │       │   ├─    2.2 ms - fl/chipsets/chipset_timing_config.h
  │       │   │ └─    1.4 ms - fl/chipsets/led_timing.h
  │       │   └─    1.7 ms - fl/chipsets/spi.h
  │       ├─   13.5 ms - fl/system/log.h
  │       │ └─   13.0 ms - fl/stl/strstream.h
  │       ├─    2.5 ms - fl/channels/manager.h
  │       ├─    1.6 ms - fl/stl/weak_ptr.h
  │       └─    1.1 ms - fl/channels/driver.h
  ├─   42.6 ms - colorutils.h
  │ └─   41.7 ms - fl/gfx/colorutils.h
  │   ├─    9.0 ms - fl/gfx/blur.h
  │   │ └─    4.8 ms - fl/gfx/canvas.h
  │   │   └─    2.9 ms - fl/math/alpha.h
  │   └─    3.2 ms - fl/gfx/fill.h
  ├─   24.1 ms - pixel_controller.h
  │ ├─   17.3 ms - pixel_iterator.h
  │ │ └─   17.2 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │   ├─    5.1 ms - fl/chipsets/encoders/apa102.h
  │ │   │ └─    4.0 ms - fl/chipsets/encoders/encoder_utils.h
  │ │   │   └─    3.3 ms - fl/gfx/gamma_lut.h
  │ │   ├─    4.6 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │   ├─    1.0 ms - fl/chipsets/encoders/sk9822.h
  │ │   └─    0.9 ms - fl/chipsets/encoders/hd108.h
  │ └─    2.6 ms - rgbw.h
  │   └─    2.4 ms - fl/gfx/rgbw.h
  └─   23.0 ms - pixeltypes.h
    ├─   19.3 ms - lib8tion.h
    │ ├─   10.0 ms - fl/math/math8.h
    │ │ ├─    5.3 ms - fl/math/intmap.h
    │ │ │ └─    4.2 ms - platforms/intmap.h
    │ │ ├─    2.5 ms - fl/math/scale8.h
    │ │ │ └─    2.5 ms - platforms/scale8.h
    │ │ │   └─    1.0 ms - platforms/shared/scale8.h
    │ │ └─    2.0 ms - platforms/math8.h
    │ │   └─    1.6 ms - platforms/shared/math8.h
    │ ├─    2.0 ms - fl/math/beat.h
    │ │ └─    1.0 ms - fl/math/trig8.h
    │ │   └─    1.0 ms - platforms/trig8.h
    │ │     └─    0.9 ms - platforms/shared/trig8.h
    │ └─    0.6 ms - fl/math/qfx.h
    └─    3.3 ms - crgb.hpp
fl/ui.h (123.3ms)
  ├─   79.8 ms - fl/stl/json.h
  │ └─   62.1 ms - fl/stl/json/types.h
  │   └─    7.6 ms - fl/stl/limits.h
  ├─   10.5 ms - fl/ui_impl.h
  │ └─    9.9 ms - platforms/ui_defs.h
  │   ├─    2.2 ms - platforms/shared/ui/json/audio.h
  │   │ └─    1.0 ms - platforms/shared/ui/json/audio_internal.h
  │   ├─    1.6 ms - platforms/shared/ui/json/button.h
  │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │   ├─    0.9 ms - platforms/shared/ui/json/checkbox.h
  │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │   └─    0.9 ms - platforms/shared/ui/json/number_field.h
  └─    6.1 ms - fl/stl/url.h
chipsets.h (28.9ms)
  ├─   11.7 ms - fl/chipsets/ucs7604.h
  │ └─    8.9 ms - fl/chipsets/encoders/ucs7604.h
  ├─    6.8 ms - fl/chipsets/apa102.h
  ├─    1.8 ms - fl/chipsets/lpd880x.h
  ├─    0.9 ms - fl/chipsets/encoders/ws2816.h
  └─    0.8 ms - fl/chipsets/p9813.h

TOP 20 SLOWEST OPERATIONS
--------------------------------------------------------------------------------
  1.  1782.6 ms - Source: FastLED.h
  2.  1782.6 ms - Total Source: 
  3.  1012.0 ms - Source: fl/task/executor.h
  4.   734.8 ms - Total ParseClass: 
  5.   565.3 ms - Source: fl/task/promise.h
  6.   517.6 ms - Source: fl/fastled.h
  7.   514.7 ms - Source: fl/stl/function.h
  8.   432.4 ms - Source: fl/task/scheduler.h
  9.   422.4 ms - Source: fl/stl/singleton.h
 10.   421.5 ms - Source: fl/stl/thread_local.h
 11.   419.8 ms - Source: fl/stl/thread.h
 12.   419.7 ms - Source: platforms/thread.h
 13.   419.7 ms - Source: platforms/stub/thread_stub.h
 14.   419.6 ms - Source: platforms/stub/thread_stub_stl.h
 15.   413.6 ms - Source: thread
 16.   313.5 ms - Source: crgb.h
 17.   312.1 ms - Source: fl/gfx/crgb.h
 18.   307.0 ms - Source: fl/math/ease.h
 19.   304.5 ms - Source: fl/math/fixed_point.h
 20.   252.8 ms - Source: fl/stl/vector.h

PERFORMANCE FLAGS
--------------------------------------------------------------------------------
⚠️  SLOW HEADERS (>50.0ms):
    - FastLED.h (1782.6ms)
    - fl/task/executor.h (1012.0ms)
    - fl/task/promise.h (565.3ms)
    - fl/fastled.h (517.6ms)
    - fl/stl/function.h (514.7ms)
    - fl/task/scheduler.h (432.4ms)
    - fl/stl/singleton.h (422.4ms)
    - fl/stl/thread_local.h (421.5ms)
    - fl/stl/thread.h (419.8ms)
    - platforms/thread.h (419.7ms)

⚠️  Template instantiation time is high (25.4% of total)
✓  Lexing time is acceptable (<10% of total)

RECOMMENDATIONS
--------------------------------------------------------------------------------
1. Consider optimizing FastLED.h (1782.6ms)
2. Consider optimizing fl/task/executor.h (1012.0ms)
3. Consider optimizing fl/task/promise.h (565.3ms)

================================================================================

The memory-tier filter '(memory is low)' only takes effect with the new
tiny-tier ci/boards.py from this PR, but CI runs with the trusted
master branch's ci/ code + this PR's src/examples. Switching to an
explicit board exclusion so the filter works on master's unchanged
memory_class logic (which classifies ATtiny1604 as 'low' and thus
matches 'memory is low'). The tiny-tier infrastructure in this PR is
still useful for future PRs once merged to master.
@github-actions

Copy link
Copy Markdown
Contributor

📊 Header Compilation Performance

Total Time: 1222.48ms

Top 5 Slowest Headers

  1. FastLED.h - 921.77ms
  2. fl/fastled.h - 398.12ms
  3. fl/task/executor.h - 302.72ms
  4. crgb.h - 226.16ms
  5. fl/gfx/crgb.h - 224.71ms

Warnings

⚠️ Header FastLED.h exceeds 150ms (921.8ms)
⚠️ Header fl/fastled.h exceeds 150ms (398.1ms)
⚠️ Header fl/task/executor.h exceeds 150ms (302.7ms)
⚠️ Header crgb.h exceeds 150ms (226.2ms)
⚠️ Header fl/gfx/crgb.h exceeds 150ms (224.7ms)
⚠️ Header fl/math/ease.h exceeds 150ms (219.1ms)
⚠️ Header fl/math/fixed_point.h exceeds 150ms (216.6ms)
⚠️ Header fl/task/scheduler.h exceeds 150ms (158.6ms)
⚠️ Header fl/stl/singleton.h exceeds 50ms (148.5ms)
⚠️ Header fl/stl/thread_local.h exceeds 50ms (147.7ms)
⚠️ Header fl/stl/thread.h exceeds 50ms (146.4ms)
⚠️ Header platforms/thread.h exceeds 50ms (146.3ms)
⚠️ Header platforms/stub/thread_stub.h exceeds 50ms (146.3ms)
⚠️ Header platforms/stub/thread_stub_stl.h exceeds 50ms (146.2ms)
⚠️ Header fl/task/promise.h exceeds 50ms (129.8ms)
⚠️ Header fl/ui.h exceeds 50ms (122.8ms)
⚠️ Header fl/stl/json.h exceeds 50ms (79.3ms)
⚠️ Header fl/stl/function.h exceeds 50ms (76.5ms)
⚠️ Header fl/math/fixed_point/s4x12.h exceeds 50ms (65.5ms)
⚠️ Header fl/stl/json/types.h exceeds 50ms (61.7ms)
⚠️ Header platforms.h exceeds 50ms (58.4ms)
⚠️ Header platforms/stub/fastled_stub.h exceeds 50ms (58.3ms)
⚠️ Template instantiation time is high (55.6%)

Full Report
================================================================================
FASTLED COMPILATION PERFORMANCE REPORT
================================================================================
Generated: 2026-04-17 04:26:40
Compiler: clang++-17
File: ci/perf/test_compile.cpp

SUMMARY
--------------------------------------------------------------------------------
Total Compilation Time:    2,517.53 ms
Frontend Time:             19.29 ms (0.8%)
Backend Time:              231.30 ms (9.2%)

COMPILATION PHASES
--------------------------------------------------------------------------------
Source                    15463.30 ms (614.2%)
Templates                   661.14 ms ( 26.3%)

FASTLED HEADERS (Level 1 - Direct Includes)
--------------------------------------------------------------------------------
  1920.8 ms - FastLED.h (SLOW)
  1167.8 ms - fl/task/executor.h (SLOW)
   718.5 ms - fl/task/promise.h (SLOW)
   665.3 ms - fl/stl/function.h (SLOW)
   491.5 ms - fl/fastled.h (SLOW)
   434.8 ms - fl/task/scheduler.h (SLOW)
   424.5 ms - fl/stl/singleton.h (SLOW)
   423.8 ms - fl/stl/thread_local.h (SLOW)
   422.6 ms - fl/stl/thread.h (SLOW)
   422.5 ms - platforms/thread.h (SLOW)
   422.4 ms - platforms/stub/thread_stub.h (SLOW)
   422.3 ms - platforms/stub/thread_stub_stl.h (SLOW)
   286.9 ms - crgb.h (SLOW)
   285.7 ms - fl/stl/shared_ptr.h (SLOW)
   285.4 ms - fl/gfx/crgb.h (SLOW)
   280.3 ms - fl/math/ease.h (SLOW)
   277.8 ms - fl/math/fixed_point.h (SLOW)
   270.8 ms - fl/stl/type_traits.h (SLOW)
   193.5 ms - fl/stl/variant.h (SLOW)
   191.5 ms - fl/stl/new.h (SLOW)

FASTLED HEADERS (Nested Includes - Up to 10 Levels)
--------------------------------------------------------------------------------
FastLED.h (1920.8ms)
  ├─ 1167.8 ms - fl/task/executor.h
  │ ├─  718.5 ms - fl/task/promise.h
  │ │ ├─  665.3 ms - fl/stl/function.h
  │ │ │ ├─  285.7 ms - fl/stl/shared_ptr.h
  │ │ │ │ ├─  270.8 ms - fl/stl/type_traits.h
  │ │ │ │ │ └─  119.7 ms - fl/stl/move.h
  │ │ │ │ ├─    9.3 ms - fl/stl/atomic.h
  │ │ │ │ │ └─    8.4 ms - platforms/atomic.h
  │ │ │ │ │   └─    8.3 ms - platforms/shared/atomic.h
  │ │ │ │ └─    1.0 ms - fl/stl/bit_cast.h
  │ │ │ ├─  193.5 ms - fl/stl/variant.h
  │ │ │ │ └─  191.5 ms - fl/stl/new.h
  │ │ │ │   └─  191.5 ms - platforms/new.h
  │ │ │ │     └─  191.4 ms - platforms/shared/new.h
  │ │ │ │       └─   95.8 ms - new
  │ │ │ │         ├─   40.9 ms - c++config.h
  │ │ │ │         │ └─   11.7 ms - os_defines.h
  │ │ │ │         └─    1.2 ms - version.h
  │ │ │ ├─  142.3 ms - fl/stl/vector.h
  │ │ │ │ ├─  104.7 ms - fl/math/math.h
  │ │ │ │ │ └─   98.7 ms - fl/stl/undef.h
  │ │ │ │ │   └─  122.6 ms - stdlib.h
  │ │ │ │ │     ├─   68.8 ms - cstdlib
  │ │ │ │ │     │ ├─  122.6 ms - stdlib.h
  │ │ │ │ │     │ │ ├─   68.8 ms - cstdlib
  │ │ │ │ │     │ │ ├─   12.2 ms - types.h
  │ │ │ │ │     │ │ └─    0.5 ms - floatn.h
  │ │ │ │ │     │ └─    0.7 ms - std_abs.h
  │ │ │ │ │     ├─   12.2 ms - types.h
  │ │ │ │ │     │ ├─   12.2 ms - types.h
  │ │ │ │ │     │ │ ├─   12.2 ms - types.h
  │ │ │ │ │     │ │ ├─    2.3 ms - pthreadtypes.h
  │ │ │ │ │     │ │ ├─    2.1 ms - endian.h
  │ │ │ │ │     │ │ └─    2.1 ms - select.h
  │ │ │ │ │     │ ├─    2.3 ms - pthreadtypes.h
  │ │ │ │ │     │ │ └─    1.7 ms - thread-shared-types.h
  │ │ │ │ │     │ ├─    2.1 ms - endian.h
  │ │ │ │ │     │ └─    2.1 ms - select.h
  │ │ │ │ │     └─    0.5 ms - floatn.h
  │ │ │ │ ├─   19.3 ms - fl/stl/allocator.h
  │ │ │ │ │ └─   13.2 ms - fl/stl/bitset.h
  │ │ │ │ │   └─    8.5 ms - fl/stl/bitset_dynamic.h
  │ │ │ │ │     └─    2.3 ms - fl/stl/unique_ptr.h
  │ │ │ │ ├─    6.6 ms - fl/stl/initializer_list.h
  │ │ │ │ ├─    2.9 ms - fl/stl/basic_vector.h
  │ │ │ │ └─    0.8 ms - fl/stl/functional.h
  │ │ │ ├─   32.8 ms - fl/stl/compiler_control.h
  │ │ │ └─    5.1 ms - fl/stl/algorithm.h
  │ │ │   └─    2.2 ms - fl/math/random.h
  │ │ │     └─    1.1 ms - fl/math/random8.h
  │ │ └─   47.3 ms - fl/stl/string.h
  │ │   ├─   14.1 ms - fl/stl/basic_string.h
  │ │   │ ├─    1.1 ms - fl/stl/not_null.h
  │ │   │ ├─    1.0 ms - fl/stl/iterator.h
  │ │   │ └─    0.7 ms - fl/stl/charconv.h
  │ │   ├─    9.5 ms - fl/stl/span.h
  │ │   │ └─    3.7 ms - fl/math/geometry.h
  │ │   ├─    5.9 ms - fl/stl/string_view.h
  │ │   └─    1.6 ms - fl/stl/optional.h
  │ ├─  434.8 ms - fl/task/scheduler.h
  │ │ ├─  424.5 ms - fl/stl/singleton.h
  │ │ │ └─  423.8 ms - fl/stl/thread_local.h
  │ │ │   └─  422.6 ms - fl/stl/thread.h
  │ │ │     └─  422.5 ms - platforms/thread.h
  │ │ │       └─  422.4 ms - platforms/stub/thread_stub.h
  │ │ │         └─  422.3 ms - platforms/stub/thread_stub_stl.h
  │ │ │           └─  416.4 ms - thread
  │ │ │             ├─  239.9 ms - std_thread.h
  │ │ │             └─  147.0 ms - this_thread_sleep.h
  │ │ └─    9.4 ms - fl/task/task.h
  │ │   └─    3.9 ms - fl/trace.h
  │ │     ├─    2.4 ms - fl/stl/chrono.h
  │ │     └─    1.1 ms - fl/stl/tuple.h
  │ ├─   12.0 ms - platforms/await.h
  │ │ └─   11.5 ms - platforms/coroutine_runtime.h
  │ │   └─    9.8 ms - fl/system/engine_events.h
  │ │     ├─    5.1 ms - fl/math/screenmap.h
  │ │     │ └─    3.8 ms - fl/stl/flat_map.h
  │ │     └─    3.1 ms - fl/math/xymap.h
  │ │       └─    0.8 ms - fl/math/lut.h
  │ └─    0.9 ms - fl/task/promise_result.h
  ├─  491.5 ms - fl/fastled.h
  │ ├─  286.9 ms - crgb.h
  │ │ ├─  285.4 ms - fl/gfx/crgb.h
  │ │ │ └─  280.3 ms - fl/math/ease.h
  │ │ │   └─  277.8 ms - fl/math/fixed_point.h
  │ │ │     ├─  127.4 ms - fl/math/fixed_point/s4x12.h
  │ │ │     │ ├─  106.3 ms - fl/math/sin32.h
  │ │ │     │ │ └─  103.0 ms - fl/math/simd.h
  │ │ │     │ │   └─  102.4 ms - fl/math/simd/types.h
  │ │ │     │ │     └─  102.1 ms - platforms/simd.h
  │ │ │     │ ├─    1.1 ms - fl/math/fixed_point/traits.h
  │ │ │     │ └─    0.8 ms - fl/math/fixed_point/isqrt.h
  │ │ │     ├─   19.4 ms - fl/math/fixed_point/s8x24.h
  │ │ │     ├─   18.8 ms - fl/math/fixed_point/s8x8.h
  │ │ │     ├─   18.7 ms - fl/math/fixed_point/s16x16.h
  │ │ │     └─   18.5 ms - fl/math/fixed_point/s24x8.h
  │ │ └─    0.9 ms - chsv.h
  │ │   └─    0.8 ms - fl/gfx/hsv.h
  │ ├─   89.8 ms - platforms.h
  │ │ └─   89.8 ms - platforms/stub/fastled_stub.h
  │ │   ├─   49.7 ms - platforms/stub/fastspi_stub.h
  │ │   │ └─   49.6 ms - platforms/stub/fastspi_stub_generic.h
  │ │   │   ├─   43.0 ms - platforms/shared/active_strip_data/active_strip_data.h
  │ │   │   │ └─   40.8 ms - fl/id_tracker.h
  │ │   │   │   └─   39.8 ms - fl/stl/mutex.h
  │ │   │   │     └─   39.7 ms - platforms/mutex.h
  │ │   │   │       └─   39.5 ms - platforms/stub/mutex_stub.h
  │ │   │   └─    6.2 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │ │   └─   40.0 ms - platforms/stub/clockless_stub.h
  │ │     └─   40.0 ms - platforms/stub/clockless_channel_stub.h
  │ │       ├─   14.7 ms - fl/system/log.h
  │ │       │ └─   14.2 ms - fl/stl/strstream.h
  │ │       ├─   13.7 ms - fl/channels/data.h
  │ │       │ └─   10.3 ms - fl/channels/config.h
  │ │       │   ├─    2.2 ms - fl/chipsets/chipset_timing_config.h
  │ │       │   │ └─    1.5 ms - fl/chipsets/led_timing.h
  │ │       │   └─    1.8 ms - fl/chipsets/spi.h
  │ │       ├─    2.5 ms - fl/channels/manager.h
  │ │       ├─    1.6 ms - fl/stl/weak_ptr.h
  │ │       └─    1.1 ms - fl/channels/driver.h
  │ ├─   43.7 ms - colorutils.h
  │ │ └─   42.8 ms - fl/gfx/colorutils.h
  │ │   ├─    9.1 ms - fl/gfx/blur.h
  │ │   │ └─    4.9 ms - fl/gfx/canvas.h
  │ │   │   └─    3.0 ms - fl/math/alpha.h
  │ │   └─    3.2 ms - fl/gfx/fill.h
  │ ├─   24.4 ms - pixel_controller.h
  │ │ ├─   17.6 ms - pixel_iterator.h
  │ │ │ └─   17.4 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │ │   ├─    5.1 ms - fl/chipsets/encoders/apa102.h
  │ │ │   │ └─    3.9 ms - fl/chipsets/encoders/encoder_utils.h
  │ │ │   │   └─    3.2 ms - fl/gfx/gamma_lut.h
  │ │ │   ├─    4.6 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │ │   ├─    1.0 ms - fl/chipsets/encoders/sk9822.h
  │ │ │   └─    0.9 ms - fl/chipsets/encoders/hd108.h
  │ │ └─    2.7 ms - rgbw.h
  │ │   └─    2.5 ms - fl/gfx/rgbw.h
  │ └─   24.1 ms - pixeltypes.h
  │   ├─   20.4 ms - lib8tion.h
  │   │ ├─   10.9 ms - fl/math/math8.h
  │   │ │ ├─    5.9 ms - fl/math/intmap.h
  │   │ │ │ └─    4.5 ms - platforms/intmap.h
  │   │ │ ├─    2.7 ms - fl/math/scale8.h
  │   │ │ │ └─    2.6 ms - platforms/scale8.h
  │   │ │ │   └─    1.0 ms - platforms/shared/scale8.h
  │   │ │ └─    2.3 ms - platforms/math8.h
  │   │ │   └─    1.9 ms - platforms/shared/math8.h
  │   │ ├─    2.1 ms - fl/math/beat.h
  │   │ │ └─    1.1 ms - fl/math/trig8.h
  │   │ │   └─    1.1 ms - platforms/trig8.h
  │   │ │     └─    1.0 ms - platforms/shared/trig8.h
  │   │ └─    0.6 ms - fl/math/qfx.h
  │   └─    3.3 ms - crgb.hpp
  ├─  127.2 ms - fl/ui.h
  │ ├─   83.2 ms - fl/stl/json.h
  │ │ └─   65.2 ms - fl/stl/json/types.h
  │ │   └─    8.1 ms - fl/stl/limits.h
  │ ├─   10.6 ms - fl/ui_impl.h
  │ │ └─   10.0 ms - platforms/ui_defs.h
  │ │   ├─    2.1 ms - platforms/shared/ui/json/audio.h
  │ │   │ └─    1.0 ms - platforms/shared/ui/json/audio_internal.h
  │ │   ├─    1.7 ms - platforms/shared/ui/json/button.h
  │ │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │ │   ├─    0.9 ms - platforms/shared/ui/json/checkbox.h
  │ │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │ │   └─    0.8 ms - platforms/shared/ui/json/slider.h
  │ └─    6.0 ms - fl/stl/url.h
  ├─   29.2 ms - chipsets.h
  │ ├─   11.9 ms - fl/chipsets/ucs7604.h
  │ │ └─    9.0 ms - fl/chipsets/encoders/ucs7604.h
  │ ├─    6.8 ms - fl/chipsets/apa102.h
  │ ├─    1.8 ms - fl/chipsets/lpd880x.h
  │ ├─    1.0 ms - fl/chipsets/encoders/ws2816.h
  │ └─    0.8 ms - fl/chipsets/p9813.h
  └─   25.0 ms - fl/stl/stdint.h
    └─   24.7 ms - platforms/int.h
      └─   24.2 ms - platforms/shared/int.h
        └─   24.1 ms - platforms/shared/int_linux.h
fl/task/executor.h (1167.8ms)
  ├─  718.5 ms - fl/task/promise.h
  │ ├─  665.3 ms - fl/stl/function.h
  │ │ ├─  285.7 ms - fl/stl/shared_ptr.h
  │ │ │ ├─  270.8 ms - fl/stl/type_traits.h
  │ │ │ │ └─  119.7 ms - fl/stl/move.h
  │ │ │ ├─    9.3 ms - fl/stl/atomic.h
  │ │ │ │ └─    8.4 ms - platforms/atomic.h
  │ │ │ │   └─    8.3 ms - platforms/shared/atomic.h
  │ │ │ └─    1.0 ms - fl/stl/bit_cast.h
  │ │ ├─  193.5 ms - fl/stl/variant.h
  │ │ │ └─  191.5 ms - fl/stl/new.h
  │ │ │   └─  191.5 ms - platforms/new.h
  │ │ │     └─  191.4 ms - platforms/shared/new.h
  │ │ │       └─   95.8 ms - new
  │ │ │         ├─   40.9 ms - c++config.h
  │ │ │         │ └─   11.7 ms - os_defines.h
  │ │ │         │   └─   11.2 ms - features.h
  │ │ │         └─    1.2 ms - version.h
  │ │ ├─  142.3 ms - fl/stl/vector.h
  │ │ │ ├─  104.7 ms - fl/math/math.h
  │ │ │ │ └─   98.7 ms - fl/stl/undef.h
  │ │ │ │   └─  122.6 ms - stdlib.h
  │ │ │ │     ├─   68.8 ms - cstdlib
  │ │ │ │     │ ├─  122.6 ms - stdlib.h
  │ │ │ │     │ │ ├─   68.8 ms - cstdlib
  │ │ │ │     │ │ │ ├─  122.6 ms - stdlib.h
  │ │ │ │     │ │ │ └─    0.7 ms - std_abs.h
  │ │ │ │     │ │ ├─   12.2 ms - types.h
  │ │ │ │     │ │ │ ├─   12.2 ms - types.h
  │ │ │ │     │ │ │ ├─    2.3 ms - pthreadtypes.h
  │ │ │ │     │ │ │ ├─    2.1 ms - endian.h
  │ │ │ │     │ │ │ └─    2.1 ms - select.h
  │ │ │ │     │ │ └─    0.5 ms - floatn.h
  │ │ │ │     │ └─    0.7 ms - std_abs.h
  │ │ │ │     ├─   12.2 ms - types.h
  │ │ │ │     │ ├─   12.2 ms - types.h
  │ │ │ │     │ │ ├─   12.2 ms - types.h
  │ │ │ │     │ │ │ ├─   12.2 ms - types.h
  │ │ │ │     │ │ │ ├─    2.3 ms - pthreadtypes.h
  │ │ │ │     │ │ │ ├─    2.1 ms - endian.h
  │ │ │ │     │ │ │ └─    2.1 ms - select.h
  │ │ │ │     │ │ ├─    2.3 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─    1.7 ms - thread-shared-types.h
  │ │ │ │     │ │ ├─    2.1 ms - endian.h
  │ │ │ │     │ │ └─    2.1 ms - select.h
  │ │ │ │     │ ├─    2.3 ms - pthreadtypes.h
  │ │ │ │     │ │ └─    1.7 ms - thread-shared-types.h
  │ │ │ │     │ ├─    2.1 ms - endian.h
  │ │ │ │     │ └─    2.1 ms - select.h
  │ │ │ │     └─    0.5 ms - floatn.h
  │ │ │ ├─   19.3 ms - fl/stl/allocator.h
  │ │ │ │ └─   13.2 ms - fl/stl/bitset.h
  │ │ │ │   └─    8.5 ms - fl/stl/bitset_dynamic.h
  │ │ │ │     └─    2.3 ms - fl/stl/unique_ptr.h
  │ │ │ ├─    6.6 ms - fl/stl/initializer_list.h
  │ │ │ ├─    2.9 ms - fl/stl/basic_vector.h
  │ │ │ └─    0.8 ms - fl/stl/functional.h
  │ │ ├─   32.8 ms - fl/stl/compiler_control.h
  │ │ └─    5.1 ms - fl/stl/algorithm.h
  │ │   └─    2.2 ms - fl/math/random.h
  │ │     └─    1.1 ms - fl/math/random8.h
  │ └─   47.3 ms - fl/stl/string.h
  │   ├─   14.1 ms - fl/stl/basic_string.h
  │   │ ├─    1.1 ms - fl/stl/not_null.h
  │   │ ├─    1.0 ms - fl/stl/iterator.h
  │   │ └─    0.7 ms - fl/stl/charconv.h
  │   ├─    9.5 ms - fl/stl/span.h
  │   │ └─    3.7 ms - fl/math/geometry.h
  │   ├─    5.9 ms - fl/stl/string_view.h
  │   └─    1.6 ms - fl/stl/optional.h
  ├─  434.8 ms - fl/task/scheduler.h
  │ ├─  424.5 ms - fl/stl/singleton.h
  │ │ └─  423.8 ms - fl/stl/thread_local.h
  │ │   └─  422.6 ms - fl/stl/thread.h
  │ │     └─  422.5 ms - platforms/thread.h
  │ │       └─  422.4 ms - platforms/stub/thread_stub.h
  │ │         └─  422.3 ms - platforms/stub/thread_stub_stl.h
  │ │           └─  416.4 ms - thread
  │ │             ├─  239.9 ms - std_thread.h
  │ │             │ ├─   67.7 ms - tuple
  │ │             │ ├─   47.0 ms - refwrap.h
  │ │             │ ├─   34.3 ms - iosfwd
  │ │             │ ├─   13.7 ms - gthr.h
  │ │             │ └─    7.1 ms - unique_ptr.h
  │ │             └─  147.0 ms - this_thread_sleep.h
  │ │               ├─  130.3 ms - chrono.h
  │ │               └─    5.1 ms - cerrno
  │ └─    9.4 ms - fl/task/task.h
  │   └─    3.9 ms - fl/trace.h
  │     ├─    2.4 ms - fl/stl/chrono.h
  │     └─    1.1 ms - fl/stl/tuple.h
  ├─   12.0 ms - platforms/await.h
  │ └─   11.5 ms - platforms/coroutine_runtime.h
  │   └─    9.8 ms - fl/system/engine_events.h
  │     ├─    5.1 ms - fl/math/screenmap.h
  │     │ └─    3.8 ms - fl/stl/flat_map.h
  │     └─    3.1 ms - fl/math/xymap.h
  │       └─    0.8 ms - fl/math/lut.h
  └─    0.9 ms - fl/task/promise_result.h
fl/fastled.h (491.5ms)
  ├─  286.9 ms - crgb.h
  │ ├─  285.4 ms - fl/gfx/crgb.h
  │ │ └─  280.3 ms - fl/math/ease.h
  │ │   └─  277.8 ms - fl/math/fixed_point.h
  │ │     ├─  127.4 ms - fl/math/fixed_point/s4x12.h
  │ │     │ ├─  106.3 ms - fl/math/sin32.h
  │ │     │ │ └─  103.0 ms - fl/math/simd.h
  │ │     │ │   └─  102.4 ms - fl/math/simd/types.h
  │ │     │ │     └─  102.1 ms - platforms/simd.h
  │ │     │ │       └─  102.0 ms - platforms/shared/simd_x86.hpp
  │ │     │ ├─    1.1 ms - fl/math/fixed_point/traits.h
  │ │     │ └─    0.8 ms - fl/math/fixed_point/isqrt.h
  │ │     ├─   19.4 ms - fl/math/fixed_point/s8x24.h
  │ │     ├─   18.8 ms - fl/math/fixed_point/s8x8.h
  │ │     ├─   18.7 ms - fl/math/fixed_point/s16x16.h
  │ │     └─   18.5 ms - fl/math/fixed_point/s24x8.h
  │ └─    0.9 ms - chsv.h
  │   └─    0.8 ms - fl/gfx/hsv.h
  ├─   89.8 ms - platforms.h
  │ └─   89.8 ms - platforms/stub/fastled_stub.h
  │   ├─   49.7 ms - platforms/stub/fastspi_stub.h
  │   │ └─   49.6 ms - platforms/stub/fastspi_stub_generic.h
  │   │   ├─   43.0 ms - platforms/shared/active_strip_data/active_strip_data.h
  │   │   │ └─   40.8 ms - fl/id_tracker.h
  │   │   │   └─   39.8 ms - fl/stl/mutex.h
  │   │   │     └─   39.7 ms - platforms/mutex.h
  │   │   │       └─   39.5 ms - platforms/stub/mutex_stub.h
  │   │   │         └─   39.5 ms - platforms/stub/mutex_stub_stl.h
  │   │   └─    6.2 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │   └─   40.0 ms - platforms/stub/clockless_stub.h
  │     └─   40.0 ms - platforms/stub/clockless_channel_stub.h
  │       ├─   14.7 ms - fl/system/log.h
  │       │ └─   14.2 ms - fl/stl/strstream.h
  │       ├─   13.7 ms - fl/channels/data.h
  │       │ └─   10.3 ms - fl/channels/config.h
  │       │   ├─    2.2 ms - fl/chipsets/chipset_timing_config.h
  │       │   │ └─    1.5 ms - fl/chipsets/led_timing.h
  │       │   └─    1.8 ms - fl/chipsets/spi.h
  │       ├─    2.5 ms - fl/channels/manager.h
  │       ├─    1.6 ms - fl/stl/weak_ptr.h
  │       └─    1.1 ms - fl/channels/driver.h
  ├─   43.7 ms - colorutils.h
  │ └─   42.8 ms - fl/gfx/colorutils.h
  │   ├─    9.1 ms - fl/gfx/blur.h
  │   │ └─    4.9 ms - fl/gfx/canvas.h
  │   │   └─    3.0 ms - fl/math/alpha.h
  │   └─    3.2 ms - fl/gfx/fill.h
  ├─   24.4 ms - pixel_controller.h
  │ ├─   17.6 ms - pixel_iterator.h
  │ │ └─   17.4 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │   ├─    5.1 ms - fl/chipsets/encoders/apa102.h
  │ │   │ └─    3.9 ms - fl/chipsets/encoders/encoder_utils.h
  │ │   │   └─    3.2 ms - fl/gfx/gamma_lut.h
  │ │   ├─    4.6 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │   ├─    1.0 ms - fl/chipsets/encoders/sk9822.h
  │ │   └─    0.9 ms - fl/chipsets/encoders/hd108.h
  │ └─    2.7 ms - rgbw.h
  │   └─    2.5 ms - fl/gfx/rgbw.h
  └─   24.1 ms - pixeltypes.h
    ├─   20.4 ms - lib8tion.h
    │ ├─   10.9 ms - fl/math/math8.h
    │ │ ├─    5.9 ms - fl/math/intmap.h
    │ │ │ └─    4.5 ms - platforms/intmap.h
    │ │ ├─    2.7 ms - fl/math/scale8.h
    │ │ │ └─    2.6 ms - platforms/scale8.h
    │ │ │   └─    1.0 ms - platforms/shared/scale8.h
    │ │ └─    2.3 ms - platforms/math8.h
    │ │   └─    1.9 ms - platforms/shared/math8.h
    │ ├─    2.1 ms - fl/math/beat.h
    │ │ └─    1.1 ms - fl/math/trig8.h
    │ │   └─    1.1 ms - platforms/trig8.h
    │ │     └─    1.0 ms - platforms/shared/trig8.h
    │ └─    0.6 ms - fl/math/qfx.h
    └─    3.3 ms - crgb.hpp
fl/ui.h (127.2ms)
  ├─   83.2 ms - fl/stl/json.h
  │ └─   65.2 ms - fl/stl/json/types.h
  │   └─    8.1 ms - fl/stl/limits.h
  ├─   10.6 ms - fl/ui_impl.h
  │ └─   10.0 ms - platforms/ui_defs.h
  │   ├─    2.1 ms - platforms/shared/ui/json/audio.h
  │   │ └─    1.0 ms - platforms/shared/ui/json/audio_internal.h
  │   ├─    1.7 ms - platforms/shared/ui/json/button.h
  │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │   ├─    0.9 ms - platforms/shared/ui/json/checkbox.h
  │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │   └─    0.8 ms - platforms/shared/ui/json/slider.h
  └─    6.0 ms - fl/stl/url.h
chipsets.h (29.2ms)
  ├─   11.9 ms - fl/chipsets/ucs7604.h
  │ └─    9.0 ms - fl/chipsets/encoders/ucs7604.h
  ├─    6.8 ms - fl/chipsets/apa102.h
  ├─    1.8 ms - fl/chipsets/lpd880x.h
  ├─    1.0 ms - fl/chipsets/encoders/ws2816.h
  └─    0.8 ms - fl/chipsets/p9813.h

TOP 20 SLOWEST OPERATIONS
--------------------------------------------------------------------------------
  1.  1920.8 ms - Source: FastLED.h
  2.  1920.8 ms - Total Source: 
  3.  1167.8 ms - Source: fl/task/executor.h
  4.   718.5 ms - Source: fl/task/promise.h
  5.   683.8 ms - Total ParseClass: 
  6.   665.3 ms - Source: fl/stl/function.h
  7.   491.5 ms - Source: fl/fastled.h
  8.   434.8 ms - Source: fl/task/scheduler.h
  9.   424.5 ms - Source: fl/stl/singleton.h
 10.   423.8 ms - Source: fl/stl/thread_local.h
 11.   422.6 ms - Source: fl/stl/thread.h
 12.   422.5 ms - Source: platforms/thread.h
 13.   422.4 ms - Source: platforms/stub/thread_stub.h
 14.   422.3 ms - Source: platforms/stub/thread_stub_stl.h
 15.   416.4 ms - Source: thread
 16.   286.9 ms - Source: crgb.h
 17.   285.7 ms - Source: fl/stl/shared_ptr.h
 18.   285.4 ms - Source: fl/gfx/crgb.h
 19.   280.3 ms - Source: fl/math/ease.h
 20.   277.8 ms - Source: fl/math/fixed_point.h

PERFORMANCE FLAGS
--------------------------------------------------------------------------------
⚠️  SLOW HEADERS (>50.0ms):
    - FastLED.h (1920.8ms)
    - fl/task/executor.h (1167.8ms)
    - fl/task/promise.h (718.5ms)
    - fl/stl/function.h (665.3ms)
    - fl/fastled.h (491.5ms)
    - fl/task/scheduler.h (434.8ms)
    - fl/stl/singleton.h (424.5ms)
    - fl/stl/thread_local.h (423.8ms)
    - fl/stl/thread.h (422.6ms)
    - platforms/thread.h (422.5ms)

⚠️  Template instantiation time is high (26.3% of total)
✓  Lexing time is acceptable (<10% of total)

RECOMMENDATIONS
--------------------------------------------------------------------------------
1. Consider optimizing FastLED.h (1920.8ms)
2. Consider optimizing fl/task/executor.h (1167.8ms)
3. Consider optimizing fl/task/promise.h (718.5ms)

================================================================================

XYMatrix's static arrays + FastLED internals push .bss past 1KB on
ATtiny1604 (same root cause as ArrayOfLedArrays/MultipleStripsInOneArray
/PerfDisc). Verified locally: 'compile ATtiny1604 all' now succeeds on
all examples after this filter.
@github-actions

Copy link
Copy Markdown
Contributor

📊 Header Compilation Performance

Total Time: 1220.31ms

Top 5 Slowest Headers

  1. FastLED.h - 931.96ms
  2. fl/fastled.h - 397.20ms
  3. fl/task/executor.h - 308.45ms
  4. crgb.h - 224.24ms
  5. fl/gfx/crgb.h - 222.89ms

Warnings

⚠️ Header FastLED.h exceeds 150ms (932.0ms)
⚠️ Header fl/fastled.h exceeds 150ms (397.2ms)
⚠️ Header fl/task/executor.h exceeds 150ms (308.4ms)
⚠️ Header crgb.h exceeds 150ms (224.2ms)
⚠️ Header fl/gfx/crgb.h exceeds 150ms (222.9ms)
⚠️ Header fl/math/ease.h exceeds 150ms (217.8ms)
⚠️ Header fl/math/fixed_point.h exceeds 150ms (215.3ms)
⚠️ Header fl/task/scheduler.h exceeds 150ms (164.3ms)
⚠️ Header fl/stl/singleton.h exceeds 150ms (153.7ms)
⚠️ Header fl/stl/thread_local.h exceeds 150ms (152.9ms)
⚠️ Header fl/stl/thread.h exceeds 150ms (151.6ms)
⚠️ Header platforms/thread.h exceeds 150ms (151.5ms)
⚠️ Header platforms/stub/thread_stub.h exceeds 150ms (151.5ms)
⚠️ Header platforms/stub/thread_stub_stl.h exceeds 150ms (151.4ms)
⚠️ Header fl/task/promise.h exceeds 50ms (129.4ms)
⚠️ Header fl/ui.h exceeds 50ms (126.7ms)
⚠️ Header fl/stl/json.h exceeds 50ms (81.5ms)
⚠️ Header fl/stl/function.h exceeds 50ms (76.4ms)
⚠️ Header fl/math/fixed_point/s4x12.h exceeds 50ms (64.8ms)
⚠️ Header fl/stl/json/types.h exceeds 50ms (63.2ms)
⚠️ Header platforms.h exceeds 50ms (58.8ms)
⚠️ Header platforms/stub/fastled_stub.h exceeds 50ms (58.7ms)
⚠️ Template instantiation time is high (53.3%)

Full Report
================================================================================
FASTLED COMPILATION PERFORMANCE REPORT
================================================================================
Generated: 2026-04-17 08:49:59
Compiler: clang++-17
File: ci/perf/test_compile.cpp

SUMMARY
--------------------------------------------------------------------------------
Total Compilation Time:    2,634.14 ms
Frontend Time:             18.28 ms (0.7%)
Backend Time:              227.12 ms (8.6%)

COMPILATION PHASES
--------------------------------------------------------------------------------
Source                    17399.79 ms (660.5%)
Templates                   655.86 ms ( 24.9%)

FASTLED HEADERS (Level 1 - Direct Includes)
--------------------------------------------------------------------------------
  1995.0 ms - FastLED.h (SLOW)
  1166.5 ms - fl/task/executor.h (SLOW)
   589.8 ms - fl/task/scheduler.h (SLOW)
   579.7 ms - fl/stl/singleton.h (SLOW)
   578.9 ms - fl/stl/thread_local.h (SLOW)
   577.6 ms - fl/stl/thread.h (SLOW)
   577.5 ms - platforms/thread.h (SLOW)
   577.5 ms - platforms/stub/thread_stub.h (SLOW)
   577.4 ms - platforms/stub/thread_stub_stl.h (SLOW)
   562.4 ms - fl/task/promise.h (SLOW)
   541.6 ms - fl/fastled.h (SLOW)
   510.7 ms - fl/stl/function.h (SLOW)
   310.9 ms - crgb.h (SLOW)
   309.5 ms - fl/gfx/crgb.h (SLOW)
   304.5 ms - fl/math/ease.h (SLOW)
   302.0 ms - fl/math/fixed_point.h (SLOW)
   231.2 ms - fl/stl/vector.h (SLOW)
   179.0 ms - fl/stl/variant.h (SLOW)
   177.1 ms - fl/stl/new.h (SLOW)
   177.0 ms - platforms/new.h (SLOW)

FASTLED HEADERS (Nested Includes - Up to 10 Levels)
--------------------------------------------------------------------------------
FastLED.h (1995.0ms)
  ├─ 1166.5 ms - fl/task/executor.h
  │ ├─  589.8 ms - fl/task/scheduler.h
  │ │ ├─  579.7 ms - fl/stl/singleton.h
  │ │ │ └─  578.9 ms - fl/stl/thread_local.h
  │ │ │   └─  577.6 ms - fl/stl/thread.h
  │ │ │     └─  577.5 ms - platforms/thread.h
  │ │ │       └─  577.5 ms - platforms/stub/thread_stub.h
  │ │ │         └─  577.4 ms - platforms/stub/thread_stub_stl.h
  │ │ │           └─  571.7 ms - thread
  │ │ │             ├─  282.6 ms - std_thread.h
  │ │ │             ├─  238.5 ms - this_thread_sleep.h
  │ │ │             └─    2.5 ms - version.h
  │ │ └─    9.3 ms - fl/task/task.h
  │ │   └─    3.8 ms - fl/trace.h
  │ │     ├─    2.3 ms - fl/stl/chrono.h
  │ │     └─    1.1 ms - fl/stl/tuple.h
  │ ├─  562.4 ms - fl/task/promise.h
  │ │ ├─  510.7 ms - fl/stl/function.h
  │ │ │ ├─  231.2 ms - fl/stl/vector.h
  │ │ │ │ ├─  154.2 ms - fl/math/math.h
  │ │ │ │ │ └─  148.2 ms - fl/stl/undef.h
  │ │ │ │ │   └─  198.8 ms - stdlib.h
  │ │ │ │ │     ├─   92.2 ms - cstdlib
  │ │ │ │ │     │ ├─  198.8 ms - stdlib.h
  │ │ │ │ │     │ │ ├─   92.2 ms - cstdlib
  │ │ │ │ │     │ │ ├─   30.1 ms - types.h
  │ │ │ │ │     │ │ └─    0.7 ms - floatn.h
  │ │ │ │ │     │ └─    0.7 ms - std_abs.h
  │ │ │ │ │     ├─   30.1 ms - types.h
  │ │ │ │ │     │ ├─   30.1 ms - types.h
  │ │ │ │ │     │ │ ├─   30.1 ms - types.h
  │ │ │ │ │     │ │ ├─    2.3 ms - endian.h
  │ │ │ │ │     │ │ ├─    2.2 ms - pthreadtypes.h
  │ │ │ │ │     │ │ └─    2.2 ms - select.h
  │ │ │ │ │     │ ├─    2.3 ms - endian.h
  │ │ │ │ │     │ │ └─    0.5 ms - byteswap.h
  │ │ │ │ │     │ ├─    2.2 ms - pthreadtypes.h
  │ │ │ │ │     │ │ └─    1.7 ms - thread-shared-types.h
  │ │ │ │ │     │ └─    2.2 ms - select.h
  │ │ │ │ │     └─    0.7 ms - floatn.h
  │ │ │ │ ├─   46.0 ms - fl/stl/initializer_list.h
  │ │ │ │ │ └─    0.6 ms - initializer_list
  │ │ │ │ ├─   19.5 ms - fl/stl/allocator.h
  │ │ │ │ │ └─   13.1 ms - fl/stl/bitset.h
  │ │ │ │ │   └─    8.4 ms - fl/stl/bitset_dynamic.h
  │ │ │ │ │     └─    2.2 ms - fl/stl/unique_ptr.h
  │ │ │ │ │       └─    0.5 ms - fl/stl/utility.h
  │ │ │ │ ├─    2.9 ms - fl/stl/basic_vector.h
  │ │ │ │ └─    0.7 ms - fl/stl/functional.h
  │ │ │ ├─  179.0 ms - fl/stl/variant.h
  │ │ │ │ └─  177.1 ms - fl/stl/new.h
  │ │ │ │   └─  177.0 ms - platforms/new.h
  │ │ │ │     └─  177.0 ms - platforms/shared/new.h
  │ │ │ │       └─  141.7 ms - new
  │ │ │ │         ├─   45.0 ms - c++config.h
  │ │ │ │         │ └─    6.5 ms - os_defines.h
  │ │ │ │         └─    2.5 ms - version.h
  │ │ │ ├─   84.7 ms - fl/stl/shared_ptr.h
  │ │ │ │ ├─   50.6 ms - fl/stl/type_traits.h
  │ │ │ │ │ └─   43.8 ms - fl/stl/move.h
  │ │ │ │ ├─   28.8 ms - fl/stl/atomic.h
  │ │ │ │ │ └─   27.6 ms - platforms/atomic.h
  │ │ │ │ │   └─   27.6 ms - platforms/shared/atomic.h
  │ │ │ │ └─    0.8 ms - fl/stl/bit_cast.h
  │ │ │ ├─    4.9 ms - fl/stl/algorithm.h
  │ │ │ │ └─    2.1 ms - fl/math/random.h
  │ │ │ │   └─    1.0 ms - fl/math/random8.h
  │ │ │ └─    4.8 ms - fl/stl/compiler_control.h
  │ │ └─   46.1 ms - fl/stl/string.h
  │ │   ├─   13.6 ms - fl/stl/basic_string.h
  │ │   │ ├─    1.1 ms - fl/stl/not_null.h
  │ │   │ ├─    1.0 ms - fl/stl/iterator.h
  │ │   │ └─    0.5 ms - fl/stl/charconv.h
  │ │   ├─    8.9 ms - fl/stl/span.h
  │ │   │ └─    3.5 ms - fl/math/geometry.h
  │ │   ├─    5.8 ms - fl/stl/string_view.h
  │ │   └─    1.5 ms - fl/stl/optional.h
  │ ├─   11.9 ms - platforms/await.h
  │ │ └─   11.5 ms - platforms/coroutine_runtime.h
  │ │   └─    9.8 ms - fl/system/engine_events.h
  │ │     ├─    5.1 ms - fl/math/screenmap.h
  │ │     │ └─    3.8 ms - fl/stl/flat_map.h
  │ │     └─    3.1 ms - fl/math/xymap.h
  │ │       └─    0.8 ms - fl/math/lut.h
  │ └─    0.8 ms - fl/task/promise_result.h
  ├─  541.6 ms - fl/fastled.h
  │ ├─  310.9 ms - crgb.h
  │ │ ├─  309.5 ms - fl/gfx/crgb.h
  │ │ │ └─  304.5 ms - fl/math/ease.h
  │ │ │   └─  302.0 ms - fl/math/fixed_point.h
  │ │ │     ├─  151.8 ms - fl/math/fixed_point/s4x12.h
  │ │ │     │ ├─  130.8 ms - fl/math/sin32.h
  │ │ │     │ │ └─  127.5 ms - fl/math/simd.h
  │ │ │     │ │   └─  127.0 ms - fl/math/simd/types.h
  │ │ │     │ │     └─  126.6 ms - platforms/simd.h
  │ │ │     │ ├─    1.1 ms - fl/math/fixed_point/traits.h
  │ │ │     │ └─    0.8 ms - fl/math/fixed_point/isqrt.h
  │ │ │     ├─   19.1 ms - fl/math/fixed_point/s8x8.h
  │ │ │     ├─   19.1 ms - fl/math/fixed_point/s16x16.h
  │ │ │     ├─   18.8 ms - fl/math/fixed_point/s8x24.h
  │ │ │     └─   18.6 ms - fl/math/fixed_point/s24x8.h
  │ │ └─    0.9 ms - chsv.h
  │ │   └─    0.8 ms - fl/gfx/hsv.h
  │ ├─  116.8 ms - platforms.h
  │ │ └─  116.7 ms - platforms/stub/fastled_stub.h
  │ │   ├─   77.6 ms - platforms/stub/fastspi_stub.h
  │ │   │ └─   77.5 ms - platforms/stub/fastspi_stub_generic.h
  │ │   │   ├─   70.9 ms - platforms/shared/active_strip_data/active_strip_data.h
  │ │   │   │ └─   68.6 ms - fl/id_tracker.h
  │ │   │   │   └─   67.6 ms - fl/stl/mutex.h
  │ │   │   │     └─   67.5 ms - platforms/mutex.h
  │ │   │   │       └─   67.4 ms - platforms/stub/mutex_stub.h
  │ │   │   └─    6.2 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │ │   └─   39.1 ms - platforms/stub/clockless_stub.h
  │ │     └─   39.1 ms - platforms/stub/clockless_channel_stub.h
  │ │       ├─   14.0 ms - fl/channels/data.h
  │ │       │ └─   10.5 ms - fl/channels/config.h
  │ │       │   ├─    2.4 ms - fl/chipsets/chipset_timing_config.h
  │ │       │   │ └─    1.6 ms - fl/chipsets/led_timing.h
  │ │       │   └─    1.8 ms - fl/chipsets/spi.h
  │ │       ├─   13.7 ms - fl/system/log.h
  │ │       │ └─   13.2 ms - fl/stl/strstream.h
  │ │       ├─    2.6 ms - fl/channels/manager.h
  │ │       ├─    1.6 ms - fl/stl/weak_ptr.h
  │ │       └─    1.1 ms - fl/channels/driver.h
  │ ├─   43.7 ms - colorutils.h
  │ │ └─   42.8 ms - fl/gfx/colorutils.h
  │ │   ├─    9.2 ms - fl/gfx/blur.h
  │ │   │ └─    4.9 ms - fl/gfx/canvas.h
  │ │   │   └─    3.0 ms - fl/math/alpha.h
  │ │   └─    3.3 ms - fl/gfx/fill.h
  │ ├─   24.3 ms - pixel_controller.h
  │ │ ├─   17.4 ms - pixel_iterator.h
  │ │ │ └─   17.3 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │ │   ├─    5.2 ms - fl/chipsets/encoders/apa102.h
  │ │ │   │ └─    4.0 ms - fl/chipsets/encoders/encoder_utils.h
  │ │ │   │   └─    3.4 ms - fl/gfx/gamma_lut.h
  │ │ │   ├─    4.5 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │ │   ├─    1.1 ms - fl/chipsets/encoders/sk9822.h
  │ │ │   └─    0.9 ms - fl/chipsets/encoders/hd108.h
  │ │ └─    2.6 ms - rgbw.h
  │ │   └─    2.4 ms - fl/gfx/rgbw.h
  │ └─   23.1 ms - pixeltypes.h
  │   ├─   19.3 ms - lib8tion.h
  │   │ ├─   10.0 ms - fl/math/math8.h
  │   │ │ ├─    5.3 ms - fl/math/intmap.h
  │   │ │ │ └─    4.1 ms - platforms/intmap.h
  │   │ │ ├─    2.5 ms - fl/math/scale8.h
  │   │ │ │ └─    2.4 ms - platforms/scale8.h
  │   │ │ │   └─    1.0 ms - platforms/shared/scale8.h
  │   │ │ └─    2.1 ms - platforms/math8.h
  │   │ │   └─    1.7 ms - platforms/shared/math8.h
  │   │ ├─    2.0 ms - fl/math/beat.h
  │   │ │ └─    1.1 ms - fl/math/trig8.h
  │   │ │   └─    1.1 ms - platforms/trig8.h
  │   │ │     └─    1.0 ms - platforms/shared/trig8.h
  │   │ └─    0.6 ms - fl/math/qfx.h
  │   └─    3.3 ms - crgb.hpp
  ├─  125.7 ms - fl/ui.h
  │ ├─   81.2 ms - fl/stl/json.h
  │ │ └─   62.9 ms - fl/stl/json/types.h
  │ │   └─    7.6 ms - fl/stl/limits.h
  │ ├─   10.9 ms - fl/ui_impl.h
  │ │ └─   10.3 ms - platforms/ui_defs.h
  │ │   ├─    2.3 ms - platforms/shared/ui/json/audio.h
  │ │   │ └─    1.1 ms - platforms/shared/ui/json/audio_internal.h
  │ │   ├─    1.6 ms - platforms/shared/ui/json/button.h
  │ │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │ │   ├─    1.0 ms - platforms/shared/ui/json/checkbox.h
  │ │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │ │   └─    0.9 ms - platforms/shared/ui/json/dropdown.h
  │ └─    6.2 ms - fl/stl/url.h
  ├─   32.9 ms - fl/stl/stdint.h
  │ └─   32.6 ms - platforms/int.h
  │   └─   32.1 ms - platforms/shared/int.h
  │     └─   32.0 ms - platforms/shared/int_linux.h
  └─   30.3 ms - chipsets.h
    ├─   12.4 ms - fl/chipsets/ucs7604.h
    │ └─    9.4 ms - fl/chipsets/encoders/ucs7604.h
    ├─    7.0 ms - fl/chipsets/apa102.h
    ├─    1.9 ms - fl/chipsets/lpd880x.h
    ├─    1.0 ms - fl/chipsets/encoders/ws2816.h
    └─    0.9 ms - fl/chipsets/p9813.h
fl/task/executor.h (1166.5ms)
  ├─  589.8 ms - fl/task/scheduler.h
  │ ├─  579.7 ms - fl/stl/singleton.h
  │ │ └─  578.9 ms - fl/stl/thread_local.h
  │ │   └─  577.6 ms - fl/stl/thread.h
  │ │     └─  577.5 ms - platforms/thread.h
  │ │       └─  577.5 ms - platforms/stub/thread_stub.h
  │ │         └─  577.4 ms - platforms/stub/thread_stub_stl.h
  │ │           └─  571.7 ms - thread
  │ │             ├─  282.6 ms - std_thread.h
  │ │             │ ├─   75.2 ms - tuple
  │ │             │ ├─   65.8 ms - iosfwd
  │ │             │ ├─   34.3 ms - refwrap.h
  │ │             │ ├─   18.3 ms - gthr.h
  │ │             │ └─    6.4 ms - unique_ptr.h
  │ │             ├─  238.5 ms - this_thread_sleep.h
  │ │             │ ├─  204.1 ms - chrono.h
  │ │             │ └─   24.2 ms - cerrno
  │ │             └─    2.5 ms - version.h
  │ └─    9.3 ms - fl/task/task.h
  │   └─    3.8 ms - fl/trace.h
  │     ├─    2.3 ms - fl/stl/chrono.h
  │     └─    1.1 ms - fl/stl/tuple.h
  ├─  562.4 ms - fl/task/promise.h
  │ ├─  510.7 ms - fl/stl/function.h
  │ │ ├─  231.2 ms - fl/stl/vector.h
  │ │ │ ├─  154.2 ms - fl/math/math.h
  │ │ │ │ └─  148.2 ms - fl/stl/undef.h
  │ │ │ │   └─  198.8 ms - stdlib.h
  │ │ │ │     ├─   92.2 ms - cstdlib
  │ │ │ │     │ ├─  198.8 ms - stdlib.h
  │ │ │ │     │ │ ├─   92.2 ms - cstdlib
  │ │ │ │     │ │ │ ├─  198.8 ms - stdlib.h
  │ │ │ │     │ │ │ └─    0.7 ms - std_abs.h
  │ │ │ │     │ │ ├─   30.1 ms - types.h
  │ │ │ │     │ │ │ ├─   30.1 ms - types.h
  │ │ │ │     │ │ │ ├─    2.3 ms - endian.h
  │ │ │ │     │ │ │ ├─    2.2 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─    2.2 ms - select.h
  │ │ │ │     │ │ └─    0.7 ms - floatn.h
  │ │ │ │     │ └─    0.7 ms - std_abs.h
  │ │ │ │     ├─   30.1 ms - types.h
  │ │ │ │     │ ├─   30.1 ms - types.h
  │ │ │ │     │ │ ├─   30.1 ms - types.h
  │ │ │ │     │ │ │ ├─   30.1 ms - types.h
  │ │ │ │     │ │ │ ├─    2.3 ms - endian.h
  │ │ │ │     │ │ │ ├─    2.2 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─    2.2 ms - select.h
  │ │ │ │     │ │ ├─    2.3 ms - endian.h
  │ │ │ │     │ │ │ └─    0.5 ms - byteswap.h
  │ │ │ │     │ │ ├─    2.2 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─    1.7 ms - thread-shared-types.h
  │ │ │ │     │ │ └─    2.2 ms - select.h
  │ │ │ │     │ ├─    2.3 ms - endian.h
  │ │ │ │     │ │ └─    0.5 ms - byteswap.h
  │ │ │ │     │ ├─    2.2 ms - pthreadtypes.h
  │ │ │ │     │ │ └─    1.7 ms - thread-shared-types.h
  │ │ │ │     │ └─    2.2 ms - select.h
  │ │ │ │     └─    0.7 ms - floatn.h
  │ │ │ ├─   46.0 ms - fl/stl/initializer_list.h
  │ │ │ │ └─    0.6 ms - initializer_list
  │ │ │ ├─   19.5 ms - fl/stl/allocator.h
  │ │ │ │ └─   13.1 ms - fl/stl/bitset.h
  │ │ │ │   └─    8.4 ms - fl/stl/bitset_dynamic.h
  │ │ │ │     └─    2.2 ms - fl/stl/unique_ptr.h
  │ │ │ │       └─    0.5 ms - fl/stl/utility.h
  │ │ │ ├─    2.9 ms - fl/stl/basic_vector.h
  │ │ │ └─    0.7 ms - fl/stl/functional.h
  │ │ ├─  179.0 ms - fl/stl/variant.h
  │ │ │ └─  177.1 ms - fl/stl/new.h
  │ │ │   └─  177.0 ms - platforms/new.h
  │ │ │     └─  177.0 ms - platforms/shared/new.h
  │ │ │       └─  141.7 ms - new
  │ │ │         ├─   45.0 ms - c++config.h
  │ │ │         │ └─    6.5 ms - os_defines.h
  │ │ │         │   └─    5.9 ms - features.h
  │ │ │         └─    2.5 ms - version.h
  │ │ ├─   84.7 ms - fl/stl/shared_ptr.h
  │ │ │ ├─   50.6 ms - fl/stl/type_traits.h
  │ │ │ │ └─   43.8 ms - fl/stl/move.h
  │ │ │ ├─   28.8 ms - fl/stl/atomic.h
  │ │ │ │ └─   27.6 ms - platforms/atomic.h
  │ │ │ │   └─   27.6 ms - platforms/shared/atomic.h
  │ │ │ └─    0.8 ms - fl/stl/bit_cast.h
  │ │ ├─    4.9 ms - fl/stl/algorithm.h
  │ │ │ └─    2.1 ms - fl/math/random.h
  │ │ │   └─    1.0 ms - fl/math/random8.h
  │ │ └─    4.8 ms - fl/stl/compiler_control.h
  │ └─   46.1 ms - fl/stl/string.h
  │   ├─   13.6 ms - fl/stl/basic_string.h
  │   │ ├─    1.1 ms - fl/stl/not_null.h
  │   │ ├─    1.0 ms - fl/stl/iterator.h
  │   │ └─    0.5 ms - fl/stl/charconv.h
  │   ├─    8.9 ms - fl/stl/span.h
  │   │ └─    3.5 ms - fl/math/geometry.h
  │   ├─    5.8 ms - fl/stl/string_view.h
  │   └─    1.5 ms - fl/stl/optional.h
  ├─   11.9 ms - platforms/await.h
  │ └─   11.5 ms - platforms/coroutine_runtime.h
  │   └─    9.8 ms - fl/system/engine_events.h
  │     ├─    5.1 ms - fl/math/screenmap.h
  │     │ └─    3.8 ms - fl/stl/flat_map.h
  │     └─    3.1 ms - fl/math/xymap.h
  │       └─    0.8 ms - fl/math/lut.h
  └─    0.8 ms - fl/task/promise_result.h
fl/fastled.h (541.6ms)
  ├─  310.9 ms - crgb.h
  │ ├─  309.5 ms - fl/gfx/crgb.h
  │ │ └─  304.5 ms - fl/math/ease.h
  │ │   └─  302.0 ms - fl/math/fixed_point.h
  │ │     ├─  151.8 ms - fl/math/fixed_point/s4x12.h
  │ │     │ ├─  130.8 ms - fl/math/sin32.h
  │ │     │ │ └─  127.5 ms - fl/math/simd.h
  │ │     │ │   └─  127.0 ms - fl/math/simd/types.h
  │ │     │ │     └─  126.6 ms - platforms/simd.h
  │ │     │ │       └─  126.5 ms - platforms/shared/simd_x86.hpp
  │ │     │ ├─    1.1 ms - fl/math/fixed_point/traits.h
  │ │     │ └─    0.8 ms - fl/math/fixed_point/isqrt.h
  │ │     ├─   19.1 ms - fl/math/fixed_point/s8x8.h
  │ │     ├─   19.1 ms - fl/math/fixed_point/s16x16.h
  │ │     ├─   18.8 ms - fl/math/fixed_point/s8x24.h
  │ │     └─   18.6 ms - fl/math/fixed_point/s24x8.h
  │ └─    0.9 ms - chsv.h
  │   └─    0.8 ms - fl/gfx/hsv.h
  ├─  116.8 ms - platforms.h
  │ └─  116.7 ms - platforms/stub/fastled_stub.h
  │   ├─   77.6 ms - platforms/stub/fastspi_stub.h
  │   │ └─   77.5 ms - platforms/stub/fastspi_stub_generic.h
  │   │   ├─   70.9 ms - platforms/shared/active_strip_data/active_strip_data.h
  │   │   │ └─   68.6 ms - fl/id_tracker.h
  │   │   │   └─   67.6 ms - fl/stl/mutex.h
  │   │   │     └─   67.5 ms - platforms/mutex.h
  │   │   │       └─   67.4 ms - platforms/stub/mutex_stub.h
  │   │   │         └─   67.3 ms - platforms/stub/mutex_stub_stl.h
  │   │   └─    6.2 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │   └─   39.1 ms - platforms/stub/clockless_stub.h
  │     └─   39.1 ms - platforms/stub/clockless_channel_stub.h
  │       ├─   14.0 ms - fl/channels/data.h
  │       │ └─   10.5 ms - fl/channels/config.h
  │       │   ├─    2.4 ms - fl/chipsets/chipset_timing_config.h
  │       │   │ └─    1.6 ms - fl/chipsets/led_timing.h
  │       │   └─    1.8 ms - fl/chipsets/spi.h
  │       ├─   13.7 ms - fl/system/log.h
  │       │ └─   13.2 ms - fl/stl/strstream.h
  │       ├─    2.6 ms - fl/channels/manager.h
  │       ├─    1.6 ms - fl/stl/weak_ptr.h
  │       └─    1.1 ms - fl/channels/driver.h
  ├─   43.7 ms - colorutils.h
  │ └─   42.8 ms - fl/gfx/colorutils.h
  │   ├─    9.2 ms - fl/gfx/blur.h
  │   │ └─    4.9 ms - fl/gfx/canvas.h
  │   │   └─    3.0 ms - fl/math/alpha.h
  │   └─    3.3 ms - fl/gfx/fill.h
  ├─   24.3 ms - pixel_controller.h
  │ ├─   17.4 ms - pixel_iterator.h
  │ │ └─   17.3 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │   ├─    5.2 ms - fl/chipsets/encoders/apa102.h
  │ │   │ └─    4.0 ms - fl/chipsets/encoders/encoder_utils.h
  │ │   │   └─    3.4 ms - fl/gfx/gamma_lut.h
  │ │   ├─    4.5 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │   ├─    1.1 ms - fl/chipsets/encoders/sk9822.h
  │ │   └─    0.9 ms - fl/chipsets/encoders/hd108.h
  │ └─    2.6 ms - rgbw.h
  │   └─    2.4 ms - fl/gfx/rgbw.h
  └─   23.1 ms - pixeltypes.h
    ├─   19.3 ms - lib8tion.h
    │ ├─   10.0 ms - fl/math/math8.h
    │ │ ├─    5.3 ms - fl/math/intmap.h
    │ │ │ └─    4.1 ms - platforms/intmap.h
    │ │ ├─    2.5 ms - fl/math/scale8.h
    │ │ │ └─    2.4 ms - platforms/scale8.h
    │ │ │   └─    1.0 ms - platforms/shared/scale8.h
    │ │ └─    2.1 ms - platforms/math8.h
    │ │   └─    1.7 ms - platforms/shared/math8.h
    │ ├─    2.0 ms - fl/math/beat.h
    │ │ └─    1.1 ms - fl/math/trig8.h
    │ │   └─    1.1 ms - platforms/trig8.h
    │ │     └─    1.0 ms - platforms/shared/trig8.h
    │ └─    0.6 ms - fl/math/qfx.h
    └─    3.3 ms - crgb.hpp
fl/ui.h (125.7ms)
  ├─   81.2 ms - fl/stl/json.h
  │ └─   62.9 ms - fl/stl/json/types.h
  │   └─    7.6 ms - fl/stl/limits.h
  ├─   10.9 ms - fl/ui_impl.h
  │ └─   10.3 ms - platforms/ui_defs.h
  │   ├─    2.3 ms - platforms/shared/ui/json/audio.h
  │   │ └─    1.1 ms - platforms/shared/ui/json/audio_internal.h
  │   ├─    1.6 ms - platforms/shared/ui/json/button.h
  │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │   ├─    1.0 ms - platforms/shared/ui/json/checkbox.h
  │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │   └─    0.9 ms - platforms/shared/ui/json/dropdown.h
  └─    6.2 ms - fl/stl/url.h
fl/stl/stdint.h (32.9ms)
  └─   32.6 ms - platforms/int.h
    └─   32.1 ms - platforms/shared/int.h
      └─   32.0 ms - platforms/shared/int_linux.h

TOP 20 SLOWEST OPERATIONS
--------------------------------------------------------------------------------
  1.  1995.0 ms - Source: FastLED.h
  2.  1995.0 ms - Total Source: 
  3.  1166.5 ms - Source: fl/task/executor.h
  4.   694.9 ms - Total ParseClass: 
  5.   589.8 ms - Source: fl/task/scheduler.h
  6.   579.7 ms - Source: fl/stl/singleton.h
  7.   578.9 ms - Source: fl/stl/thread_local.h
  8.   577.6 ms - Source: fl/stl/thread.h
  9.   577.5 ms - Source: platforms/thread.h
 10.   577.5 ms - Source: platforms/stub/thread_stub.h
 11.   577.4 ms - Source: platforms/stub/thread_stub_stl.h
 12.   571.7 ms - Source: thread
 13.   562.4 ms - Source: fl/task/promise.h
 14.   541.6 ms - Source: fl/fastled.h
 15.   510.7 ms - Source: fl/stl/function.h
 16.   310.9 ms - Source: crgb.h
 17.   309.5 ms - Source: fl/gfx/crgb.h
 18.   304.5 ms - Source: fl/math/ease.h
 19.   302.0 ms - Source: fl/math/fixed_point.h
 20.   282.6 ms - Source: std_thread.h

PERFORMANCE FLAGS
--------------------------------------------------------------------------------
⚠️  SLOW HEADERS (>50.0ms):
    - FastLED.h (1995.0ms)
    - fl/task/executor.h (1166.5ms)
    - fl/task/scheduler.h (589.8ms)
    - fl/stl/singleton.h (579.7ms)
    - fl/stl/thread_local.h (578.9ms)
    - fl/stl/thread.h (577.6ms)
    - platforms/thread.h (577.5ms)
    - platforms/stub/thread_stub.h (577.5ms)
    - platforms/stub/thread_stub_stl.h (577.4ms)
    - fl/task/promise.h (562.4ms)

⚠️  Template instantiation time is high (24.9% of total)
✓  Lexing time is acceptable (<10% of total)

RECOMMENDATIONS
--------------------------------------------------------------------------------
1. Consider optimizing FastLED.h (1995.0ms)
2. Consider optimizing fl/task/executor.h (1166.5ms)
3. Consider optimizing fl/task/scheduler.h (589.8ms)

================================================================================

… parts

CodeRabbit review flagged that __AVR_ATtinyxy4__ and __AVR_ATtinyxy6__
wildcards span parts with up to 3KB SRAM (ATtiny1624=2KB, ATtiny3224=
3KB), which would incorrectly trip SKETCH_HAS_TINY_MEMORY=1 on parts
that fit standard sketches.

Drop the xy4/xy6 wildcards and rely on explicit per-part defines plus
the ATtinyxy2 wildcard (which only spans <=256B parts). ATtiny1604
(1KB) is the largest tiny-memory part — larger 1-series/2-series xy4
variants (ATtiny1614/1624 @ 2KB, ATtiny3214/3224 @ 2-3KB) are now
correctly classified as 'low'.

Updated sketch_macros.h comments to match.
@zackees
zackees merged commit 92bcb72 into master Apr 17, 2026
66 of 84 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

📊 Header Compilation Performance

Total Time: 1151.80ms

Top 5 Slowest Headers

  1. FastLED.h - 876.89ms
  2. fl/fastled.h - 382.57ms
  3. fl/task/executor.h - 281.84ms
  4. crgb.h - 217.98ms
  5. fl/gfx/crgb.h - 216.65ms

Warnings

⚠️ Header FastLED.h exceeds 150ms (876.9ms)
⚠️ Header fl/fastled.h exceeds 150ms (382.6ms)
⚠️ Header fl/task/executor.h exceeds 150ms (281.8ms)
⚠️ Header crgb.h exceeds 150ms (218.0ms)
⚠️ Header fl/gfx/crgb.h exceeds 150ms (216.7ms)
⚠️ Header fl/math/ease.h exceeds 150ms (211.7ms)
⚠️ Header fl/math/fixed_point.h exceeds 150ms (209.3ms)
⚠️ Header fl/task/scheduler.h exceeds 50ms (147.7ms)
⚠️ Header fl/stl/singleton.h exceeds 50ms (138.4ms)
⚠️ Header fl/stl/thread_local.h exceeds 50ms (137.6ms)
⚠️ Header fl/stl/thread.h exceeds 50ms (136.6ms)
⚠️ Header platforms/thread.h exceeds 50ms (136.5ms)
⚠️ Header platforms/stub/thread_stub.h exceeds 50ms (136.5ms)
⚠️ Header platforms/stub/thread_stub_stl.h exceeds 50ms (136.4ms)
⚠️ Header fl/task/promise.h exceeds 50ms (120.7ms)
⚠️ Header fl/ui.h exceeds 50ms (118.7ms)
⚠️ Header fl/stl/json.h exceeds 50ms (76.6ms)
⚠️ Header fl/stl/function.h exceeds 50ms (72.0ms)
⚠️ Header fl/math/fixed_point/s4x12.h exceeds 50ms (62.6ms)
⚠️ Header fl/stl/json/types.h exceeds 50ms (59.3ms)
⚠️ Header platforms.h exceeds 50ms (55.9ms)
⚠️ Header platforms/stub/fastled_stub.h exceeds 50ms (55.8ms)
⚠️ Template instantiation time is high (52.6%)

Full Report
================================================================================
FASTLED COMPILATION PERFORMANCE REPORT
================================================================================
Generated: 2026-04-17 09:34:11
Compiler: clang++-17
File: ci/perf/test_compile.cpp

SUMMARY
--------------------------------------------------------------------------------
Total Compilation Time:    1,892.96 ms
Frontend Time:             17.38 ms (0.9%)
Backend Time:              173.33 ms (9.2%)

COMPILATION PHASES
--------------------------------------------------------------------------------
Source                    11196.57 ms (591.5%)
Templates                   600.87 ms ( 31.7%)

FASTLED HEADERS (Level 1 - Direct Includes)
--------------------------------------------------------------------------------
  1424.1 ms - FastLED.h (SLOW)
   760.8 ms - fl/task/executor.h (SLOW)
   421.6 ms - fl/fastled.h (SLOW)
   399.5 ms - fl/task/promise.h (SLOW)
   349.5 ms - fl/stl/function.h (SLOW)
   347.0 ms - fl/task/scheduler.h (SLOW)
   337.2 ms - fl/stl/singleton.h (SLOW)
   336.5 ms - fl/stl/thread_local.h (SLOW)
   335.3 ms - fl/stl/thread.h (SLOW)
   335.2 ms - platforms/thread.h (SLOW)
   335.2 ms - platforms/stub/thread_stub.h (SLOW)
   335.1 ms - platforms/stub/thread_stub_stl.h (SLOW)
   236.1 ms - crgb.h (SLOW)
   234.8 ms - fl/gfx/crgb.h (SLOW)
   229.8 ms - fl/math/ease.h (SLOW)
   227.4 ms - fl/math/fixed_point.h (SLOW)
   122.6 ms - fl/stl/shared_ptr.h (SLOW)
   120.9 ms - fl/stl/vector.h (SLOW)
   117.0 ms - fl/ui.h (SLOW)
    91.9 ms - fl/stl/type_traits.h (SLOW)

FASTLED HEADERS (Nested Includes - Up to 10 Levels)
--------------------------------------------------------------------------------
FastLED.h (1424.1ms)
  ├─  760.8 ms - fl/task/executor.h
  │ ├─  399.5 ms - fl/task/promise.h
  │ │ ├─  349.5 ms - fl/stl/function.h
  │ │ │ ├─  122.6 ms - fl/stl/shared_ptr.h
  │ │ │ │ ├─   91.9 ms - fl/stl/type_traits.h
  │ │ │ │ │ └─   85.3 ms - fl/stl/move.h
  │ │ │ │ ├─   25.6 ms - fl/stl/atomic.h
  │ │ │ │ │ └─   24.6 ms - platforms/atomic.h
  │ │ │ │ │   └─   24.5 ms - platforms/shared/atomic.h
  │ │ │ │ └─    0.8 ms - fl/stl/bit_cast.h
  │ │ │ ├─  120.9 ms - fl/stl/vector.h
  │ │ │ │ ├─   77.7 ms - fl/math/math.h
  │ │ │ │ │ └─   72.0 ms - fl/stl/undef.h
  │ │ │ │ │   └─  109.6 ms - stdlib.h
  │ │ │ │ │     ├─   59.0 ms - cstdlib
  │ │ │ │ │     │ └─  109.6 ms - stdlib.h
  │ │ │ │ │     │   ├─   59.0 ms - cstdlib
  │ │ │ │ │     │   ├─   12.7 ms - types.h
  │ │ │ │ │     │   └─    0.5 ms - floatn.h
  │ │ │ │ │     ├─   12.7 ms - types.h
  │ │ │ │ │     │ ├─   12.7 ms - types.h
  │ │ │ │ │     │ │ ├─   12.7 ms - types.h
  │ │ │ │ │     │ │ ├─    3.3 ms - select.h
  │ │ │ │ │     │ │ ├─    2.4 ms - pthreadtypes.h
  │ │ │ │ │     │ │ └─    1.8 ms - endian.h
  │ │ │ │ │     │ ├─    3.3 ms - select.h
  │ │ │ │ │     │ ├─    2.4 ms - pthreadtypes.h
  │ │ │ │ │     │ │ └─    1.8 ms - thread-shared-types.h
  │ │ │ │ │     │ └─    1.8 ms - endian.h
  │ │ │ │ │     └─    0.5 ms - floatn.h
  │ │ │ │ ├─   18.5 ms - fl/stl/allocator.h
  │ │ │ │ │ └─   12.7 ms - fl/stl/bitset.h
  │ │ │ │ │   └─    8.1 ms - fl/stl/bitset_dynamic.h
  │ │ │ │ │     └─    2.2 ms - fl/stl/unique_ptr.h
  │ │ │ │ ├─   13.8 ms - fl/stl/initializer_list.h
  │ │ │ │ ├─    2.8 ms - fl/stl/basic_vector.h
  │ │ │ │ └─    0.8 ms - fl/stl/functional.h
  │ │ │ ├─   73.7 ms - fl/stl/variant.h
  │ │ │ │ └─   71.8 ms - fl/stl/new.h
  │ │ │ │   └─   71.7 ms - platforms/new.h
  │ │ │ │     └─   71.7 ms - platforms/shared/new.h
  │ │ │ │       └─   48.8 ms - new
  │ │ │ │         ├─   12.1 ms - c++config.h
  │ │ │ │         │ └─    6.0 ms - os_defines.h
  │ │ │ │         └─    0.5 ms - version.h
  │ │ │ ├─   22.0 ms - fl/stl/compiler_control.h
  │ │ │ └─    4.7 ms - fl/stl/algorithm.h
  │ │ │   └─    2.0 ms - fl/math/random.h
  │ │ │     └─    0.9 ms - fl/math/random8.h
  │ │ └─   44.6 ms - fl/stl/string.h
  │ │   ├─   12.9 ms - fl/stl/basic_string.h
  │ │   │ ├─    1.0 ms - fl/stl/not_null.h
  │ │   │ ├─    0.9 ms - fl/stl/iterator.h
  │ │   │ └─    0.5 ms - fl/stl/charconv.h
  │ │   ├─    8.8 ms - fl/stl/span.h
  │ │   │ └─    3.5 ms - fl/math/geometry.h
  │ │   ├─    5.7 ms - fl/stl/string_view.h
  │ │   └─    1.5 ms - fl/stl/optional.h
  │ ├─  347.0 ms - fl/task/scheduler.h
  │ │ ├─  337.2 ms - fl/stl/singleton.h
  │ │ │ └─  336.5 ms - fl/stl/thread_local.h
  │ │ │   └─  335.3 ms - fl/stl/thread.h
  │ │ │     └─  335.2 ms - platforms/thread.h
  │ │ │       └─  335.2 ms - platforms/stub/thread_stub.h
  │ │ │         └─  335.1 ms - platforms/stub/thread_stub_stl.h
  │ │ │           └─  330.3 ms - thread
  │ │ │             ├─  184.8 ms - std_thread.h
  │ │ │             └─  112.1 ms - this_thread_sleep.h
  │ │ └─    8.9 ms - fl/task/task.h
  │ │   └─    3.6 ms - fl/trace.h
  │ │     ├─    2.3 ms - fl/stl/chrono.h
  │ │     └─    1.0 ms - fl/stl/tuple.h
  │ ├─   11.9 ms - platforms/await.h
  │ │ └─   11.5 ms - platforms/coroutine_runtime.h
  │ │   └─    9.9 ms - fl/system/engine_events.h
  │ │     ├─    5.3 ms - fl/math/screenmap.h
  │ │     │ └─    4.1 ms - fl/stl/flat_map.h
  │ │     └─    3.0 ms - fl/math/xymap.h
  │ │       └─    0.8 ms - fl/math/lut.h
  │ └─    0.8 ms - fl/task/promise_result.h
  ├─  421.6 ms - fl/fastled.h
  │ ├─  236.1 ms - crgb.h
  │ │ ├─  234.8 ms - fl/gfx/crgb.h
  │ │ │ └─  229.8 ms - fl/math/ease.h
  │ │ │   └─  227.4 ms - fl/math/fixed_point.h
  │ │ │     ├─   81.2 ms - fl/math/fixed_point/s4x12.h
  │ │ │     │ ├─   60.8 ms - fl/math/sin32.h
  │ │ │     │ │ └─   57.5 ms - fl/math/simd.h
  │ │ │     │ │   └─   57.0 ms - fl/math/simd/types.h
  │ │ │     │ │     └─   56.7 ms - platforms/simd.h
  │ │ │     │ ├─    1.0 ms - fl/math/fixed_point/traits.h
  │ │ │     │ └─    0.7 ms - fl/math/fixed_point/isqrt.h
  │ │ │     ├─   18.6 ms - fl/math/fixed_point/s8x8.h
  │ │ │     ├─   18.4 ms - fl/math/fixed_point/s8x24.h
  │ │ │     ├─   18.2 ms - fl/math/fixed_point/s16x16.h
  │ │ │     └─   18.1 ms - fl/math/fixed_point/s24x8.h
  │ │ └─    0.9 ms - chsv.h
  │ │   └─    0.8 ms - fl/gfx/hsv.h
  │ ├─   75.9 ms - platforms.h
  │ │ └─   75.9 ms - platforms/stub/fastled_stub.h
  │ │   ├─   39.1 ms - platforms/stub/fastspi_stub.h
  │ │   │ └─   39.0 ms - platforms/stub/fastspi_stub_generic.h
  │ │   │   ├─   32.7 ms - platforms/shared/active_strip_data/active_strip_data.h
  │ │   │   │ └─   30.5 ms - fl/id_tracker.h
  │ │   │   │   └─   29.4 ms - fl/stl/mutex.h
  │ │   │   │     └─   29.4 ms - platforms/mutex.h
  │ │   │   │       └─   29.2 ms - platforms/stub/mutex_stub.h
  │ │   │   └─    6.0 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │ │   └─   36.7 ms - platforms/stub/clockless_stub.h
  │ │     └─   36.7 ms - platforms/stub/clockless_channel_stub.h
  │ │       ├─   13.2 ms - fl/channels/data.h
  │ │       │ └─    9.8 ms - fl/channels/config.h
  │ │       │   ├─    2.1 ms - fl/chipsets/chipset_timing_config.h
  │ │       │   │ └─    1.4 ms - fl/chipsets/led_timing.h
  │ │       │   └─    1.7 ms - fl/chipsets/spi.h
  │ │       ├─   12.9 ms - fl/system/log.h
  │ │       │ └─   12.5 ms - fl/stl/strstream.h
  │ │       ├─    2.3 ms - fl/channels/manager.h
  │ │       ├─    1.6 ms - fl/stl/weak_ptr.h
  │ │       └─    1.1 ms - fl/channels/driver.h
  │ ├─   41.3 ms - colorutils.h
  │ │ └─   40.5 ms - fl/gfx/colorutils.h
  │ │   ├─    8.7 ms - fl/gfx/blur.h
  │ │   │ └─    4.6 ms - fl/gfx/canvas.h
  │ │   │   └─    2.8 ms - fl/math/alpha.h
  │ │   └─    3.1 ms - fl/gfx/fill.h
  │ ├─   23.7 ms - pixel_controller.h
  │ │ ├─   17.1 ms - pixel_iterator.h
  │ │ │ └─   17.0 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │ │   ├─    5.1 ms - fl/chipsets/encoders/apa102.h
  │ │ │   │ └─    3.9 ms - fl/chipsets/encoders/encoder_utils.h
  │ │ │   │   └─    3.3 ms - fl/gfx/gamma_lut.h
  │ │ │   ├─    4.5 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │ │   ├─    1.0 ms - fl/chipsets/encoders/sk9822.h
  │ │ │   └─    0.8 ms - fl/chipsets/encoders/hd108.h
  │ │ └─    2.6 ms - rgbw.h
  │ │   └─    2.4 ms - fl/gfx/rgbw.h
  │ └─   23.0 ms - pixeltypes.h
  │   ├─   19.3 ms - lib8tion.h
  │   │ ├─   10.1 ms - fl/math/math8.h
  │   │ │ ├─    5.4 ms - fl/math/intmap.h
  │   │ │ │ └─    4.2 ms - platforms/intmap.h
  │   │ │ ├─    2.4 ms - fl/math/scale8.h
  │   │ │ │ └─    2.4 ms - platforms/scale8.h
  │   │ │ │   └─    1.0 ms - platforms/shared/scale8.h
  │   │ │ └─    2.1 ms - platforms/math8.h
  │   │ │   └─    1.6 ms - platforms/shared/math8.h
  │   │ ├─    2.0 ms - fl/math/beat.h
  │   │ │ └─    1.1 ms - fl/math/trig8.h
  │   │ │   └─    1.0 ms - platforms/trig8.h
  │   │ │     └─    0.9 ms - platforms/shared/trig8.h
  │   │ └─    0.5 ms - fl/math/qfx.h
  │   └─    3.2 ms - crgb.hpp
  ├─  117.0 ms - fl/ui.h
  │ ├─   75.6 ms - fl/stl/json.h
  │ │ └─   58.5 ms - fl/stl/json/types.h
  │ │   └─    7.4 ms - fl/stl/limits.h
  │ ├─   10.3 ms - fl/ui_impl.h
  │ │ └─    9.7 ms - platforms/ui_defs.h
  │ │   ├─    2.1 ms - platforms/shared/ui/json/audio.h
  │ │   │ └─    1.1 ms - platforms/shared/ui/json/audio_internal.h
  │ │   ├─    1.6 ms - platforms/shared/ui/json/button.h
  │ │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │ │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │ │   ├─    0.8 ms - platforms/shared/ui/json/checkbox.h
  │ │   └─    0.8 ms - platforms/shared/ui/json/number_field.h
  │ └─    5.9 ms - fl/stl/url.h
  ├─   29.1 ms - fl/stl/stdint.h
  │ └─   28.9 ms - platforms/int.h
  │   └─   28.4 ms - platforms/shared/int.h
  │     └─   28.3 ms - platforms/shared/int_linux.h
  └─   27.9 ms - chipsets.h
    ├─   11.3 ms - fl/chipsets/ucs7604.h
    │ └─    8.5 ms - fl/chipsets/encoders/ucs7604.h
    ├─    6.5 ms - fl/chipsets/apa102.h
    ├─    1.7 ms - fl/chipsets/lpd880x.h
    ├─    0.9 ms - fl/chipsets/encoders/ws2816.h
    └─    0.8 ms - fl/chipsets/p9813.h
fl/task/executor.h (760.8ms)
  ├─  399.5 ms - fl/task/promise.h
  │ ├─  349.5 ms - fl/stl/function.h
  │ │ ├─  122.6 ms - fl/stl/shared_ptr.h
  │ │ │ ├─   91.9 ms - fl/stl/type_traits.h
  │ │ │ │ └─   85.3 ms - fl/stl/move.h
  │ │ │ ├─   25.6 ms - fl/stl/atomic.h
  │ │ │ │ └─   24.6 ms - platforms/atomic.h
  │ │ │ │   └─   24.5 ms - platforms/shared/atomic.h
  │ │ │ └─    0.8 ms - fl/stl/bit_cast.h
  │ │ ├─  120.9 ms - fl/stl/vector.h
  │ │ │ ├─   77.7 ms - fl/math/math.h
  │ │ │ │ └─   72.0 ms - fl/stl/undef.h
  │ │ │ │   └─  109.6 ms - stdlib.h
  │ │ │ │     ├─   59.0 ms - cstdlib
  │ │ │ │     │ └─  109.6 ms - stdlib.h
  │ │ │ │     │   ├─   59.0 ms - cstdlib
  │ │ │ │     │   │ └─  109.6 ms - stdlib.h
  │ │ │ │     │   ├─   12.7 ms - types.h
  │ │ │ │     │   │ ├─   12.7 ms - types.h
  │ │ │ │     │   │ ├─    3.3 ms - select.h
  │ │ │ │     │   │ ├─    2.4 ms - pthreadtypes.h
  │ │ │ │     │   │ └─    1.8 ms - endian.h
  │ │ │ │     │   └─    0.5 ms - floatn.h
  │ │ │ │     ├─   12.7 ms - types.h
  │ │ │ │     │ ├─   12.7 ms - types.h
  │ │ │ │     │ │ ├─   12.7 ms - types.h
  │ │ │ │     │ │ │ ├─   12.7 ms - types.h
  │ │ │ │     │ │ │ ├─    3.3 ms - select.h
  │ │ │ │     │ │ │ ├─    2.4 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─    1.8 ms - endian.h
  │ │ │ │     │ │ ├─    3.3 ms - select.h
  │ │ │ │     │ │ ├─    2.4 ms - pthreadtypes.h
  │ │ │ │     │ │ │ └─    1.8 ms - thread-shared-types.h
  │ │ │ │     │ │ └─    1.8 ms - endian.h
  │ │ │ │     │ ├─    3.3 ms - select.h
  │ │ │ │     │ ├─    2.4 ms - pthreadtypes.h
  │ │ │ │     │ │ └─    1.8 ms - thread-shared-types.h
  │ │ │ │     │ └─    1.8 ms - endian.h
  │ │ │ │     └─    0.5 ms - floatn.h
  │ │ │ ├─   18.5 ms - fl/stl/allocator.h
  │ │ │ │ └─   12.7 ms - fl/stl/bitset.h
  │ │ │ │   └─    8.1 ms - fl/stl/bitset_dynamic.h
  │ │ │ │     └─    2.2 ms - fl/stl/unique_ptr.h
  │ │ │ ├─   13.8 ms - fl/stl/initializer_list.h
  │ │ │ ├─    2.8 ms - fl/stl/basic_vector.h
  │ │ │ └─    0.8 ms - fl/stl/functional.h
  │ │ ├─   73.7 ms - fl/stl/variant.h
  │ │ │ └─   71.8 ms - fl/stl/new.h
  │ │ │   └─   71.7 ms - platforms/new.h
  │ │ │     └─   71.7 ms - platforms/shared/new.h
  │ │ │       └─   48.8 ms - new
  │ │ │         ├─   12.1 ms - c++config.h
  │ │ │         │ └─    6.0 ms - os_defines.h
  │ │ │         │   └─    5.6 ms - features.h
  │ │ │         └─    0.5 ms - version.h
  │ │ ├─   22.0 ms - fl/stl/compiler_control.h
  │ │ └─    4.7 ms - fl/stl/algorithm.h
  │ │   └─    2.0 ms - fl/math/random.h
  │ │     └─    0.9 ms - fl/math/random8.h
  │ └─   44.6 ms - fl/stl/string.h
  │   ├─   12.9 ms - fl/stl/basic_string.h
  │   │ ├─    1.0 ms - fl/stl/not_null.h
  │   │ ├─    0.9 ms - fl/stl/iterator.h
  │   │ └─    0.5 ms - fl/stl/charconv.h
  │   ├─    8.8 ms - fl/stl/span.h
  │   │ └─    3.5 ms - fl/math/geometry.h
  │   ├─    5.7 ms - fl/stl/string_view.h
  │   └─    1.5 ms - fl/stl/optional.h
  ├─  347.0 ms - fl/task/scheduler.h
  │ ├─  337.2 ms - fl/stl/singleton.h
  │ │ └─  336.5 ms - fl/stl/thread_local.h
  │ │   └─  335.3 ms - fl/stl/thread.h
  │ │     └─  335.2 ms - platforms/thread.h
  │ │       └─  335.2 ms - platforms/stub/thread_stub.h
  │ │         └─  335.1 ms - platforms/stub/thread_stub_stl.h
  │ │           └─  330.3 ms - thread
  │ │             ├─  184.8 ms - std_thread.h
  │ │             │ ├─   57.1 ms - tuple
  │ │             │ ├─   33.8 ms - iosfwd
  │ │             │ ├─   21.2 ms - refwrap.h
  │ │             │ ├─   15.1 ms - gthr.h
  │ │             │ └─    9.4 ms - unique_ptr.h
  │ │             └─  112.1 ms - this_thread_sleep.h
  │ │               ├─   90.3 ms - chrono.h
  │ │               └─    4.8 ms - cerrno
  │ └─    8.9 ms - fl/task/task.h
  │   └─    3.6 ms - fl/trace.h
  │     ├─    2.3 ms - fl/stl/chrono.h
  │     └─    1.0 ms - fl/stl/tuple.h
  ├─   11.9 ms - platforms/await.h
  │ └─   11.5 ms - platforms/coroutine_runtime.h
  │   └─    9.9 ms - fl/system/engine_events.h
  │     ├─    5.3 ms - fl/math/screenmap.h
  │     │ └─    4.1 ms - fl/stl/flat_map.h
  │     └─    3.0 ms - fl/math/xymap.h
  │       └─    0.8 ms - fl/math/lut.h
  └─    0.8 ms - fl/task/promise_result.h
fl/fastled.h (421.6ms)
  ├─  236.1 ms - crgb.h
  │ ├─  234.8 ms - fl/gfx/crgb.h
  │ │ └─  229.8 ms - fl/math/ease.h
  │ │   └─  227.4 ms - fl/math/fixed_point.h
  │ │     ├─   81.2 ms - fl/math/fixed_point/s4x12.h
  │ │     │ ├─   60.8 ms - fl/math/sin32.h
  │ │     │ │ └─   57.5 ms - fl/math/simd.h
  │ │     │ │   └─   57.0 ms - fl/math/simd/types.h
  │ │     │ │     └─   56.7 ms - platforms/simd.h
  │ │     │ │       └─   56.7 ms - platforms/shared/simd_x86.hpp
  │ │     │ ├─    1.0 ms - fl/math/fixed_point/traits.h
  │ │     │ └─    0.7 ms - fl/math/fixed_point/isqrt.h
  │ │     ├─   18.6 ms - fl/math/fixed_point/s8x8.h
  │ │     ├─   18.4 ms - fl/math/fixed_point/s8x24.h
  │ │     ├─   18.2 ms - fl/math/fixed_point/s16x16.h
  │ │     └─   18.1 ms - fl/math/fixed_point/s24x8.h
  │ └─    0.9 ms - chsv.h
  │   └─    0.8 ms - fl/gfx/hsv.h
  ├─   75.9 ms - platforms.h
  │ └─   75.9 ms - platforms/stub/fastled_stub.h
  │   ├─   39.1 ms - platforms/stub/fastspi_stub.h
  │   │ └─   39.0 ms - platforms/stub/fastspi_stub_generic.h
  │   │   ├─   32.7 ms - platforms/shared/active_strip_data/active_strip_data.h
  │   │   │ └─   30.5 ms - fl/id_tracker.h
  │   │   │   └─   29.4 ms - fl/stl/mutex.h
  │   │   │     └─   29.4 ms - platforms/mutex.h
  │   │   │       └─   29.2 ms - platforms/stub/mutex_stub.h
  │   │   │         └─   29.2 ms - platforms/stub/mutex_stub_stl.h
  │   │   └─    6.0 ms - platforms/shared/active_strip_tracker/active_strip_tracker.h
  │   └─   36.7 ms - platforms/stub/clockless_stub.h
  │     └─   36.7 ms - platforms/stub/clockless_channel_stub.h
  │       ├─   13.2 ms - fl/channels/data.h
  │       │ └─    9.8 ms - fl/channels/config.h
  │       │   ├─    2.1 ms - fl/chipsets/chipset_timing_config.h
  │       │   │ └─    1.4 ms - fl/chipsets/led_timing.h
  │       │   └─    1.7 ms - fl/chipsets/spi.h
  │       ├─   12.9 ms - fl/system/log.h
  │       │ └─   12.5 ms - fl/stl/strstream.h
  │       ├─    2.3 ms - fl/channels/manager.h
  │       ├─    1.6 ms - fl/stl/weak_ptr.h
  │       └─    1.1 ms - fl/channels/driver.h
  ├─   41.3 ms - colorutils.h
  │ └─   40.5 ms - fl/gfx/colorutils.h
  │   ├─    8.7 ms - fl/gfx/blur.h
  │   │ └─    4.6 ms - fl/gfx/canvas.h
  │   │   └─    2.8 ms - fl/math/alpha.h
  │   └─    3.1 ms - fl/gfx/fill.h
  ├─   23.7 ms - pixel_controller.h
  │ ├─   17.1 ms - pixel_iterator.h
  │ │ └─   17.0 ms - fl/chipsets/encoders/pixel_iterator.h
  │ │   ├─    5.1 ms - fl/chipsets/encoders/apa102.h
  │ │   │ └─    3.9 ms - fl/chipsets/encoders/encoder_utils.h
  │ │   │   └─    3.3 ms - fl/gfx/gamma_lut.h
  │ │   ├─    4.5 ms - fl/chipsets/encoders/pixel_iterator_adapters.h
  │ │   ├─    1.0 ms - fl/chipsets/encoders/sk9822.h
  │ │   └─    0.8 ms - fl/chipsets/encoders/hd108.h
  │ └─    2.6 ms - rgbw.h
  │   └─    2.4 ms - fl/gfx/rgbw.h
  └─   23.0 ms - pixeltypes.h
    ├─   19.3 ms - lib8tion.h
    │ ├─   10.1 ms - fl/math/math8.h
    │ │ ├─    5.4 ms - fl/math/intmap.h
    │ │ │ └─    4.2 ms - platforms/intmap.h
    │ │ ├─    2.4 ms - fl/math/scale8.h
    │ │ │ └─    2.4 ms - platforms/scale8.h
    │ │ │   └─    1.0 ms - platforms/shared/scale8.h
    │ │ └─    2.1 ms - platforms/math8.h
    │ │   └─    1.6 ms - platforms/shared/math8.h
    │ ├─    2.0 ms - fl/math/beat.h
    │ │ └─    1.1 ms - fl/math/trig8.h
    │ │   └─    1.0 ms - platforms/trig8.h
    │ │     └─    0.9 ms - platforms/shared/trig8.h
    │ └─    0.5 ms - fl/math/qfx.h
    └─    3.2 ms - crgb.hpp
fl/ui.h (117.0ms)
  ├─   75.6 ms - fl/stl/json.h
  │ └─   58.5 ms - fl/stl/json/types.h
  │   └─    7.4 ms - fl/stl/limits.h
  ├─   10.3 ms - fl/ui_impl.h
  │ └─    9.7 ms - platforms/ui_defs.h
  │   ├─    2.1 ms - platforms/shared/ui/json/audio.h
  │   │ └─    1.1 ms - platforms/shared/ui/json/audio_internal.h
  │   ├─    1.6 ms - platforms/shared/ui/json/button.h
  │   │ └─    0.6 ms - platforms/shared/ui/json/ui_internal.h
  │   ├─    0.9 ms - platforms/shared/ui/json/help.h
  │   ├─    0.8 ms - platforms/shared/ui/json/checkbox.h
  │   └─    0.8 ms - platforms/shared/ui/json/number_field.h
  └─    5.9 ms - fl/stl/url.h
fl/stl/stdint.h (29.1ms)
  └─   28.9 ms - platforms/int.h
    └─   28.4 ms - platforms/shared/int.h
      └─   28.3 ms - platforms/shared/int_linux.h

TOP 20 SLOWEST OPERATIONS
--------------------------------------------------------------------------------
  1.  1424.1 ms - Source: FastLED.h
  2.  1424.1 ms - Total Source: 
  3.   760.8 ms - Source: fl/task/executor.h
  4.   661.3 ms - Total ParseClass: 
  5.   421.6 ms - Source: fl/fastled.h
  6.   399.5 ms - Source: fl/task/promise.h
  7.   349.5 ms - Source: fl/stl/function.h
  8.   347.0 ms - Source: fl/task/scheduler.h
  9.   337.2 ms - Source: fl/stl/singleton.h
 10.   336.5 ms - Source: fl/stl/thread_local.h
 11.   335.3 ms - Source: fl/stl/thread.h
 12.   335.2 ms - Source: platforms/thread.h
 13.   335.2 ms - Source: platforms/stub/thread_stub.h
 14.   335.1 ms - Source: platforms/stub/thread_stub_stl.h
 15.   330.3 ms - Source: thread
 16.   236.1 ms - Source: crgb.h
 17.   234.8 ms - Source: fl/gfx/crgb.h
 18.   229.8 ms - Source: fl/math/ease.h
 19.   227.4 ms - Source: fl/math/fixed_point.h
 20.   217.3 ms - Total InstantiateFunction: 

PERFORMANCE FLAGS
--------------------------------------------------------------------------------
⚠️  SLOW HEADERS (>50.0ms):
    - FastLED.h (1424.1ms)
    - fl/task/executor.h (760.8ms)
    - fl/fastled.h (421.6ms)
    - fl/task/promise.h (399.5ms)
    - fl/stl/function.h (349.5ms)
    - fl/task/scheduler.h (347.0ms)
    - fl/stl/singleton.h (337.2ms)
    - fl/stl/thread_local.h (336.5ms)
    - fl/stl/thread.h (335.3ms)
    - platforms/thread.h (335.2ms)

⚠️  Template instantiation time is high (31.7% of total)
✓  Lexing time is acceptable (<10% of total)

RECOMMENDATIONS
--------------------------------------------------------------------------------
1. Consider optimizing FastLED.h (1424.1ms)
2. Consider optimizing fl/task/executor.h (760.8ms)
3. Consider optimizing fl/fastled.h (421.6ms)

================================================================================

@zackees
zackees deleted the feat/tiny-memory-tier-attiny1604 branch May 30, 2026 20:02
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