Skip to content

feat(WIP): text rendering for the canvas#182

Merged
load1n9 merged 1 commit intomainfrom
text-rendering
Oct 22, 2025
Merged

feat(WIP): text rendering for the canvas#182
load1n9 merged 1 commit intomainfrom
text-rendering

Conversation

@load1n9
Copy link
Member

@load1n9 load1n9 commented Oct 21, 2025

No description provided.

@github-actions
Copy link

Performance Comparison

Total Elapsed Time: 49.07ms → 48.26ms (-1.7%)

Profiling Mode: timing - Execution duration of functions.

+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| Function                            | Calls                | Avg                            | P50                             | P95                            | P99                              | Total                          | % Total                      |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| andromeda::main                     | 1 → 1 (+0.0%)        | 48.41ms → 47.59ms (-1.7%)      | 48.43ms → 47.61ms (-1.7%)       | 48.43ms → 47.61ms (-1.7%)      | 48.43ms → 47.61ms (-1.7%)        | 48.41ms → 47.59ms (-1.7%)      | 100.00% → 100.00% (+0.0%)    |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| andromeda::run_main                 | 1 → 1 (+0.0%)        | 48.39ms → 47.57ms (-1.7%)      | 48.40ms → 47.58ms (-1.7%)       | 48.40ms → 47.58ms (-1.7%)      | 48.40ms → 47.58ms (-1.7%)        | 48.39ms → 47.57ms (-1.7%)      | 99.95% → 99.95% (+0.0%)      |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| run::run                            | 1 → 1 (+0.0%)        | 47.83ms → 47.09ms (-1.6%)      | 47.84ms → 47.12ms (-1.5%)       | 47.84ms → 47.12ms (-1.5%)      | 47.84ms → 47.12ms (-1.5%)        | 47.83ms → 47.09ms (-1.6%)      | 98.81% → 98.94% (+0.1%)      |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| run::create_runtime_files           | 1 → 1 (+0.0%)        | 47.83ms → 47.09ms (-1.6%)      | 47.84ms → 47.09ms (-1.6%)       | 47.84ms → 47.09ms (-1.6%)      | 47.84ms → 47.09ms (-1.6%)        | 47.83ms → 47.09ms (-1.6%)      | 98.80% → 98.93% (+0.1%)      |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| runtime::run                        | 1 → 1 (+0.0%)        | 27.26ms → 26.75ms (-1.9%)      | 27.26ms → 26.76ms (-1.9%)       | 27.26ms → 26.76ms (-1.9%)      | 27.26ms → 26.76ms (-1.9%)        | 27.26ms → 26.75ms (-1.9%)      | 56.30% → 56.20% (-0.2%)      |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| runtime::new                        | 1 → 1 (+0.0%)        | 18.93ms → 19.01ms (+0.4%)      | 18.94ms → 19.02ms (+0.4%)       | 18.94ms → 19.02ms (+0.4%)      | 18.94ms → 19.02ms (+0.4%)        | 18.93ms → 19.01ms (+0.4%)      | 39.11% → 39.94% (+2.1%)      |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| extension::load                     | 22 → 22 (+0.0%)      | 829.70µs → 832.19µs (+0.3%)    | 292.86µs → 334.34µs (+14.2%)    | 2.99ms → 3.00ms (+0.5%)        | 5.73ms → 5.67ms (-1.1%)          | 18.25ms → 18.31ms (+0.3%)      | 37.70% → 38.46% (+2.0%)      |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| console::internal_print             | 180 → 180 (+0.0%)    | 5.47µs → 5.26µs (-3.8%)        | 5.03µs → 5.04µs (+0.2%)         | 7.61µs → 5.79µs (-23.9%) 🚀    | 17.86µs → 18.27µs (+2.3%)        | 985.07µs → 947.62µs (-3.8%)    | 2.03% → 1.99% (-2.0%)        |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| recommended::recommended_extensions | 1 → 1 (+0.0%)        | 73.66µs → 53.49µs (-27.4%) 🚀  | 73.66µs → 53.50µs (-27.4%) 🚀   | 73.66µs → 53.50µs (-27.4%) 🚀  | 73.66µs → 53.50µs (-27.4%) 🚀    | 73.66µs → 53.49µs (-27.4%) 🚀  | 0.15% → 0.11% (-26.7%) 🚀    |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+
| console::get_group_indent           | 180 → 180 (+0.0%)    | 190.00ns → 191.00ns (+0.5%)    | 181.00ns → 181.00ns (+0.0%)     | 310.00ns → 291.00ns (-6.1%)    | 511.00ns → 401.00ns (-21.5%) 🚀  | 34.32µs → 34.42µs (+0.3%)      | 0.07% → 0.07% (+0.0%)        |
+-------------------------------------+----------------------+--------------------------------+---------------------------------+--------------------------------+----------------------------------+--------------------------------+------------------------------+

Generated with hotpath

📊 View Raw JSON Metrics

PR Metrics

{
  "hotpath_profiling_mode": "timing",
  "total_elapsed": 48255907,
  "description": "Execution duration of functions.",
  "caller_name": "andromeda::main",
  "output": {
    "runtime::new": {
      "calls": 1,
      "avg": 19012690,
      "p50": 19021823,
      "p95": 19021823,
      "p99": 19021823,
      "total": 19012690,
      "percent_total": 3994
    },
    "andromeda::main": {
      "calls": 1,
      "avg": 47593819,
      "p50": 47611903,
      "p95": 47611903,
      "p99": 47611903,
      "total": 47593819,
      "percent_total": 10000
    },
    "extension::load": {
      "calls": 22,
      "avg": 832193,
      "p50": 334335,
      "p95": 3002367,
      "p99": 5668863,
      "total": 18308261,
      "percent_total": 3846
    },
    "console::get_group_indent": {
      "calls": 180,
      "avg": 191,
      "p50": 181,
      "p95": 291,
      "p99": 401,
      "total": 34418,
      "percent_total": 7
    },
    "console::internal_print": {
      "calls": 180,
      "avg": 5264,
      "p50": 5039,
      "p95": 5791,
      "p99": 18271,
      "total": 947617,
      "percent_total": 199
    },
    "andromeda::run_main": {
      "calls": 1,
      "avg": 47573781,
      "p50": 47579135,
      "p95": 47579135,
      "p99": 47579135,
      "total": 47573781,
      "percent_total": 9995
    },
    "recommended::recommended_extensions": {
      "calls": 1,
      "avg": 53491,
      "p50": 53503,
      "p95": 53503,
      "p99": 53503,
      "total": 53491,
      "percent_total": 11
    },
    "run::create_runtime_files": {
      "calls": 1,
      "avg": 47085244,
      "p50": 47087615,
      "p95": 47087615,
      "p99": 47087615,
      "total": 47085244,
      "percent_total": 9893
    },
    "run::run": {
      "calls": 1,
      "avg": 47089572,
      "p50": 47120383,
      "p95": 47120383,
      "p99": 47120383,
      "total": 47089572,
      "percent_total": 9894
    },
    "runtime::run": {
      "calls": 1,
      "avg": 26749914,
      "p50": 26755071,
      "p95": 26755071,
      "p99": 26755071,
      "total": 26749914,
      "percent_total": 5620
    }
  }
}

Main Branch Metrics

{
  "hotpath_profiling_mode": "timing",
  "total_elapsed": 49070700,
  "description": "Execution duration of functions.",
  "caller_name": "andromeda::main",
  "output": {
    "andromeda::main": {
      "calls": 1,
      "avg": 48406347,
      "p50": 48431103,
      "p95": 48431103,
      "p99": 48431103,
      "total": 48406347,
      "percent_total": 10000
    },
    "recommended::recommended_extensions": {
      "calls": 1,
      "avg": 73658,
      "p50": 73663,
      "p95": 73663,
      "p99": 73663,
      "total": 73658,
      "percent_total": 15
    },
    "console::internal_print": {
      "calls": 180,
      "avg": 5472,
      "p50": 5031,
      "p95": 7607,
      "p99": 17855,
      "total": 985071,
      "percent_total": 203
    },
    "runtime::run": {
      "calls": 1,
      "avg": 27257454,
      "p50": 27262975,
      "p95": 27262975,
      "p99": 27262975,
      "total": 27257454,
      "percent_total": 5630
    },
    "andromeda::run_main": {
      "calls": 1,
      "avg": 48385899,
      "p50": 48398335,
      "p95": 48398335,
      "p99": 48398335,
      "total": 48385899,
      "percent_total": 9995
    },
    "run::run": {
      "calls": 1,
      "avg": 47833891,
      "p50": 47841279,
      "p95": 47841279,
      "p99": 47841279,
      "total": 47833891,
      "percent_total": 9881
    },
    "run::create_runtime_files": {
      "calls": 1,
      "avg": 47828842,
      "p50": 47841279,
      "p95": 47841279,
      "p99": 47841279,
      "total": 47828842,
      "percent_total": 9880
    },
    "console::get_group_indent": {
      "calls": 180,
      "avg": 190,
      "p50": 181,
      "p95": 310,
      "p99": 511,
      "total": 34322,
      "percent_total": 7
    },
    "extension::load": {
      "calls": 22,
      "avg": 829695,
      "p50": 292863,
      "p95": 2988031,
      "p99": 5734399,
      "total": 18253308,
      "percent_total": 3770
    },
    "runtime::new": {
      "calls": 1,
      "avg": 18931927,
      "p50": 18939903,
      "p95": 18939903,
      "p99": 18939903,
      "total": 18931927,
      "percent_total": 3911
    }
  }
}

@load1n9 load1n9 merged commit e4aac2d into main Oct 22, 2025
8 checks passed
@load1n9 load1n9 deleted the text-rendering branch October 22, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant