Expensive functions can each look for their own BENCHMARKS_... env var, and read it in if found. Each gets a corresponding 'generate' function, and script for calling it. Use Nix to run these scripts and set these env vars.