|
%!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.. | ||
BUILD | %!s(int64=5) %!d(string=hai) anos | |
OWNERS | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
main_test.go | %!s(int64=5) %!d(string=hai) anos | |
scheduler_bench_test.go | %!s(int64=5) %!d(string=hai) anos | |
scheduler_perf_types.go | %!s(int64=5) %!d(string=hai) anos | |
scheduler_test.go | %!s(int64=5) %!d(string=hai) anos | |
test-performance.sh | %!s(int64=5) %!d(string=hai) anos | |
util.go | %!s(int64=5) %!d(string=hai) anos |
We already have a performance testing system -- Kubemark. However, Kubemark requires setting up and bootstrapping a whole cluster, which takes a lot of time.
We want to have a standard way to reproduce scheduling latency metrics result and benchmark scheduler as simple and fast as possible. We have the following goals:
Currently the test suite has the following:
go test -bench
and report nanosecond/op.# In Kubernetes root path
make generated_files
cd test/integration/scheduler_perf
./test-performance.sh