Skip to content

fix(torin): Proper non-stacked positioning with inner sized elements#1629

Open
marc2332 wants to merge 2 commits intomainfrom
chore/proper-non-stacked-position-with-inner-sized-elements
Open

fix(torin): Proper non-stacked positioning with inner sized elements#1629
marc2332 wants to merge 2 commits intomainfrom
chore/proper-non-stacked-position-with-inner-sized-elements

Conversation

@marc2332
Copy link
Owner

@marc2332 marc2332 commented Mar 14, 2026

Closes #1176

Basically does a recursive translate after measuring was done.

@marc2332 marc2332 added this to the 0.4.0 milestone Mar 14, 2026
@marc2332 marc2332 self-assigned this Mar 14, 2026
@marc2332 marc2332 added enhancement 🔥 New feature or request fix 🩹 Fixes a bug labels Mar 14, 2026
@marc2332 marc2332 moved this to Pending for Review in Freya Planning Mar 14, 2026
@github-actions
Copy link

Benchmark for 322564f

Click to view benchmark
Test Base PR %
benchmarks/alignments=true size=21845 depth=8 wide=4 mode=not cached 1143.1±63.82µs 1077.7±57.03µs -5.72%
benchmarks/size=100001 depth=2 wide=100000 mode=not cached 7.1±1.47ms 6.9±0.59ms -2.82%
benchmarks/size=10001 depth=2 wide=10000 mode=not cached 337.6±157.19µs 337.3±145.41µs -0.09%
benchmarks/size=1001 depth=2 wide=1000 mode=not cached 29.5±27.87µs 29.0±27.18µs -1.69%
benchmarks/size=131071 depth=17 wide=2 mode=not cached 11.8±0.33ms 12.0±0.39ms +1.69%
benchmarks/size=16383 depth=14 wide=2 mode=not cached 1380.4±137.98µs 1025.9±126.81µs -25.68%
benchmarks/size=19531 depth=7 wide=5 mode=cached 874.3±34.60µs 1314.1±418.72µs +50.30%
benchmarks/size=19531 depth=7 wide=5 mode=not cached 1070.1±193.03µs 1116.3±239.37µs +4.32%
benchmarks/size=4095 depth=12 wide=2 mode=not cached 201.6±135.15µs 203.7±136.17µs +1.04%
benchmarks/size=54241 depth=5 wide=15 mode=cached 732.3±43.25µs 1154.1±417.25µs +57.60%
benchmarks/size=54241 depth=5 wide=15 mode=not cached 730.4±98.10µs 796.1±233.49µs +9.00%

@github-actions
Copy link

Performance Comparison mainchore/proper-non-stacked-position-with-inner-sized-elements

Total Elapsed Time: 96.63ms → 94.25ms (-2.5%)
Profiling Mode: alloc - Cumulative allocations during each function call (including nested calls).

+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| Function                                      | Calls                    | Avg                          | P33                            | P66                          | P95                          | P99                          | Total                          | % Total                            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| freya_core::runner::run_scope                 | 32025 → 32025 (+0.0%)    | 6.7 MB → 6.7 MB (+0.0%)      | 88 B → 88 B (+0.0%)            | 11.7 MB → 11.7 MB (+0.0%)    | 23.4 MB → 23.4 MB (+0.0%)    | 23.4 MB → 23.4 MB (+0.0%)    | 209.4 GB → 209.4 GB (+0.0%)    | 350997.77% → 350997.77% (+0.0%)    |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| dev_perf::main                                | 1 → 1 (+0.0%)            | 61.1 MB → 61.1 MB (+0.0%)    | 61.1 MB → 61.1 MB (+0.0%)      | 61.1 MB → 61.1 MB (+0.0%)    | 61.1 MB → 61.1 MB (+0.0%)    | 61.1 MB → 61.1 MB (+0.0%)    | 61.1 MB → 61.1 MB (+0.0%)      | 100.00% → 100.00% (+0.0%)          |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| freya_core::runner::sync_and_update           | 3 → 3 (+0.0%)            | 12.5 MB → 12.5 MB (+0.0%)    | 6.0 MB → 6.0 MB (+0.0%)        | 8.1 MB → 8.1 MB (+0.0%)      | 23.5 MB → 23.5 MB (+0.0%)    | 23.5 MB → 23.5 MB (+0.0%)    | 37.5 MB → 37.5 MB (+0.0%)      | 61.44% → 61.44% (+0.0%)            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| freya_core::tree::apply_mutations             | 3 → 3 (+0.0%)            | 7.8 MB → 7.8 MB (+0.0%)      | 875.0 KB → 875.0 KB (+0.0%)    | 1.6 MB → 1.6 MB (+0.0%)      | 21.1 MB → 21.1 MB (+0.0%)    | 21.1 MB → 21.1 MB (+0.0%)    | 23.5 MB → 23.5 MB (+0.0%)      | 38.50% → 38.50% (+0.0%)            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| Scope Rendering                               | 2 → 2 (+0.0%)            | 6.8 MB → 6.8 MB (+0.0%)      | 6.8 MB → 6.8 MB (+0.0%)        | 6.8 MB → 6.8 MB (+0.0%)      | 6.8 MB → 6.8 MB (+0.0%)      | 6.8 MB → 6.8 MB (+0.0%)      | 13.6 MB → 13.6 MB (+0.0%)      | 22.31% → 22.31% (+0.0%)            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| freya_core::path_element::diff                | 32025 → 32025 (+0.0%)    | 398 B → 398 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%)          | 12.2 MB → 12.2 MB (+0.0%)      | 19.90% → 19.90% (+0.0%)            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| text style cascade                            | 3 → 3 (+0.0%)            | 3.9 MB → 3.9 MB (+0.0%)      | 84 B → 84 B (+0.0%)            | 7.8 MB → 7.8 MB (+0.0%)      | 7.8 MB → 7.8 MB (+0.0%)      | 7.8 MB → 7.8 MB (+0.0%)      | 11.7 MB → 11.7 MB (+0.0%)      | 19.11% → 19.11% (+0.0%)            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| freya_core::runner::apply_diff                | 6 → 6 (+0.0%)            | 1.5 MB → 1.5 MB (+0.0%)      | 596 B → 596 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.2 MB → 9.2 MB (+0.0%)        | 15.10% → 15.10% (+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.38% → 12.38% (+0.0%)            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| freya_core::path_element::from_element        | 32025 → 32025 (+0.0%)    | 227 B → 227 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%)          | 7.0 MB → 7.0 MB (+0.0%)        | 11.39% → 11.39% (+0.0%)            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| dirty run                                     | 3 → 3 (+0.0%)            | 2.1 MB → 2.1 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%)      | 6.3 MB → 6.3 MB (+0.0%)        | 10.28% → 10.28% (+0.0%)            |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| layer cascade                                 | 3 → 3 (+0.0%)            | 1.9 MB → 1.9 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%)      | 5.6 MB → 5.6 MB (+0.0%)        | 9.09% → 9.09% (+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%)              |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+
| freya_core::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%)              |
+-----------------------------------------------+--------------------------+------------------------------+--------------------------------+------------------------------+------------------------------+------------------------------+--------------------------------+------------------------------------+

Generated with hotpath-rs

📊 View Raw JSON Metrics

PR Metrics

{
  "hotpath_profiling_mode": "alloc",
  "time_elapsed": "94.25 ms",
  "total_elapsed_ns": 94248192,
  "total_elapsed_raw": 94248192,
  "total_allocated": "89.9 MB",
  "total_allocated_raw": 94248192,
  "description": "Cumulative allocations during each function call (including nested calls).",
  "caller_name": "dev_perf::main",
  "percentiles": [
    33,
    66,
    95,
    99
  ],
  "data": [
    {
      "name": "freya_core::runner::run_scope",
      "calls": 32025,
      "avg": "6.7 MB",
      "avg_raw": 7019413,
      "p95": "23.4 MB",
      "p99": "23.4 MB",
      "p66": "11.7 MB",
      "p33": "88 B",
      "percentiles_raw": {
        "p99": 24575999,
        "p95": 24575999,
        "p66": 12287999,
        "p33": 88
      },
      "total": "209.4 GB",
      "total_raw": 224796724200,
      "percent_total": "350997.77%",
      "percent_total_raw": 35099777
    },
    {
      "name": "dev_perf::main",
      "calls": 1,
      "avg": "61.1 MB",
      "avg_raw": 64045056,
      "p66": "61.1 MB",
      "p95": "61.1 MB",
      "p33": "61.1 MB",
      "p99": "61.1 MB",
      "percentiles_raw": {
        "p33": 64061439,
        "p66": 64061439,
        "p95": 64061439,
        "p99": 64061439
      },
      "total": "61.1 MB",
      "total_raw": 64045056,
      "percent_total": "100.00%",
      "percent_total_raw": 10000
    },
    {
      "name": "freya_core::runner::sync_and_update",
      "calls": 3,
      "avg": "12.5 MB",
      "avg_raw": 13117440,
      "p33": "6.0 MB",
      "p99": "23.5 MB",
      "p66": "8.1 MB",
      "p95": "23.5 MB",
      "percentiles_raw": {
        "p33": 6279167,
        "p99": 24592383,
        "p95": 24592383,
        "p66": 8495103
      },
      "total": "37.5 MB",
      "total_raw": 39352320,
      "percent_total": "61.44%",
      "percent_total_raw": 6144
    },
    {
      "name": "freya_core::tree::apply_mutations",
      "calls": 3,
      "avg": "7.8 MB",
      "avg_raw": 8221098,
      "p33": "875.0 KB",
      "p66": "1.6 MB",
      "p99": "21.1 MB",
      "p95": "21.1 MB",
      "percentiles_raw": {
        "p66": 1690623,
        "p95": 22085631,
        "p33": 895999,
        "p99": 22085631
      },
      "total": "23.5 MB",
      "total_raw": 24663296,
      "percent_total": "38.50%",
      "percent_total_raw": 3850
    },
    {
      "name": "Scope Rendering",
      "calls": 2,
      "avg": "6.8 MB",
      "avg_raw": 7145472,
      "p99": "6.8 MB",
      "p95": "6.8 MB",
      "p66": "6.8 MB",
      "p33": "6.8 MB",
      "percentiles_raw": {
        "p66": 7147519,
        "p99": 7147519,
        "p95": 7147519,
        "p33": 7147519
      },
      "total": "13.6 MB",
      "total_raw": 14290944,
      "percent_total": "22.31%",
      "percent_total_raw": 2231
    },
    {
      "name": "freya_core::path_element::diff",
      "calls": 32025,
      "avg": "398 B",
      "avg_raw": 398,
      "p99": "12 B",
      "p95": "12 B",
      "p33": "12 B",
      "p66": "12 B",
      "percentiles_raw": {
        "p66": 12,
        "p95": 12,
        "p99": 12,
        "p33": 12
      },
      "total": "12.2 MB",
      "total_raw": 12750262,
      "percent_total": "19.90%",
      "percent_total_raw": 1990
    },
    {
      "name": "text style cascade",
      "calls": 3,
      "avg": "3.9 MB",
      "avg_raw": 4080682,
      "p66": "7.8 MB",
      "p33": "84 B",
      "p99": "7.8 MB",
      "p95": "7.8 MB",
      "percentiles_raw": {
        "p99": 8163327,
        "p95": 8163327,
        "p33": 84,
        "p66": 8163327
      },
      "total": "11.7 MB",
      "total_raw": 12242046,
      "percent_total": "19.11%",
      "percent_total_raw": 1911
    },
    {
      "name": "freya_core::runner::apply_diff",
      "calls": 6,
      "avg": "1.5 MB",
      "avg_raw": 1612457,
      "p33": "596 B",
      "p66": "1.4 MB",
      "p99": "3.3 MB",
      "p95": "3.3 MB",
      "percentiles_raw": {
        "p99": 3420159,
        "p66": 1418239,
        "p95": 3420159,
        "p33": 596
      },
      "total": "9.2 MB",
      "total_raw": 9674744,
      "percent_total": "15.10%",
      "percent_total_raw": 1510
    },
    {
      "name": "mutations run",
      "calls": 3,
      "avg": "2.5 MB",
      "avg_raw": 2643477,
      "p95": "6.0 MB",
      "p66": "1.6 MB",
      "p33": "64 B",
      "p99": "6.0 MB",
      "percentiles_raw": {
        "p33": 64,
        "p95": 6242303,
        "p99": 6242303,
        "p66": 1690623
      },
      "total": "7.6 MB",
      "total_raw": 7930431,
      "percent_total": "12.38%",
      "percent_total_raw": 1238
    },
    {
      "name": "freya_core::path_element::from_element",
      "calls": 32025,
      "avg": "227 B",
      "avg_raw": 227,
      "p33": "12 B",
      "p66": "12 B",
      "p99": "12 B",
      "p95": "12 B",
      "percentiles_raw": {
        "p95": 12,
        "p99": 12,
        "p66": 12,
        "p33": 12
      },
      "total": "7.0 MB",
      "total_raw": 7296888,
      "percent_total": "11.39%",
      "percent_total_raw": 1139
    },
    {
      "name": "dirty run",
      "calls": 3,
      "avg": "2.1 MB",
      "avg_raw": 2196512,
      "p33": "64 B",
      "p99": "4.2 MB",
      "p66": "4.2 MB",
      "p95": "4.2 MB",
      "percentiles_raw": {
        "p99": 4395007,
        "p95": 4395007,
        "p33": 64,
        "p66": 4395007
      },
      "total": "6.3 MB",
      "total_raw": 6589536,
      "percent_total": "10.28%",
      "percent_total_raw": 1028
    },
    {
      "name": "layer cascade",
      "calls": 3,
      "avg": "1.9 MB",
      "avg_raw": 1941120,
      "p66": "2.8 MB",
      "p95": "2.8 MB",
      "p33": "874.5 KB",
      "p99": "2.8 MB",
      "percentiles_raw": {
        "p99": 2988031,
        "p66": 2988031,
        "p95": 2988031,
        "p33": 895487
      },
      "total": "5.6 MB",
      "total_raw": 5823360,
      "percent_total": "9.09%",
      "percent_total_raw": 909
    },
    {
      "name": "effect cascade",
      "calls": 3,
      "avg": "0 B",
      "avg_raw": 0,
      "p95": "0 B",
      "p33": "0 B",
      "p99": "0 B",
      "p66": "0 B",
      "percentiles_raw": {
        "p99": 0,
        "p33": 0,
        "p66": 0,
        "p95": 0
      },
      "total": "0 B",
      "total_raw": 0,
      "percent_total": "0.00%",
      "percent_total_raw": 0
    },
    {
      "name": "freya_core::runner::handle_events_immediately",
      "calls": 3,
      "avg": "0 B",
      "avg_raw": 0,
      "p99": "0 B",
      "p66": "0 B",
      "p33": "0 B",
      "p95": "0 B",
      "percentiles_raw": {
        "p66": 0,
        "p99": 0,
        "p33": 0,
        "p95": 0
      },
      "total": "0 B",
      "total_raw": 0,
      "percent_total": "0.00%",
      "percent_total_raw": 0
    }
  ]
}

