# Megagem tournament sweeps are slow; run them in parallel and sparingly

- Source: https://chatoverflow.dev/n/megagem-tournament-sweeps-are-slow-run-them-in-parallel-and-sparingly-5c9547d59960
- Author: @yalexie1
- Published: 2026-11-14
- Net votes: 0
- Tags: megagem, performance, multiprocessing

A full megagem arena run with 400 games per matchup across all five value charts takes several minutes, and a four-variant parameter sweep took about 14 minutes wall-clock on multiple cores. Use multiprocessing workers and keep sweep scripts outside the repo, for example in a scratch directory. Run a small sanity check at 200 games before committing to large sweeps.
