Skip to content

feat: differentiate cli and runtime errors#202

Merged
load1n9 merged 2 commits intomainfrom
runtime-errors
Jan 24, 2026
Merged

feat: differentiate cli and runtime errors#202
load1n9 merged 2 commits intomainfrom
runtime-errors

Conversation

@load1n9
Copy link
Copy Markdown
Member

@load1n9 load1n9 commented Jan 24, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 24, 2026

Performance Comparison basehead

Total Elapsed Time: 40.19ms → 43.39ms (+8.0%)
Profiling Mode: timing - Execution duration of functions.

+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| Function                                               | Calls                | Avg                              | P50                             | P95                              | P99                              | Total                            | % Total                      |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda::main                                        | 1 → 1 (+0.0%)        | 39.46ms → 42.59ms (+7.9%)        | 39.49ms → 42.60ms (+7.9%)       | 39.49ms → 42.60ms (+7.9%)        | 39.49ms → 42.60ms (+7.9%)        | 39.46ms → 42.59ms (+7.9%)        | 100.00% → 100.00% (+0.0%)    |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda::run_main                                    | 1 → 1 (+0.0%)        | 39.43ms → 42.56ms (+7.9%)        | 39.45ms → 42.57ms (+7.9%)       | 39.45ms → 42.57ms (+7.9%)        | 39.45ms → 42.57ms (+7.9%)        | 39.43ms → 42.56ms (+7.9%)        | 99.93% → 99.92% (-0.0%)      |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda::run::create_runtime_files                   | 1 → 1 (+0.0%)        | 39.05ms → 42.18ms (+8.0%)        | 39.06ms → 42.21ms (+8.1%)       | 39.06ms → 42.21ms (+8.1%)        | 39.06ms → 42.21ms (+8.1%)        | 39.05ms → 42.18ms (+8.0%)        | 98.96% → 99.04% (+0.1%)      |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda::run::run                                    | 1 → 1 (+0.0%)        | 39.05ms → 42.18ms (+8.0%)        | 39.06ms → 42.21ms (+8.1%)       | 39.06ms → 42.21ms (+8.1%)        | 39.06ms → 42.21ms (+8.1%)        | 39.05ms → 42.18ms (+8.0%)        | 98.96% → 99.04% (+0.1%)      |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda_core::runtime::run                           | 1 → 1 (+0.0%)        | 19.48ms → 22.12ms (+13.6%)       | 19.48ms → 22.13ms (+13.6%)      | 19.48ms → 22.13ms (+13.6%)       | 19.48ms → 22.13ms (+13.6%)       | 19.48ms → 22.12ms (+13.6%)       | 49.36% → 51.94% (+5.2%)      |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda_core::runtime::new                           | 1 → 1 (+0.0%)        | 18.47ms → 18.87ms (+2.2%)        | 18.48ms → 18.87ms (+2.1%)       | 18.48ms → 18.87ms (+2.1%)        | 18.48ms → 18.87ms (+2.1%)        | 18.47ms → 18.87ms (+2.2%)        | 46.81% → 44.31% (-5.3%)      |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda_core::extension::load                        | 22 → 22 (+0.0%)      | 800.49µs → 810.25µs (+1.2%)      | 303.36µs → 291.58µs (-3.9%)     | 2.91ms → 2.90ms (-0.4%)          | 5.49ms → 5.43ms (-1.0%)          | 17.61ms → 17.83ms (+1.2%)        | 44.63% → 41.85% (-6.2%)      |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda_runtime::ext::console::internal_print        | 180 → 180 (+0.0%)    | 3.91µs → 5.10µs (+30.2%) ⚠️      | 4.02µs → 4.78µs (+19.0%)        | 5.74µs → 8.05µs (+40.1%) ⚠️      | 13.87µs → 20.59µs (+48.4%) ⚠️    | 704.44µs → 917.13µs (+30.2%) ⚠️  | 1.78% → 2.15% (+20.8%) ⚠️    |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda_runtime::recommended::recommended_extensions | 1 → 1 (+0.0%)        | 47.98µs → 64.91µs (+35.3%) ⚠️    | 48.00µs → 64.93µs (+35.3%) ⚠️   | 48.00µs → 64.93µs (+35.3%) ⚠️    | 48.00µs → 64.93µs (+35.3%) ⚠️    | 47.98µs → 64.91µs (+35.3%) ⚠️    | 0.12% → 0.15% (+25.0%) ⚠️    |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+
| andromeda_runtime::ext::console::get_group_indent      | 180 → 180 (+0.0%)    | 108.00ns → 164.00ns (+51.9%) ⚠️  | 90.00ns → 131.00ns (+45.6%) ⚠️  | 251.00ns → 311.00ns (+23.9%) ⚠️  | 421.00ns → 561.00ns (+33.3%) ⚠️  | 19.53µs → 29.55µs (+51.3%) ⚠️    | 0.04% → 0.06% (+50.0%) ⚠️    |
+--------------------------------------------------------+----------------------+----------------------------------+---------------------------------+----------------------------------+----------------------------------+----------------------------------+------------------------------+

Generated with hotpath-rs

📊 View Raw JSON Metrics

PR Metrics

{
  "hotpath_profiling_mode": "timing",
  "total_elapsed": 43394275,
  "description": "Execution duration of functions.",
  "caller_name": "andromeda::main",
  "output": {
    "andromeda_runtime::recommended::recommended_extensions": {
      "calls": 1,
      "avg": 64911,
      "p50": 64927,
      "p95": 64927,
      "p99": 64927,
      "total": 64911,
      "percent_total": 15
    },
    "andromeda::main": {
      "calls": 1,
      "avg": 42589386,
      "p50": 42598399,
      "p95": 42598399,
      "p99": 42598399,
      "total": 42589386,
      "percent_total": 10000
    },
    "andromeda::run::create_runtime_files": {
      "calls": 1,
      "avg": 42183294,
      "p50": 42205183,
      "p95": 42205183,
      "p99": 42205183,
      "total": 42183294,
      "percent_total": 9904
    },
    "andromeda::run_main": {
      "calls": 1,
      "avg": 42555372,
      "p50": 42565631,
      "p95": 42565631,
      "p99": 42565631,
      "total": 42555372,
      "percent_total": 9992
    },
    "andromeda_runtime::ext::console::internal_print": {
      "calls": 180,
      "avg": 5095,
      "p50": 4779,
      "p95": 8047,
      "p99": 20591,
      "total": 917132,
      "percent_total": 215
    },
    "andromeda_core::extension::load": {
      "calls": 22,
      "avg": 810253,
      "p50": 291583,
      "p95": 2899967,
      "p99": 5431295,
      "total": 17825587,
      "percent_total": 4185
    },
    "andromeda_core::runtime::new": {
      "calls": 1,
      "avg": 18873601,
      "p50": 18874367,
      "p95": 18874367,
      "p99": 18874367,
      "total": 18873601,
      "percent_total": 4431
    },
    "andromeda::run::run": {
      "calls": 1,
      "avg": 42184286,
      "p50": 42205183,
      "p95": 42205183,
      "p99": 42205183,
      "total": 42184286,
      "percent_total": 9904
    },
    "andromeda_core::runtime::run": {
      "calls": 1,
      "avg": 22124149,
      "p50": 22134783,
      "p95": 22134783,
      "p99": 22134783,
      "total": 22124149,
      "percent_total": 5194
    },
    "andromeda_runtime::ext::console::get_group_indent": {
      "calls": 180,
      "avg": 164,
      "p50": 131,
      "p95": 311,
      "p99": 561,
      "total": 29545,
      "percent_total": 6
    }
  }
}

Main Branch Metrics

{
  "hotpath_profiling_mode": "timing",
  "total_elapsed": 40186115,
  "description": "Execution duration of functions.",
  "caller_name": "andromeda::main",
  "output": {
    "andromeda::main": {
      "calls": 1,
      "avg": 39458442,
      "p50": 39485439,
      "p95": 39485439,
      "p99": 39485439,
      "total": 39458442,
      "percent_total": 10000
    },
    "andromeda_core::extension::load": {
      "calls": 22,
      "avg": 800486,
      "p50": 303359,
      "p95": 2910207,
      "p99": 5488639,
      "total": 17610709,
      "percent_total": 4463
    },
    "andromeda_core::runtime::run": {
      "calls": 1,
      "avg": 19480232,
      "p50": 19480575,
      "p95": 19480575,
      "p99": 19480575,
      "total": 19480232,
      "percent_total": 4936
    },
    "andromeda_runtime::recommended::recommended_extensions": {
      "calls": 1,
      "avg": 47980,
      "p50": 47999,
      "p95": 47999,
      "p99": 47999,
      "total": 47980,
      "percent_total": 12
    },
    "andromeda::run_main": {
      "calls": 1,
      "avg": 39432604,
      "p50": 39452671,
      "p95": 39452671,
      "p99": 39452671,
      "total": 39432604,
      "percent_total": 9993
    },
    "andromeda_runtime::ext::console::internal_print": {
      "calls": 180,
      "avg": 3913,
      "p50": 4017,
      "p95": 5743,
      "p99": 13871,
      "total": 704436,
      "percent_total": 178
    },
    "andromeda::run::create_runtime_files": {
      "calls": 1,
      "avg": 39048587,
      "p50": 39059455,
      "p95": 39059455,
      "p99": 39059455,
      "total": 39048587,
      "percent_total": 9896
    },
    "andromeda::run::run": {
      "calls": 1,
      "avg": 39049749,
      "p50": 39059455,
      "p95": 39059455,
      "p99": 39059455,
      "total": 39049749,
      "percent_total": 9896
    },
    "andromeda_core::runtime::new": {
      "calls": 1,
      "avg": 18470544,
      "p50": 18481151,
      "p95": 18481151,
      "p99": 18481151,
      "total": 18470544,
      "percent_total": 4681
    },
    "andromeda_runtime::ext::console::get_group_indent": {
      "calls": 180,
      "avg": 108,
      "p50": 90,
      "p95": 251,
      "p99": 421,
      "total": 19526,
      "percent_total": 4
    }
  }
}

@load1n9 load1n9 merged commit 0685756 into main Jan 24, 2026
10 checks passed
@load1n9 load1n9 deleted the runtime-errors branch January 24, 2026 20:39
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