Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capacity: add benchmark for CSIStorageCapacity update #706

Closed
wants to merge 1 commit into from

Commits on Apr 25, 2022

  1. capacity: add benchmark for CSIStorageCapacity update

    It may be possible to optimize updating capacity by using patching. Before
    trying that we need a benchmark.
    
    This benchmark acts as a client with basically unlimited local rate
    limits. When run long enough, the results are stable:
    
    $ go test -run=xxx -bench=. -count=5 -benchtime=1m . | tee /tmp/log
    ...
    $ $GOPATH/bin/benchstat /tmp/log
    name               time/op
    CapacityUpdate-36  3.93ms ± 1%
    pohly committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    08bc33c View commit details
    Browse the repository at this point in the history