Skip to content

Basic Benchmarks for Walk

As part of an effort to speed up offline garbage collection, these benchmarks should enable us to measure progress on improving the performance of the Walk function. The mark phase of garbage collection relies heavily on Walk.

To test the s3 driver's walk function, run the following command after setting up an s3 environment:

go test -v -cpuprofile profile.out github.com/docker/distribution/registry/storage/driver/s3-aws -args -check.v -check.b -check.f "DriverSuite.BenchmarkWalk*"

Edited by Hayley Swimelar

Merge request reports