Asama 7.3 — Implement benchmark infrastructure (saqut bench) #61

Open
opened 2026-05-26 19:53:08 +03:00 by saqut · 0 comments
Owner

Goal: Measure compiler performance on large inputs.

Files to create/modify:

  • src/cli/commands/bench.hpp (new)
  • benchmarks/ directory

Requirements:

  • saqut bench runs benchmarks and reports parse time, token throughput, memory usage.
  • Warm-up phase to reduce noise.
  • JSON output format for tracking over time.

Success criteria:

  • Parse a 10K-line file and report tokens/second.
  • Memory usage reported in KB/MB.
**Goal:** Measure compiler performance on large inputs. **Files to create/modify:** - src/cli/commands/bench.hpp (new) - benchmarks/ directory **Requirements:** - saqut bench runs benchmarks and reports parse time, token throughput, memory usage. - Warm-up phase to reduce noise. - JSON output format for tracking over time. **Success criteria:** - Parse a 10K-line file and report tokens/second. - Memory usage reported in KB/MB.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: saqut/saqut-compiler#61
No description provided.