Skip to content

chore(core): Clean up Writable mapping#1933

Merged
marc2332 merged 2 commits into
mainfrom
chore/clean-up-writable-readable-mapping
Jun 5, 2026
Merged

chore(core): Clean up Writable mapping#1933
marc2332 merged 2 commits into
mainfrom
chore/clean-up-writable-readable-mapping

Conversation

@marc2332

@marc2332 marc2332 commented Jun 4, 2026

Copy link
Copy Markdown
Owner

oopsie.

@marc2332 marc2332 added this to the 0.4.0 milestone Jun 4, 2026
@marc2332 marc2332 self-assigned this Jun 4, 2026
@marc2332 marc2332 added the enhancement 🔥 New feature or request label Jun 4, 2026
@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.34%. Comparing base (6c26a86) to head (8f565a2).

Files with missing lines Patch % Lines
crates/freya-core/src/lifecycle/writable.rs 0.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1933   +/-   ##
=======================================
  Coverage   60.34%   60.34%           
=======================================
  Files         326      326           
  Lines       41883    41883           
=======================================
  Hits        25276    25276           
  Misses      16607    16607           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Performance Comparison mainchore/clean-up-writable-readable-mapping

Total Elapsed Time: 73.45ms → 74.53ms (+1.5%)
CPU Baseline: 90.57µs → 89.07µs (-1.7%)
Benchmark ID: alloc

timing - Function execution time metrics.

