014 interpreter benchmark

✓ Passing This code compiles and runs correctly.

Code

input.kz

Actual


╔══════════════════════════════════════════════════════════════╗
║           KORU INTERPRETER BENCHMARK                         ║
╚══════════════════════════════════════════════════════════════╝

Benchmark 1: Dispatch only (10000 iterations)
  Time: 0.74 ms
  Throughput: 13440860 dispatches/sec
  Per dispatch: 74 ns

Benchmark 2: Parse only (10000 iterations)
  Time: 263.41 ms
  Throughput: 37964 parses/sec
  Per parse: 26341 ns

Benchmark 3: Full pipeline - parse + dispatch (10000 iterations)
  Time: 270.96 ms
  Throughput: 36906 requests/sec
  Per request: 27096 ns

NOTE: Shape/flow checkers require full program context.
      The dispatcher provides runtime validation via allowlist.

╔══════════════════════════════════════════════════════════════╗
║                      BENCHMARK COMPLETE                      ║
╚══════════════════════════════════════════════════════════════╝

Test Configuration

MUST_RUN

Post-validation Script: