Benchmark
This is a command-line app that executes the apps's directory processing
operation for benchmarking.
It takes a directory path as a positional argument and exists when said
directory has been ingested.
The database is purged on each run.
Usage
To get started, first build the workload program.
go build -o bench.exe ./utils/bench
Then, run the program with a benchmarking tool like hyperfine, providing a directory path as the only argument. Since processing involves a lot of I/O, make sure to request a warmup run as well.
hyperfine -w 1 'bench.exe [DIRECTORY]'
The contents of the following repos, ordered from largest to smallest, are good candidates for benchmarking: