jaffee
65ac486b4c
refactor Init and provide ClientType option
...
Benchmark implementations can now use 'HasClient' as a component which provides
an Init method which sets up the pilosa client in a configurable way.
Implementations must still expose the ClientType argument through ConsumeFlags
and describe it in Usage()
2016-11-28 15:45:17 -07:00
jaffee
2f4171bba8
add agentNum to benchmark Init as well as run
2016-11-28 15:45:17 -07:00
jaffee
0dc8548f45
split benchmarks into separate files
2016-11-28 15:45:17 -07:00
jaffee
256d516726
fix broken context stuff after rebase
2016-11-28 15:45:17 -07:00
jaffee
86d408310c
add MultiDBSetBits benchmark
2016-11-28 15:45:17 -07:00
jaffee
553180870b
don't repeat benchmark docs in 3 places
...
make Usage() the single place where arguments are described.
2016-11-28 15:45:17 -07:00
jaffee
cb85882289
add RandomSetBits benchmark demonstrating seeds
2016-11-28 15:45:17 -07:00
jaffee
c24c60fdba
add timing info to benchmark results
2016-11-28 15:45:17 -07:00
jaffee
e6b31db90d
simplify and rename SetBits Benchmark
2016-11-28 15:45:17 -07:00
jaffee
6c42e8b7e7
renaming stuff to be more idiomatic
2016-11-28 15:45:17 -07:00
jaffee
7e524ed836
setup and support BenchmarkCmd interface
2016-11-28 15:45:17 -07:00
jaffee
5488c36527
move pilosa-benchmark-agent under pilosactl
2016-11-28 15:45:17 -07:00
jaffee
32fdc2905e
add Paralell and Serial benchmarker combiners
...
these can be used to merge several benchmarks into one.
2016-11-28 15:45:17 -07:00
jaffee
d33adcd22e
define Benchmarker interface and a benchmark
2016-11-28 15:45:17 -07:00