Main Branch Metrics

{
  "hotpath_profiling_mode": "alloc",
  "time_elapsed": "96.63 ms",
  "total_elapsed_ns": 96630711,
  "total_elapsed_raw": 96630711,
  "total_allocated": "92.2 MB",
  "total_allocated_raw": 96630711,
  "description": "Cumulative allocations during each function call (including nested calls).",
  "caller_name": "dev_perf::main",
  "percentiles": [
    33,
    66,
    95,
    99
  ],
  "data": [
    {
      "name": "freya_core::runner::run_scope",
      "calls": 32025,
      "avg": "6.7 MB",
      "avg_raw": 7019413,
      "p99": "23.4 MB",
      "p95": "23.4 MB",
      "p33": "88 B",
      "p66": "11.7 MB",
      "percentiles_raw": {
        "p95": 24575999,
        "p33": 88,
        "p66": 12287999,
        "p99": 24575999
      },
      "total": "209.4 GB",
      "total_raw": 224796724200,
      "percent_total": "350997.77%",
      "percent_total_raw": 35099777
    },
    {
      "name": "dev_perf::main",
      "calls": 1,
      "avg": "61.1 MB",
      "avg_raw": 64045056,
      "p33": "61.1 MB",
      "p95": "61.1 MB",
      "p99": "61.1 MB",
      "p66": "61.1 MB",
      "percentiles_raw": {
        "p33": 64061439,
        "p66": 64061439,
        "p95": 64061439,
        "p99": 64061439
      },
      "total": "61.1 MB",
      "total_raw": 64045056,
      "percent_total": "100.00%",
      "percent_total_raw": 10000
    },
    {
      "name": "freya_core::runner::sync_and_update",
      "calls": 3,
      "avg": "12.5 MB",
      "avg_raw": 13117440,
      "p66": "8.1 MB",
      "p95": "23.5 MB",
      "p99": "23.5 MB",
      "p33": "6.0 MB",
      "percentiles_raw": {
        "p99": 24592383,
        "p66": 8495103,
        "p33": 6279167,
        "p95": 24592383
      },
      "total": "37.5 MB",
      "total_raw": 39352320,
      "percent_total": "61.44%",
      "percent_total_raw": 6144
    },
    {
      "name": "freya_core::tree::apply_mutations",
      "calls": 3,
      "avg": "7.8 MB",
      "avg_raw": 8221098,
      "p95": "21.1 MB",
      "p66": "1.6 MB",
      "p99": "21.1 MB",
      "p33": "875.0 KB",
      "percentiles_raw": {
        "p95": 22085631,
        "p99": 22085631,
        "p66": 1690623,
        "p33": 895999
      },
      "total": "23.5 MB",
      "total_raw": 24663296,
      "percent_total": "38.50%",
      "percent_total_raw": 3850
    },
    {
      "name": "Scope Rendering",
      "calls": 2,
      "avg": "6.8 MB",
      "avg_raw": 7145472,
      "p99": "6.8 MB",
      "p95": "6.8 MB",
      "p66": "6.8 MB",
      "p33": "6.8 MB",
      "percentiles_raw": {
        "p66": 7147519,
        "p33": 7147519,
        "p99": 7147519,
        "p95": 7147519
      },
      "total": "13.6 MB",
      "total_raw": 14290944,
      "percent_total": "22.31%",
      "percent_total_raw": 2231
    },
    {
      "name": "freya_core::path_element::diff",
      "calls": 32025,
      "avg": "398 B",
      "avg_raw": 398,
      "p99": "12 B",
      "p33": "12 B",
      "p66": "12 B",
      "p95": "12 B",
      "percentiles_raw": {
        "p33": 12,
        "p95": 12,
        "p99": 12,
        "p66": 12
      },
      "total": "12.2 MB",
      "total_raw": 12750262,
      "percent_total": "19.90%",
      "percent_total_raw": 1990
    },
    {
      "name": "text style cascade",
      "calls": 3,
      "avg": "3.9 MB",
      "avg_raw": 4080682,
      "p66": "7.8 MB",
      "p99": "7.8 MB",
      "p95": "7.8 MB",
      "p33": "84 B",
      "percentiles_raw": {
        "p99": 8163327,
        "p33": 84,
        "p95": 8163327,
        "p66": 8163327
      },
      "total": "11.7 MB",
      "total_raw": 12242046,
      "percent_total": "19.11%",
      "percent_total_raw": 1911
    },
    {
      "name": "freya_core::runner::apply_diff",
      "calls": 6,
      "avg": "1.5 MB",
      "avg_raw": 1612457,
      "p95": "3.3 MB",
      "p99": "3.3 MB",
      "p33": "596 B",
      "p66": "1.4 MB",
      "percentiles_raw": {
        "p95": 3420159,
        "p66": 1418239,
        "p99": 3420159,
        "p33": 596
      },
      "total": "9.2 MB",
      "total_raw": 9674744,
      "percent_total": "15.10%",
      "percent_total_raw": 1510
    },
    {
      "name": "mutations run",
      "calls": 3,
      "avg": "2.5 MB",
      "avg_raw": 2643477,
      "p33": "64 B",
      "p99": "6.0 MB",
      "p66": "1.6 MB",
      "p95": "6.0 MB",
      "percentiles_raw": {
        "p99": 6242303,
        "p66": 1690623,
        "p95": 6242303,
        "p33": 64
      },
      "total": "7.6 MB",
      "total_raw": 7930431,
      "percent_total": "12.38%",
      "percent_total_raw": 1238
    },
    {
      "name": "freya_core::path_element::from_element",
      "calls": 32025,
      "avg": "227 B",
      "avg_raw": 227,
      "p33": "12 B",
      "p99": "12 B",
      "p95": "12 B",
      "p66": "12 B",
      "percentiles_raw": {
        "p95": 12,
        "p66": 12,
        "p99": 12,
        "p33": 12
      },
      "total": "7.0 MB",
      "total_raw": 7296888,
      "percent_total": "11.39%",
      "percent_total_raw": 1139
    },
    {
      "name": "dirty run",
      "calls": 3,
      "avg": "2.1 MB",
      "avg_raw": 2196512,
      "p99": "4.2 MB",
      "p66": "4.2 MB",
      "p33": "64 B",
      "p95": "4.2 MB",
      "percentiles_raw": {
        "p95": 4395007,
        "p66": 4395007,
        "p33": 64,
        "p99": 4395007
      },
      "total": "6.3 MB",
      "total_raw": 6589536,
      "percent_total": "10.28%",
      "percent_total_raw": 1028
    },
    {
      "name": "layer cascade",
      "calls": 3,
      "avg": "1.9 MB",
      "avg_raw": 1941120,
      "p33": "874.5 KB",
      "p95": "2.8 MB",
      "p99": "2.8 MB",
      "p66": "2.8 MB",
      "percentiles_raw": {
        "p95": 2988031,
        "p66": 2988031,
        "p33": 895487,
        "p99": 2988031
      },
      "total": "5.6 MB",
      "total_raw": 5823360,
      "percent_total": "9.09%",
      "percent_total_raw": 909
    },
    {
      "name": "effect cascade",
      "calls": 3,
      "avg": "0 B",
      "avg_raw": 0,
      "p95": "0 B",
      "p99": "0 B",
      "p33": "0 B",
      "p66": "0 B",
      "percentiles_raw": {
        "p95": 0,
        "p66": 0,
        "p33": 0,
        "p99": 0
      },
      "total": "0 B",
      "total_raw": 0,
      "percent_total": "0.00%",
      "percent_total_raw": 0
    },
    {
      "name": "freya_core::runner::handle_events_immediately",
      "calls": 3,
      "avg": "0 B",
      "avg_raw": 0,
      "p95": "0 B",
      "p33": "0 B",
      "p66": "0 B",
      "p99": "0 B",
      "percentiles_raw": {
        "p99": 0,
        "p66": 0,
        "p33": 0,
        "p95": 0
      },
      "total": "0 B",
      "total_raw": 0,
      "percent_total": "0.00%",
      "percent_total_raw": 0
    }
  ]
}