+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| Function                          | Calls                    | Avg                              | P33                              | P66                             | P95                              | P99                              | Total                          | % Total                      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| dev_perf::main                    | 1 → 1 (+0.0%)            | 73.17ms → 74.22ms (+1.4%)        | 73.20ms → 74.25ms (+1.4%)        | 73.20ms → 74.25ms (+1.4%)       | 73.20ms → 74.25ms (+1.4%)        | 73.20ms → 74.25ms (+1.4%)        | 73.16ms → 74.20ms (+1.4%)      | 100.00% → 100.00% (+0.0%)    |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| runner::run_scope                 | 32025 → 32025 (+0.0%)    | 1.69µs → 1.72µs (+1.8%)          | 10.00ns → 30.00ns (+200.0%) ⚠️   | 20.00ns → 30.00ns (+50.0%) ⚠️   | 40.00ns → 40.00ns (+0.0%)        | 60.00ns → 50.00ns (-16.7%)       | 54.15ms → 55.03ms (+1.6%)      | 74.01% → 74.17% (+0.2%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| runner::sync_and_update           | 3 → 3 (+0.0%)            | 14.00ms → 14.55ms (+3.9%)        | 8.25ms → 8.64ms (+4.7%)          | 8.99ms → 10.59ms (+17.8%)       | 24.77ms → 24.44ms (-1.3%)        | 24.77ms → 24.44ms (-1.3%)        | 41.99ms → 43.66ms (+4.0%)      | 57.39% → 58.84% (+2.5%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| tree::apply_mutations             | 3 → 3 (+0.0%)            | 9.94ms → 9.71ms (-2.3%)          | 2.66ms → 2.13ms (-19.9%)         | 9.52ms → 9.90ms (+4.0%)         | 17.65ms → 17.10ms (-3.1%)        | 17.65ms → 17.10ms (-3.1%)        | 29.81ms → 29.13ms (-2.3%)      | 40.75% → 39.25% (-3.7%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| path_element::from_element        | 32025 → 32025 (+0.0%)    | 526.00ns → 634.00ns (+20.5%) ⚠️  | 40.00ns → 60.00ns (+50.0%) ⚠️    | 50.00ns → 70.00ns (+40.0%) ⚠️   | 90.00ns → 100.00ns (+11.1%)      | 91.00ns → 121.00ns (+33.0%) ⚠️   | 16.85ms → 20.31ms (+20.5%) ⚠️  | 23.04% → 27.37% (+18.8%)     |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| path_element::diff                | 32025 → 32025 (+0.0%)    | 452.00ns → 542.00ns (+19.9%)     | 60.00ns → 60.00ns (+0.0%)        | 70.00ns → 90.00ns (+28.6%) ⚠️   | 190.00ns → 281.00ns (+47.9%) ⚠️  | 1.06µs → 531.00ns (-49.9%) 🚀    | 14.50ms → 17.36ms (+19.7%)     | 19.83% → 23.40% (+18.0%)     |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| mutations run                     | 3 → 3 (+0.0%)            | 4.17ms → 4.24ms (+1.7%)          | 4.25µs → 4.48µs (+5.4%)          | 2.98ms → 2.82ms (-5.4%)         | 9.52ms → 9.90ms (+4.0%)          | 9.52ms → 9.90ms (+4.0%)          | 12.49ms → 12.72ms (+1.8%)      | 17.08% → 17.14% (+0.4%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| Scope Rendering                   | 2 → 2 (+0.0%)            | 5.17ms → 4.60ms (-11.0%)         | 4.75ms → 4.26ms (-10.3%)         | 5.60ms → 4.96ms (-11.4%)        | 5.60ms → 4.96ms (-11.4%)         | 5.60ms → 4.96ms (-11.4%)         | 10.34ms → 9.21ms (-10.9%)      | 14.14% → 12.41% (-12.2%)     |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| runner::apply_diff                | 6 → 6 (+0.0%)            | 1.63ms → 1.53ms (-6.1%)          | 7.03µs → 6.76µs (-3.8%)          | 2.14ms → 2.15ms (+0.5%)         | 2.88ms → 2.51ms (-12.8%)         | 2.88ms → 2.51ms (-12.8%)         | 9.76ms → 9.19ms (-5.8%)        | 13.35% → 12.39% (-7.2%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| dirty run                         | 3 → 3 (+0.0%)            | 2.02ms → 1.96ms (-3.0%)          | 341.00ns → 491.00ns (+44.0%) ⚠️  | 2.05µs → 2.46µs (+20.0%)        | 6.07ms → 5.87ms (-3.3%)          | 6.07ms → 5.87ms (-3.3%)          | 6.07ms → 5.87ms (-3.3%)        | 8.30% → 7.91% (-4.7%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| text style cascade                | 3 → 3 (+0.0%)            | 1.85ms → 1.88ms (+1.6%)          | 50.00ns → 51.00ns (+2.0%)        | 1.60µs → 1.49µs (-6.9%)         | 5.54ms → 5.65ms (+2.0%)          | 5.54ms → 5.65ms (+2.0%)          | 5.54ms → 5.65ms (+2.0%)        | 7.57% → 7.61% (+0.5%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| layer cascade                     | 3 → 3 (+0.0%)            | 1.81ms → 1.59ms (-12.2%)         | 170.00ns → 50.00ns (-70.6%) 🚀   | 2.65ms → 2.13ms (-19.6%)        | 2.77ms → 2.63ms (-5.1%)          | 2.77ms → 2.63ms (-5.1%)          | 5.42ms → 4.75ms (-12.4%)       | 7.41% → 6.41% (-13.5%)       |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| runner::handle_events_immediately | 3 → 3 (+0.0%)            | 317.00ns → 330.00ns (+4.1%)      | 240.00ns → 140.00ns (-41.7%) 🚀  | 301.00ns → 321.00ns (+6.6%)     | 411.00ns → 531.00ns (+29.2%) ⚠️  | 411.00ns → 531.00ns (+29.2%) ⚠️  | 952.00ns → 992.00ns (+4.2%)    | 0.00% → 0.00% (+0.0%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+
| effect cascade                    | 3 → 3 (+0.0%)            | 153.00ns → 163.00ns (+6.5%)      | 100.00ns → 50.00ns (-50.0%) 🚀   | 161.00ns → 70.00ns (-56.5%) 🚀  | 200.00ns → 371.00ns (+85.5%) ⚠️  | 200.00ns → 371.00ns (+85.5%) ⚠️  | 461.00ns → 491.00ns (+6.5%)    | 0.00% → 0.00% (+0.0%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+--------------------------------+------------------------------+

alloc-bytes - Exclusive allocation bytes by each function (excluding nested calls).

+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| Function                          | Calls                    | Avg                          | P33                            | P66                          | P95                            | P99                            | Total                          | % Total                    |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| Scope Rendering                   | 2 → 2 (+0.0%)            | 6.9 MB → 6.9 MB (+0.0%)      | 6.9 MB → 6.9 MB (+0.0%)        | 6.9 MB → 6.9 MB (+0.0%)      | 6.9 MB → 6.9 MB (+0.0%)        | 6.9 MB → 6.9 MB (+0.0%)        | 13.8 MB → 13.8 MB (+0.0%)      | 22.23% → 22.23% (+0.0%)    |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| runner::apply_diff                | 6 → 6 (+0.0%)            | 1.6 MB → 1.6 MB (+0.0%)      | 604 B → 604 B (+0.0%)          | 1.4 MB → 1.4 MB (+0.0%)      | 3.3 MB → 3.3 MB (+0.0%)        | 3.3 MB → 3.3 MB (+0.0%)        | 9.4 MB → 9.4 MB (+0.0%)        | 15.13% → 15.13% (+0.0%)    |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| text style cascade                | 3 → 3 (+0.0%)            | 2.8 MB → 2.8 MB (+0.0%)      | 84 B → 84 B (+0.0%)            | 8.3 MB → 8.3 MB (+0.0%)      | 8.3 MB → 8.3 MB (+0.0%)        | 8.3 MB → 8.3 MB (+0.0%)        | 8.3 MB → 8.3 MB (+0.0%)        | 13.37% → 13.37% (+0.0%)    |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| runner::sync_and_update           | 3 → 3 (+0.0%)            | 2.8 MB → 2.8 MB (+0.0%)      | 1.1 KB → 1.1 KB (+0.0%)        | 1.4 MB → 1.4 MB (+0.0%)      | 6.9 MB → 6.9 MB (+0.0%)        | 6.9 MB → 6.9 MB (+0.0%)        | 8.3 MB → 8.3 MB (+0.0%)        | 13.35% → 13.35% (+0.0%)    |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| mutations run                     | 3 → 3 (+0.0%)            | 2.5 MB → 2.5 MB (+0.0%)      | 64 B → 64 B (+0.0%)            | 1.6 MB → 1.6 MB (+0.0%)      | 6.0 MB → 6.0 MB (+0.0%)        | 6.0 MB → 6.0 MB (+0.0%)        | 7.6 MB → 7.6 MB (+0.0%)        | 12.21% → 12.21% (+0.0%)    |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| dirty run                         | 3 → 3 (+0.0%)            | 1.4 MB → 1.4 MB (+0.0%)      | 64 B → 64 B (+0.0%)            | 4.2 MB → 4.2 MB (+0.0%)      | 4.2 MB → 4.2 MB (+0.0%)        | 4.2 MB → 4.2 MB (+0.0%)        | 4.2 MB → 4.2 MB (+0.0%)        | 6.76% → 6.76% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| layer cascade                     | 3 → 3 (+0.0%)            | 1.2 MB → 1.2 MB (+0.0%)      | 874.5 KB → 874.5 KB (+0.0%)    | 2.8 MB → 2.8 MB (+0.0%)      | 2.8 MB → 2.8 MB (+0.0%)        | 2.8 MB → 2.8 MB (+0.0%)        | 3.7 MB → 3.7 MB (+0.0%)        | 5.97% → 5.97% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| path_element::from_element        | 32025 → 32025 (+0.0%)    | 107 B → 107 B (+0.0%)        | 12 B → 12 B (+0.0%)            | 12 B → 12 B (+0.0%)          | 12 B → 12 B (+0.0%)            | 12 B → 12 B (+0.0%)            | 3.3 MB → 3.3 MB (+0.0%)        | 5.32% → 5.32% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| path_element::diff                | 32025 → 32025 (+0.0%)    | 104 B → 104 B (+0.0%)        | 12 B → 12 B (+0.0%)            | 12 B → 12 B (+0.0%)          | 12 B → 12 B (+0.0%)            | 12 B → 12 B (+0.0%)            | 3.2 MB → 3.2 MB (+0.0%)        | 5.14% → 5.14% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| tree::apply_mutations             | 3 → 3 (+0.0%)            | 96.3 KB → 96.3 KB (+0.0%)    | 52 B → 52 B (+0.0%)            | 52 B → 52 B (+0.0%)          | 289.0 KB → 289.0 KB (+0.0%)    | 289.0 KB → 289.0 KB (+0.0%)    | 289.0 KB → 289.0 KB (+0.0%)    | 0.46% → 0.46% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| dev_perf::main                    | 1 → 1 (+0.0%)            | 35.9 KB → 35.9 KB (+0.0%)    | 35.9 KB → 35.9 KB (+0.0%)      | 35.9 KB → 35.9 KB (+0.0%)    | 35.9 KB → 35.9 KB (+0.0%)      | 35.9 KB → 35.9 KB (+0.0%)      | 35.9 KB → 35.9 KB (+0.0%)      | 0.06% → 0.06% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| runner::run_scope                 | 32025 → 32025 (+0.0%)    | 0 B → 0 B (+0.0%)            | 52 B → 52 B (+0.0%)            | 88 B → 88 B (+0.0%)          | 492 B → 492 B (+0.0%)          | 492 B → 492 B (+0.0%)          | 1.2 KB → 1.2 KB (+0.0%)        | 0.00% → 0.00% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| effect cascade                    | 3 → 3 (+0.0%)            | 0 B → 0 B (+0.0%)            | 0 B → 0 B (+0.0%)              | 0 B → 0 B (+0.0%)            | 0 B → 0 B (+0.0%)              | 0 B → 0 B (+0.0%)              | 0 B → 0 B (+0.0%)              | 0.00% → 0.00% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+
| runner::handle_events_immediately | 3 → 3 (+0.0%)            | 0 B → 0 B (+0.0%)            | 0 B → 0 B (+0.0%)              | 0 B → 0 B (+0.0%)            | 0 B → 0 B (+0.0%)              | 0 B → 0 B (+0.0%)              | 0 B → 0 B (+0.0%)              | 0.00% → 0.00% (+0.0%)      |
+-----------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+--------------------------------+--------------------------------+--------------------------------+----------------------------+

Threads

Total Alloc: 847.3 KB → 831.9 KB (-1.8%)
Total Dealloc: 672 B → 720 B (+7.1%)
Mem Diff: 846.6 KB → 831.2 KB (-1.8%)

+-----------------+----------------------------------+-----------+--------------------------------+--------------------------+--------------------------------+
| Thread          | CPU % Avg                        | CPU % Max | Alloc                          | Dealloc                  | Mem Diff                       |
+-----------------+----------------------------------+-----------+--------------------------------+--------------------------+--------------------------------+
| dev_perf        | 96478.10% → 92150.90% (-4.5%)    |           | 846.7 KB → 831.2 KB (-1.8%)    | 576 B → 576 B (+0.0%)    | 846.1 KB → 830.7 KB (-1.8%)    |
+-----------------+----------------------------------+-----------+--------------------------------+--------------------------+--------------------------------+
| hp-server       | 0.00% → 0.00% (+0.0%)            |           | 624 B → 624 B (+0.0%)          | 24 B → 24 B (+0.0%)      | 600 B → 600 B (+0.0%)          |
+-----------------+----------------------------------+-----------+--------------------------------+--------------------------+--------------------------------+
| hp-cpu-baseline | 0.00% → 0.00% (+0.0%)            |           | 15 B → 15 B (+0.0%)            | 24 B → 24 B (+0.0%)      | -9 B → -9 B (+0.0%)            |
+-----------------+----------------------------------+-----------+--------------------------------+--------------------------+--------------------------------+
| hp-functions    | 0.00% → 0.00% (+0.0%)            |           |                                |                          |                                |
+-----------------+----------------------------------+-----------+--------------------------------+--------------------------+--------------------------------+
| hp-threads      | 0.00% → 0.00% (+0.0%)            |           |                                |                          |                                |
+-----------------+----------------------------------+-----------+--------------------------------+--------------------------+--------------------------------+

Generated with hotpath-rs

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Performance Comparison mainchore/clean-up-writable-readable-mapping

Total Elapsed Time: 69.10ms → 68.38ms (-1.0%)
CPU Baseline: 89.22µs → 90.16µs (+1.1%)
Benchmark ID: timing

timing - Execution duration of functions.

+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| Function                          | Calls                    | Avg                              | P33                              | P66                              | P95                              | P99                              | Total                            | % Total                      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| dev_perf::main                    | 1 → 1 (+0.0%)            | 68.71ms → 68.09ms (-0.9%)        | 68.75ms → 68.16ms (-0.9%)        | 68.75ms → 68.16ms (-0.9%)        | 68.75ms → 68.16ms (-0.9%)        | 68.75ms → 68.16ms (-0.9%)        | 68.71ms → 68.09ms (-0.9%)        | 100.00% → 100.00% (+0.0%)    |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| runner::run_scope                 | 32025 → 32025 (+0.0%)    | 1.45µs → 1.46µs (+0.7%)          | 10.00ns → 10.00ns (+0.0%)        | 20.00ns → 20.00ns (+0.0%)        | 20.00ns → 20.00ns (+0.0%)        | 40.00ns → 50.00ns (+25.0%) ⚠️    | 46.31ms → 46.63ms (+0.7%)        | 67.40% → 68.48% (+1.6%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| runner::sync_and_update           | 3 → 3 (+0.0%)            | 12.56ms → 12.54ms (-0.2%)        | 8.23ms → 7.88ms (-4.3%)          | 8.27ms → 8.44ms (+2.1%)          | 21.20ms → 21.32ms (+0.6%)        | 21.20ms → 21.32ms (+0.6%)        | 37.69ms → 37.61ms (-0.2%)        | 54.85% → 55.23% (+0.7%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| tree::apply_mutations             | 3 → 3 (+0.0%)            | 9.89ms → 9.73ms (-1.6%)          | 2.07ms → 2.07ms (+0.0%)          | 9.76ms → 9.42ms (-3.5%)          | 17.86ms → 17.71ms (-0.8%)        | 17.86ms → 17.71ms (-0.8%)        | 29.68ms → 29.19ms (-1.7%)        | 43.19% → 42.87% (-0.7%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| path_element::diff                | 32025 → 32025 (+0.0%)    | 435.00ns → 442.00ns (+1.6%)      | 50.00ns → 50.00ns (+0.0%)        | 70.00ns → 70.00ns (+0.0%)        | 180.00ns → 190.00ns (+5.6%)      | 752.00ns → 731.00ns (-2.8%)      | 13.95ms → 14.18ms (+1.6%)        | 20.31% → 20.82% (+2.5%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| path_element::from_element        | 32025 → 32025 (+0.0%)    | 408.00ns → 411.00ns (+0.7%)      | 20.00ns → 20.00ns (+0.0%)        | 50.00ns → 50.00ns (+0.0%)        | 70.00ns → 70.00ns (+0.0%)        | 70.00ns → 70.00ns (+0.0%)        | 13.07ms → 13.18ms (+0.8%)        | 19.02% → 19.35% (+1.7%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| mutations run                     | 3 → 3 (+0.0%)            | 4.36ms → 4.25ms (-2.5%)          | 3.46µs → 3.57µs (+3.2%)          | 3.33ms → 3.35ms (+0.6%)          | 9.76ms → 9.42ms (-3.5%)          | 9.76ms → 9.42ms (-3.5%)          | 13.08ms → 12.76ms (-2.4%)        | 19.04% → 18.75% (-1.5%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| Scope Rendering                   | 2 → 2 (+0.0%)            | 4.79ms → 4.83ms (+0.8%)          | 4.53ms → 4.61ms (+1.8%)          | 5.05ms → 5.06ms (+0.2%)          | 5.05ms → 5.06ms (+0.2%)          | 5.05ms → 5.06ms (+0.2%)          | 9.57ms → 9.67ms (+1.0%)          | 13.93% → 14.20% (+1.9%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| runner::apply_diff                | 6 → 6 (+0.0%)            | 1.39ms → 1.38ms (-0.7%)          | 8.68µs → 8.37µs (-3.6%)          | 2.01ms → 1.87ms (-7.0%)          | 2.49ms → 2.64ms (+6.0%)          | 2.49ms → 2.64ms (+6.0%)          | 8.33ms → 8.27ms (-0.7%)          | 12.12% → 12.15% (+0.2%)      |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| text style cascade                | 3 → 3 (+0.0%)            | 1.90ms → 1.95ms (+2.6%)          | 220.00ns → 40.00ns (-81.8%) 🚀   | 1.33µs → 1.59µs (+19.5%)         | 5.71ms → 5.85ms (+2.5%)          | 5.71ms → 5.85ms (+2.5%)          | 5.71ms → 5.85ms (+2.5%)          | 8.32% → 8.59% (+3.2%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| dirty run                         | 3 → 3 (+0.0%)            | 1.95ms → 1.85ms (-5.1%)          | 541.00ns → 270.00ns (-50.1%) 🚀  | 1.81µs → 2.03µs (+12.2%)         | 5.84ms → 5.54ms (-5.1%)          | 5.84ms → 5.54ms (-5.1%)          | 5.84ms → 5.54ms (-5.1%)          | 8.50% → 8.14% (-4.2%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| layer cascade                     | 3 → 3 (+0.0%)            | 1.58ms → 1.59ms (+0.6%)          | 240.00ns → 60.00ns (-75.0%) 🚀   | 2.06ms → 2.06ms (+0.0%)          | 2.69ms → 2.70ms (+0.4%)          | 2.69ms → 2.70ms (+0.4%)          | 4.75ms → 4.76ms (+0.2%)          | 6.92% → 6.99% (+1.0%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| effect cascade                    | 3 → 3 (+0.0%)            | 397.00ns → 371.00ns (-6.5%)      | 231.00ns → 181.00ns (-21.6%) 🚀  | 440.00ns → 241.00ns (-45.2%) 🚀  | 521.00ns → 691.00ns (+32.6%) ⚠️  | 521.00ns → 691.00ns (+32.6%) ⚠️  | 1.19µs → 1.11µs (-6.7%)          | 0.00% → 0.00% (+0.0%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| runner::handle_events_immediately | 3 → 3 (+0.0%)            | 327.00ns → 246.00ns (-24.8%) 🚀  | 220.00ns → 200.00ns (-9.1%)      | 291.00ns → 260.00ns (-10.7%)     | 471.00ns → 280.00ns (-40.6%) 🚀  | 471.00ns → 280.00ns (-40.6%) 🚀  | 982.00ns → 740.00ns (-24.6%) 🚀  | 0.00% → 0.00% (+0.0%)        |
+-----------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+

Threads

+-----------------+---------------------------------------+-----------+
| Thread          | CPU % Avg                             | CPU % Max |
+-----------------+---------------------------------------+-----------+
| dev_perf        | 112999.60% → 771136.70% (+582.4%) ⚠️  |           |
+-----------------+---------------------------------------+-----------+
| hp-functions    | 0.00% → 0.00% (+0.0%)                 |           |
+-----------------+---------------------------------------+-----------+
| hp-threads      | 0.00% → 0.00% (+0.0%)                 |           |
+-----------------+---------------------------------------+-----------+
| hp-server       | 0.00% → 0.00% (+0.0%)                 |           |
+-----------------+---------------------------------------+-----------+
| hp-cpu-baseline | 0.00% → 0.00% (+0.0%)                 |           |
+-----------------+---------------------------------------+-----------+

Generated with hotpath-rs

@marc2332 marc2332 moved this to Pending for Review in Freya Planning Jun 5, 2026
@marc2332 marc2332 merged commit cf75bc1 into main Jun 5, 2026
16 checks passed
@marc2332 marc2332 deleted the chore/clean-up-writable-readable-mapping branch June 5, 2026 21:11
@github-project-automation github-project-automation Bot moved this from Pending for Review to Done in Freya Planning Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🔥 New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant