Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 375 Bytes

File metadata and controls

10 lines (6 loc) · 375 Bytes

Benchmarks

Use the simulation command to measure repeatable runs:

Measure-Command { python -m vending simulate --customers 10000 --seed 1 }

The simulation uses the same state transitions as the interactive machine, so the benchmark exercises coin insertion, purchase selection, change-making, inventory updates, transaction creation, and persistence.