@github-actions
Copy link

Performance Comparison mainchore/proper-non-stacked-position-with-inner-sized-elements

Total Elapsed Time: 71.79ms → 72.97ms (+1.6%)
Profiling Mode: timing - Execution duration of functions.

+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| Function                                      | Calls                    | Avg                              | P33                              | P66                              | P95                              | P99                              | Total                            | % Total                      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| dev_perf::main                                | 1 → 1 (+0.0%)            | 71.03ms → 72.21ms (+1.6%)        | 71.04ms → 72.22ms (+1.7%)        | 71.04ms → 72.22ms (+1.7%)        | 71.04ms → 72.22ms (+1.7%)        | 71.04ms → 72.22ms (+1.7%)        | 71.03ms → 72.21ms (+1.6%)        | 100.00% → 100.00% (+0.0%)    |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| freya_core::runner::run_scope                 | 32025 → 32025 (+0.0%)    | 1.69µs → 1.70µs (+0.7%)          | 10.00ns → 10.00ns (+0.0%)        | 10.00ns → 10.00ns (+0.0%)        | 20.00ns → 20.00ns (+0.0%)        | 21.00ns → 20.00ns (-4.8%)        | 54.09ms → 54.45ms (+0.6%)        | 76.15% → 75.40% (-1.0%)      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| freya_core::runner::sync_and_update           | 3 → 3 (+0.0%)            | 13.67ms → 13.83ms (+1.2%)        | 8.52ms → 8.73ms (+2.5%)          | 9.14ms → 9.26ms (+1.3%)          | 23.36ms → 23.53ms (+0.7%)        | 23.36ms → 23.53ms (+0.7%)        | 41.01ms → 41.50ms (+1.2%)        | 57.73% → 57.47% (-0.5%)      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| freya_core::tree::apply_mutations             | 3 → 3 (+0.0%)            | 9.59ms → 9.79ms (+2.0%)          | 2.18ms → 2.59ms (+18.7%)         | 9.30ms → 9.22ms (-0.9%)          | 17.32ms → 17.56ms (+1.4%)        | 17.32ms → 17.56ms (+1.4%)        | 28.78ms → 29.36ms (+2.0%)        | 40.51% → 40.66% (+0.4%)      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| freya_core::path_element::diff                | 32025 → 32025 (+0.0%)    | 525.00ns → 517.00ns (-1.5%)      | 30.00ns → 30.00ns (+0.0%)        | 50.00ns → 50.00ns (+0.0%)        | 161.00ns → 161.00ns (+0.0%)      | 772.00ns → 1.17µs (+51.8%) ⚠️    | 16.84ms → 16.56ms (-1.7%)        | 23.70% → 22.93% (-3.2%)      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| freya_core::path_element::from_element        | 32025 → 32025 (+0.0%)    | 468.00ns → 475.00ns (+1.5%)      | 20.00ns → 20.00ns (+0.0%)        | 20.00ns → 20.00ns (+0.0%)        | 40.00ns → 40.00ns (+0.0%)        | 50.00ns → 50.00ns (+0.0%)        | 15.02ms → 15.24ms (+1.5%)        | 21.14% → 21.10% (-0.2%)      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| mutations run                                 | 3 → 3 (+0.0%)            | 4.21ms → 4.14ms (-1.7%)          | 4.17µs → 3.61µs (-13.5%)         | 3.33ms → 3.21ms (-3.9%)          | 9.30ms → 9.22ms (-0.9%)          | 9.30ms → 9.22ms (-0.9%)          | 12.63ms → 12.42ms (-1.7%)        | 17.77% → 17.20% (-3.2%)      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| Scope Rendering                               | 2 → 2 (+0.0%)            | 4.66ms → 4.64ms (-0.4%)          | 4.51ms → 4.33ms (-3.8%)          | 4.82ms → 4.96ms (+2.8%)          | 4.82ms → 4.96ms (+2.8%)          | 4.82ms → 4.96ms (+2.8%)          | 9.32ms → 9.28ms (-0.4%)          | 13.12% → 12.85% (-2.1%)      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| freya_core::runner::apply_diff                | 6 → 6 (+0.0%)            | 1.30ms → 1.39ms (+6.9%)          | 4.50µs → 5.04µs (+12.0%)         | 1.64ms → 1.76ms (+7.1%)          | 2.55ms → 2.78ms (+9.1%)          | 2.55ms → 2.78ms (+9.1%)          | 7.79ms → 8.32ms (+6.9%)          | 10.96% → 11.52% (+5.1%)      |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| dirty run                                     | 3 → 3 (+0.0%)            | 1.85ms → 2.01ms (+9.0%)          | 440.00ns → 240.00ns (-45.5%) 🚀  | 1.83µs → 1.76µs (-3.8%)          | 5.54ms → 6.03ms (+8.9%)          | 5.54ms → 6.03ms (+8.9%)          | 5.54ms → 6.03ms (+9.0%)          | 7.79% → 8.35% (+7.2%)        |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| text style cascade                            | 3 → 3 (+0.0%)            | 1.91ms → 1.88ms (-1.2%)          | 50.00ns → 40.00ns (-20.0%)       | 1.06µs → 1.07µs (+0.9%)          | 5.72ms → 5.64ms (-1.3%)          | 5.72ms → 5.64ms (-1.3%)          | 5.72ms → 5.64ms (-1.2%)          | 8.04% → 7.81% (-2.9%)        |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| layer cascade                                 | 3 → 3 (+0.0%)            | 1.58ms → 1.71ms (+8.1%)          | 40.00ns → 50.00ns (+25.0%) ⚠️    | 2.17ms → 2.55ms (+17.3%)         | 2.57ms → 2.58ms (+0.3%)          | 2.57ms → 2.58ms (+0.3%)          | 4.74ms → 5.12ms (+8.1%)          | 6.67% → 7.09% (+6.3%)        |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| freya_core::runner::handle_events_immediately | 3 → 3 (+0.0%)            | 234.00ns → 210.00ns (-10.3%)     | 200.00ns → 190.00ns (-5.0%)      | 231.00ns → 210.00ns (-9.1%)      | 271.00ns → 231.00ns (-14.8%)     | 271.00ns → 231.00ns (-14.8%)     | 702.00ns → 631.00ns (-10.1%)     | 0.00% → 0.00% (+0.0%)        |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| effect cascade                                | 3 → 3 (+0.0%)            | 133.00ns → 200.00ns (+50.4%) ⚠️  | 60.00ns → 151.00ns (+151.7%) ⚠️  | 140.00ns → 170.00ns (+21.4%) ⚠️  | 201.00ns → 281.00ns (+39.8%) ⚠️  | 201.00ns → 281.00ns (+39.8%) ⚠️  | 401.00ns → 602.00ns (+50.1%) ⚠️  | 0.00% → 0.00% (+0.0%)        |
+-----------------------------------------------+--------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+

Generated with hotpath-rs

📊 View Raw JSON Metrics

PR Metrics

{
  "hotpath_profiling_mode": "timing",
  "time_elapsed": "72.97 ms",
  "total_elapsed_ns": 72973184,
  "total_elapsed_raw": 72973184,
  "description": "Execution duration of functions.",
  "caller_name": "dev_perf::main",
  "percentiles": [
    33,
    66,
    95,
    99
  ],
  "data": [
    {
      "name": "dev_perf::main",
      "calls": 1,
      "avg": "72.21 ms",
      "avg_raw": 72206545,
      "p66": "72.22 ms",
      "p33": "72.22 ms",
      "p95": "72.22 ms",
      "p99": "72.22 ms",
      "percentiles_raw": {
        "p66": 72220671,
        "p95": 72220671,
        "p99": 72220671,
        "p33": 72220671
      },
      "total": "72.21 ms",
      "total_raw": 72206545,
      "percent_total": "100.00%",
      "percent_total_raw": 10000
    },
    {
      "name": "freya_core::runner::run_scope",
      "calls": 32025,
      "avg": "1.70 µs",
      "avg_raw": 1700,
      "p99": "20 ns",
      "p66": "10 ns",
      "p33": "10 ns",
      "p95": "20 ns",
      "percentiles_raw": {
        "p66": 10,
        "p99": 20,
        "p95": 20,
        "p33": 10
      },
      "total": "54.45 ms",
      "total_raw": 54446071,
      "percent_total": "75.40%",
      "percent_total_raw": 7540
    },
    {
      "name": "freya_core::runner::sync_and_update",
      "calls": 3,
      "avg": "13.83 ms",
      "avg_raw": 13832756,
      "p33": "8.73 ms",
      "p99": "23.53 ms",
      "p95": "23.53 ms",
      "p66": "9.26 ms",
      "percentiles_raw": {
        "p66": 9256959,
        "p95": 23527423,
        "p33": 8732671,
        "p99": 23527423
      },
      "total": "41.50 ms",
      "total_raw": 41498269,
      "percent_total": "57.47%",
      "percent_total_raw": 5747
    },
    {
      "name": "freya_core::tree::apply_mutations",
      "calls": 3,
      "avg": "9.79 ms",
      "avg_raw": 9787129,
      "p99": "17.56 ms",
      "p66": "9.22 ms",
      "p95": "17.56 ms",
      "p33": "2.59 ms",
      "percentiles_raw": {
        "p33": 2588671,
        "p95": 17563647,
        "p66": 9215999,
        "p99": 17563647
      },
      "total": "29.36 ms",
      "total_raw": 29361389,
      "percent_total": "40.66%",
      "percent_total_raw": 4066
    },
    {
      "name": "freya_core::path_element::diff",
      "calls": 32025,
      "avg": "517 ns",
      "avg_raw": 517,
      "p95": "161 ns",
      "p33": "30 ns",
      "p66": "50 ns",
      "p99": "1.17 µs",
      "percentiles_raw": {
        "p95": 161,
        "p33": 30,
        "p66": 50,
        "p99": 1172
      },
      "total": "16.56 ms",
      "total_raw": 16560441,
      "percent_total": "22.93%",
      "percent_total_raw": 2293
    },
    {
      "name": "freya_core::path_element::from_element",
      "calls": 32025,
      "avg": "475 ns",
      "avg_raw": 475,
      "p33": "20 ns",
      "p66": "20 ns",
      "p99": "50 ns",
      "p95": "40 ns",
      "percentiles_raw": {
        "p99": 50,
        "p66": 20,
        "p95": 40,
        "p33": 20
      },
      "total": "15.24 ms",
      "total_raw": 15238652,
      "percent_total": "21.10%",
      "percent_total_raw": 2110
    },
    {
      "name": "mutations run",
      "calls": 3,
      "avg": "4.14 ms",
      "avg_raw": 4140134,
      "p66": "3.21 ms",
      "p33": "3.61 µs",
      "p99": "9.22 ms",
      "p95": "9.22 ms",
      "percentiles_raw": {
        "p95": 9215999,
        "p66": 3205119,
        "p99": 9215999,
        "p33": 3607
      },
      "total": "12.42 ms",
      "total_raw": 12420402,
      "percent_total": "17.20%",
      "percent_total_raw": 1720
    },
    {
      "name": "Scope Rendering",
      "calls": 2,
      "avg": "4.64 ms",
      "avg_raw": 4641867,
      "p66": "4.96 ms",
      "p99": "4.96 ms",
      "p33": "4.33 ms",
      "p95": "4.96 ms",
      "percentiles_raw": {
        "p66": 4956159,
        "p33": 4333567,
        "p99": 4956159,
        "p95": 4956159
      },
      "total": "9.28 ms",
      "total_raw": 9283734,
      "percent_total": "12.85%",
      "percent_total_raw": 1285
    },
    {
      "name": "freya_core::runner::apply_diff",
      "calls": 6,
      "avg": "1.39 ms",
      "avg_raw": 1387265,
      "p95": "2.78 ms",
      "p99": "2.78 ms",
      "p66": "1.76 ms",
      "p33": "5.04 µs",
      "percentiles_raw": {
        "p33": 5039,
        "p99": 2781183,
        "p95": 2781183,
        "p66": 1760255
      },
      "total": "8.32 ms",
      "total_raw": 8323591,
      "percent_total": "11.52%",
      "percent_total_raw": 1152
    },
    {
      "name": "dirty run",
      "calls": 3,
      "avg": "2.01 ms",
      "avg_raw": 2010749,
      "p66": "1.76 µs",
      "p95": "6.03 ms",
      "p99": "6.03 ms",
      "p33": "240 ns",
      "percentiles_raw": {
        "p33": 240,
        "p66": 1764,
        "p95": 6033407,
        "p99": 6033407
      },
      "total": "6.03 ms",
      "total_raw": 6032248,
      "percent_total": "8.35%",
      "percent_total_raw": 835
    },
    {
      "name": "text style cascade",
      "calls": 3,
      "avg": "1.88 ms",
      "avg_raw": 1881426,
      "p95": "5.64 ms",
      "p66": "1.07 µs",
      "p33": "40 ns",
      "p99": "5.64 ms",
      "percentiles_raw": {
        "p95": 5644287,
        "p99": 5644287,
        "p33": 40,
        "p66": 1072
      },
      "total": "5.64 ms",
      "total_raw": 5644280,
      "percent_total": "7.81%",
      "percent_total_raw": 781
    },
    {
      "name": "layer cascade",
      "calls": 3,
      "avg": "1.71 ms",
      "avg_raw": 1708135,
      "p99": "2.58 ms",
      "p33": "50 ns",
      "p95": "2.58 ms",
      "p66": "2.55 ms",
      "percentiles_raw": {
        "p33": 50,
        "p95": 2580479,
        "p99": 2580479,
        "p66": 2545663
      },
      "total": "5.12 ms",
      "total_raw": 5124406,
      "percent_total": "7.09%",
      "percent_total_raw": 709
    },
    {
      "name": "freya_core::runner::handle_events_immediately",
      "calls": 3,
      "avg": "210 ns",
      "avg_raw": 210,
      "p95": "231 ns",
      "p99": "231 ns",
      "p66": "210 ns",
      "p33": "190 ns",
      "percentiles_raw": {
        "p66": 210,
        "p99": 231,
        "p33": 190,
        "p95": 231
      },
      "total": "631 ns",
      "total_raw": 631,
      "percent_total": "0.00%",
      "percent_total_raw": 0
    },
    {
      "name": "effect cascade",
      "calls": 3,
      "avg": "200 ns",
      "avg_raw": 200,
      "p99": "281 ns",
      "p33": "151 ns",
      "p66": "170 ns",
      "p95": "281 ns",
      "percentiles_raw": {
        "p99": 281,
        "p33": 151,
        "p95": 281,
        "p66": 170
      },
      "total": "602 ns",
      "total_raw": 602,
      "percent_total": "0.00%",
      "percent_total_raw": 0
    }
  ]
}

Main Branch Metrics

{
  "hotpath_profiling_mode": "timing",
  "time_elapsed": "71.79 ms",
  "total_elapsed_ns": 71789721,
  "total_elapsed_raw": 71789721,
  "description": "Execution duration of functions.",
  "caller_name": "dev_perf::main",
  "percentiles": [
    33,
    66,
    95,
    99
  ],
  "data": [
    {
      "name": "dev_perf::main",
      "calls": 1,
      "avg": "71.03 ms",
      "avg_raw": 71034562,
      "p66": "71.04 ms",
      "p99": "71.04 ms",
      "p33": "71.04 ms",
      "p95": "71.04 ms",
      "percentiles_raw": {
        "p99": 71041023,
        "p33": 71041023,
        "p66": 71041023,
        "p95": 71041023
      },
      "total": "71.03 ms",
      "total_raw": 71034562,
      "percent_total": "100.00%",
      "percent_total_raw": 10000
    },
    {
      "name": "freya_core::runner::run_scope",
      "calls": 32025,
      "avg": "1.69 µs",
      "avg_raw": 1689,
      "p66": "10 ns",
      "p99": "21 ns",
      "p33": "10 ns",
      "p95": "20 ns",
      "percentiles_raw": {
        "p99": 21,
        "p33": 10,
        "p95": 20,
        "p66": 10
      },
      "total": "54.09 ms",
      "total_raw": 54094477,
      "percent_total": "76.15%",
      "percent_total_raw": 7615
    },
    {
      "name": "freya_core::runner::sync_and_update",
      "calls": 3,
      "avg": "13.67 ms",
      "avg_raw": 13671369,
      "p99": "23.36 ms",
      "p95": "23.36 ms",
      "p66": "9.14 ms",
      "p33": "8.52 ms",
      "percentiles_raw": {
        "p66": 9142271,
        "p99": 23363583,
        "p33": 8519679,
        "p95": 23363583
      },
      "total": "41.01 ms",
      "total_raw": 41014109,
      "percent_total": "57.73%",
      "percent_total_raw": 5773
    },
    {
      "name": "freya_core::tree::apply_mutations",
      "calls": 3,
      "avg": "9.59 ms",
      "avg_raw": 9593256,
      "p66": "9.30 ms",
      "p33": "2.18 ms",
      "p99": "17.32 ms",
      "p95": "17.32 ms",
      "percentiles_raw": {
        "p66": 9297919,
        "p99": 17317887,
        "p33": 2181119,
        "p95": 17317887
      },
      "total": "28.78 ms",
      "total_raw": 28779768,
      "percent_total": "40.51%",
      "percent_total_raw": 4051
    },
    {
      "name": "freya_core::path_element::diff",
      "calls": 32025,
      "avg": "525 ns",
      "avg_raw": 525,
      "p99": "772 ns",
      "p66": "50 ns",
      "p33": "30 ns",
      "p95": "161 ns",
      "percentiles_raw": {
        "p33": 30,
        "p95": 161,
        "p99": 772,
        "p66": 50
      },
      "total": "16.84 ms",
      "total_raw": 16841805,
      "percent_total": "23.70%",
      "percent_total_raw": 2370
    },
    {
      "name": "freya_core::path_element::from_element",
      "calls": 32025,
      "avg": "468 ns",
      "avg_raw": 468,
      "p99": "50 ns",
      "p95": "40 ns",
      "p66": "20 ns",
      "p33": "20 ns",
      "percentiles_raw": {
        "p33": 20,
        "p99": 50,
        "p95": 40,
        "p66": 20
      },
      "total": "15.02 ms",
      "total_raw": 15019209,
      "percent_total": "21.14%",
      "percent_total_raw": 2114
    },
    {
      "name": "mutations run",
      "calls": 3,
      "avg": "4.21 ms",
      "avg_raw": 4209912,
      "p99": "9.30 ms",
      "p33": "4.17 µs",
      "p95": "9.30 ms",
      "p66": "3.33 ms",
      "percentiles_raw": {
        "p66": 3334143,
        "p33": 4171,
        "p99": 9297919,
        "p95": 9297919
      },
      "total": "12.63 ms",
      "total_raw": 12629736,
      "percent_total": "17.77%",
      "percent_total_raw": 1777
    },
    {
      "name": "Scope Rendering",
      "calls": 2,
      "avg": "4.66 ms",
      "avg_raw": 4661650,
      "p33": "4.51 ms",
      "p66": "4.82 ms",
      "p99": "4.82 ms",
      "p95": "4.82 ms",
      "percentiles_raw": {
        "p99": 4820991,
        "p66": 4820991,
        "p95": 4820991,
        "p33": 4505599
      },
      "total": "9.32 ms",
      "total_raw": 9323301,
      "percent_total": "13.12%",
      "percent_total_raw": 1312
    },
    {
      "name": "freya_core::runner::apply_diff",
      "calls": 6,
      "avg": "1.30 ms",
      "avg_raw": 1298317,
      "p99": "2.55 ms",
      "p33": "4.50 µs",
      "p95": "2.55 ms",
      "p66": "1.64 ms",
      "percentiles_raw": {
        "p95": 2549759,
        "p66": 1643519,
        "p33": 4499,
        "p99": 2549759
      },
      "total": "7.79 ms",
      "total_raw": 7789905,
      "percent_total": "10.96%",
      "percent_total_raw": 1096
    },
    {
      "name": "text style cascade",
      "calls": 3,
      "avg": "1.91 ms",
      "avg_raw": 1905156,
      "p66": "1.06 µs",
      "p33": "50 ns",
      "p95": "5.72 ms",
      "p99": "5.72 ms",
      "percentiles_raw": {
        "p99": 5718015,
        "p33": 50,
        "p95": 5718015,
        "p66": 1062
      },
      "total": "5.72 ms",
      "total_raw": 5715470,
      "percent_total": "8.04%",
      "percent_total_raw": 804
    },
    {
      "name": "dirty run",
      "calls": 3,
      "avg": "1.85 ms",
      "avg_raw": 1845382,
      "p95": "5.54 ms",
      "p99": "5.54 ms",
      "p66": "1.83 µs",
      "p33": "440 ns",
      "percentiles_raw": {
        "p95": 5537791,
        "p66": 1834,
        "p33": 440,
        "p99": 5537791
      },
      "total": "5.54 ms",
      "total_raw": 5536148,
      "percent_total": "7.79%",
      "percent_total_raw": 779
    },
    {
      "name": "layer cascade",
      "calls": 3,
      "avg": "1.58 ms",
      "avg_raw": 1580437,
      "p95": "2.57 ms",
      "p66": "2.17 ms",
      "p99": "2.57 ms",
      "p33": "40 ns",
      "percentiles_raw": {
        "p99": 2572287,
        "p33": 40,
        "p95": 2572287,
        "p66": 2170879
      },
      "total": "4.74 ms",
      "total_raw": 4741313,
      "percent_total": "6.67%",
      "percent_total_raw": 667
    },
    {
      "name": "freya_core::runner::handle_events_immediately",
      "calls": 3,
      "avg": "234 ns",
      "avg_raw": 234,
      "p95": "271 ns",
      "p66": "231 ns",
      "p99": "271 ns",
      "p33": "200 ns",
      "percentiles_raw": {
        "p95": 271,
        "p66": 231,
        "p99": 271,
        "p33": 200
      },
      "total": "702 ns",
      "total_raw": 702,
      "percent_total": "0.00%",
      "percent_total_raw": 0
    },
    {
      "name": "effect cascade",
      "calls": 3,
      "avg": "133 ns",
      "avg_raw": 133,
      "p95": "201 ns",
      "p33": "60 ns",
      "p99": "201 ns",
      "p66": "140 ns",
      "percentiles_raw": {
        "p95": 201,
        "p33": 60,
        "p66": 140,
        "p99": 201
      },
      "total": "401 ns",
      "total_raw": 401,
      "percent_total": "0.00%",
      "percent_total_raw": 0
    }
  ]
}

@codecov
Copy link

codecov bot commented Mar 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.05%. Comparing base (55b3a92) to head (07c6a45).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1629      +/-   ##
==========================================
+ Coverage   60.90%   61.05%   +0.15%     
==========================================
  Files         290      290              
  Lines       35837    35968     +131     
==========================================
+ Hits        21826    21961     +135     
+ Misses      14011    14007       -4     

☔ View full report in Codecov by Sentry.
📢 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🔥 New feature or request fix 🩹 Fixes a bug

Projects

Status: Pending for Review

Development

Successfully merging this pull request may close these issues.

issue: Unexpected behavior when using absolute positioning with right & bottom

1 participant