all: make benchmarks standalone binaries
This has better modularity, since it will let us add other benchamrks
that have different drivers. It also isolates the benchmarks better,
since it avoids contaminating the heap with data allocated at init
time by other benchmarks (e.g., the json benchmark does this).
Reviewed-by: Dmitry Vyukov <firstname.lastname@example.org>
Reviewed-by: Russ Cox <email@example.com>
12 files changed