Skip to content

Fix/canvas stencil clipping#185

Merged
load1n9 merged 5 commits intotryandromeda:mainfrom
sajdakabir:fix/canvas-stencil-clipping
Oct 28, 2025
Merged

Fix/canvas stencil clipping#185
load1n9 merged 5 commits intotryandromeda:mainfrom
sajdakabir:fix/canvas-stencil-clipping

Conversation

@sajdakabir
Copy link
Contributor

@sajdakabir sajdakabir commented Oct 24, 2025

@github-actions
Copy link

github-actions bot commented Oct 24, 2025

Performance Comparison

Total Elapsed Time: 47.47ms → 43.95ms (-7.4%)

Profiling Mode: timing - Execution duration of functions.

+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| Function                            | Calls                | Avg                              | P50                             | P95                             | P99                            | Total                            | % Total                      |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| andromeda::main                     | 1 → 1 (+0.0%)        | 46.81ms → 43.29ms (-7.5%)        | 46.83ms → 43.32ms (-7.5%)       | 46.83ms → 43.32ms (-7.5%)       | 46.83ms → 43.32ms (-7.5%)      | 46.81ms → 43.29ms (-7.5%)        | 100.00% → 100.00% (+0.0%)    |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| andromeda::run_main                 | 1 → 1 (+0.0%)        | 46.79ms → 43.28ms (-7.5%)        | 46.79ms → 43.29ms (-7.5%)       | 46.79ms → 43.29ms (-7.5%)       | 46.79ms → 43.29ms (-7.5%)      | 46.79ms → 43.28ms (-7.5%)        | 99.96% → 99.95% (-0.0%)      |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| run::run                            | 1 → 1 (+0.0%)        | 46.37ms → 42.83ms (-7.6%)        | 46.40ms → 42.86ms (-7.6%)       | 46.40ms → 42.86ms (-7.6%)       | 46.40ms → 42.86ms (-7.6%)      | 46.37ms → 42.83ms (-7.6%)        | 99.06% → 98.93% (-0.1%)      |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| run::create_runtime_files           | 1 → 1 (+0.0%)        | 46.37ms → 42.83ms (-7.6%)        | 46.40ms → 42.86ms (-7.6%)       | 46.40ms → 42.86ms (-7.6%)       | 46.40ms → 42.86ms (-7.6%)      | 46.37ms → 42.83ms (-7.6%)        | 99.05% → 98.92% (-0.1%)      |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| runtime::run                        | 1 → 1 (+0.0%)        | 26.44ms → 22.99ms (-13.0%)       | 26.44ms → 23.00ms (-13.0%)      | 26.44ms → 23.00ms (-13.0%)      | 26.44ms → 23.00ms (-13.0%)     | 26.44ms → 22.99ms (-13.0%)       | 56.48% → 53.10% (-6.0%)      |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| runtime::new                        | 1 → 1 (+0.0%)        | 18.78ms → 18.64ms (-0.8%)        | 18.79ms → 18.64ms (-0.8%)       | 18.79ms → 18.64ms (-0.8%)       | 18.79ms → 18.64ms (-0.8%)      | 18.78ms → 18.64ms (-0.8%)        | 40.12% → 43.04% (+7.3%)      |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| extension::load                     | 22 → 22 (+0.0%)      | 825.25µs → 817.77µs (-0.9%)      | 300.54µs → 284.67µs (-5.3%)     | 2.93ms → 2.95ms (+0.8%)         | 5.64ms → 5.57ms (-1.2%)        | 18.16ms → 17.99ms (-0.9%)        | 38.78% → 41.55% (+7.1%)      |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| console::internal_print             | 180 → 180 (+0.0%)    | 4.84µs → 3.58µs (-26.0%) 🚀      | 4.74µs → 3.58µs (-24.5%) 🚀     | 5.66µs → 4.66µs (-17.7%)        | 6.26µs → 7.06µs (+12.6%)       | 871.09µs → 644.88µs (-26.0%) 🚀  | 1.86% → 1.48% (-20.4%) 🚀    |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| recommended::recommended_extensions | 1 → 1 (+0.0%)        | 43.91µs → 44.59µs (+1.6%)        | 43.94µs → 44.61µs (+1.5%)       | 43.94µs → 44.61µs (+1.5%)       | 43.94µs → 44.61µs (+1.5%)      | 43.91µs → 44.59µs (+1.6%)        | 0.09% → 0.10% (+11.1%)       |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+
| console::get_group_indent           | 180 → 180 (+0.0%)    | 183.00ns → 109.00ns (-40.4%) 🚀  | 180.00ns → 90.00ns (-50.0%) 🚀  | 280.00ns → 250.00ns (-10.7%)    | 430.00ns → 461.00ns (+7.2%)    | 33.09µs → 19.67µs (-40.6%) 🚀    | 0.07% → 0.04% (-42.9%) 🚀    |
+-------------------------------------+----------------------+----------------------------------+---------------------------------+---------------------------------+--------------------------------+----------------------------------+------------------------------+

Generated with hotpath

📊 View Raw JSON Metrics

PR Metrics

{
  "hotpath_profiling_mode": "timing",
  "total_elapsed": 43945846,
  "description": "Execution duration of functions.",
  "caller_name": "andromeda::main",
  "output": {
    "console::get_group_indent": {
      "calls": 180,
      "avg": 109,
      "p50": 90,
      "p95": 250,
      "p99": 461,
      "total": 19667,
      "percent_total": 4
    },
    "andromeda::main": {
      "calls": 1,
      "avg": 43293406,
      "p50": 43319295,
      "p95": 43319295,
      "p99": 43319295,
      "total": 43293406,
      "percent_total": 10000
    },
    "extension::load": {
      "calls": 22,
      "avg": 817772,
      "p50": 284671,
      "p95": 2951167,
      "p99": 5570559,
      "total": 17991001,
      "percent_total": 4155
    },
    "recommended::recommended_extensions": {
      "calls": 1,
      "avg": 44594,
      "p50": 44607,
      "p95": 44607,
      "p99": 44607,
      "total": 44594,
      "percent_total": 10
    },
    "andromeda::run_main": {
      "calls": 1,
      "avg": 43275882,
      "p50": 43286527,
      "p95": 43286527,
      "p99": 43286527,
      "total": 43275882,
      "percent_total": 9995
    },
    "console::internal_print": {
      "calls": 180,
      "avg": 3582,
      "p50": 3577,
      "p95": 4659,
      "p99": 7055,
      "total": 644881,
      "percent_total": 148
    },
    "run::create_runtime_files": {
      "calls": 1,
      "avg": 42827940,
      "p50": 42860543,
      "p95": 42860543,
      "p99": 42860543,
      "total": 42827940,
      "percent_total": 9892
    },
    "runtime::run": {
      "calls": 1,
      "avg": 22992249,
      "p50": 23003135,
      "p95": 23003135,
      "p99": 23003135,
      "total": 22992249,
      "percent_total": 5310
    },
    "runtime::new": {
      "calls": 1,
      "avg": 18635395,
      "p50": 18644991,
      "p95": 18644991,
      "p99": 18644991,
      "total": 18635395,
      "percent_total": 4304
    },
    "run::run": {
      "calls": 1,
      "avg": 42832219,
      "p50": 42860543,
      "p95": 42860543,
      "p99": 42860543,
      "total": 42832219,
      "percent_total": 9893
    }
  }
}

Main Branch Metrics

{
  "hotpath_profiling_mode": "timing",
  "total_elapsed": 47473134,
  "description": "Execution duration of functions.",
  "caller_name": "andromeda::main",
  "output": {
    "runtime::run": {
      "calls": 1,
      "avg": 26442310,
      "p50": 26443775,
      "p95": 26443775,
      "p99": 26443775,
      "total": 26442310,
      "percent_total": 5648
    },
    "recommended::recommended_extensions": {
      "calls": 1,
      "avg": 43912,
      "p50": 43935,
      "p95": 43935,
      "p99": 43935,
      "total": 43912,
      "percent_total": 9
    },
    "extension::load": {
      "calls": 22,
      "avg": 825253,
      "p50": 300543,
      "p95": 2926591,
      "p99": 5640191,
      "total": 18155585,
      "percent_total": 3878
    },
    "andromeda::main": {
      "calls": 1,
      "avg": 46810404,
      "p50": 46825471,
      "p95": 46825471,
      "p99": 46825471,
      "total": 46810404,
      "percent_total": 10000
    },
    "run::run": {
      "calls": 1,
      "avg": 46370961,
      "p50": 46399487,
      "p95": 46399487,
      "p99": 46399487,
      "total": 46370961,
      "percent_total": 9906
    },
    "andromeda::run_main": {
      "calls": 1,
      "avg": 46791799,
      "p50": 46792703,
      "p95": 46792703,
      "p99": 46792703,
      "total": 46791799,
      "percent_total": 9996
    },
    "console::internal_print": {
      "calls": 180,
      "avg": 4839,
      "p50": 4739,
      "p95": 5663,
      "p99": 6263,
      "total": 871085,
      "percent_total": 186
    },
    "runtime::new": {
      "calls": 1,
      "avg": 18783237,
      "p50": 18792447,
      "p95": 18792447,
      "p99": 18792447,
      "total": 18783237,
      "percent_total": 4012
    },
    "run::create_runtime_files": {
      "calls": 1,
      "avg": 46366733,
      "p50": 46399487,
      "p95": 46399487,
      "p99": 46399487,
      "total": 46366733,
      "percent_total": 9905
    },
    "console::get_group_indent": {
      "calls": 180,
      "avg": 183,
      "p50": 180,
      "p95": 280,
      "p99": 430,
      "total": 33086,
      "percent_total": 7
    }
  }
}

@load1n9 load1n9 merged commit c0fb878 into tryandromeda:main Oct 28, 2025
8 checks passed
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.

2 participants