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 <email@example.com>
Reviewed-by: Russ Cox <firstname.lastname@example.org>
12 files changed