moby/internal/testutils
Paweł Gronowski dade279565
c8d/list: Add Images benchmark
Benchmark the `Images` implementation (image list) against an image
store with 10, 100 and 1000 random images. Currently the images are
single-platform only.

The images are generated randomly, but a fixed seed is used so the
actual testing data will be the same across different executions.

Because the content store is not a real containerd image store but a
local implementation, a small delay (500us) is added to each content
store method call. This is to simulate a real-world usage where each
containerd client call requires a gRPC call.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-19 09:38:56 +01:00
..
netnsutils internal/testutils/netnsutils: move utils that were not used on Windows 2023-08-11 15:00:30 +02:00
specialimage c8d/list: Add Images benchmark 2024-03-19 09:38:56 +01:00
archive.go integration/save: Add tests checking OCI archive output 2024-02-05 11:17:58 +01:00
logger.go testutils: move Logger interface to testutils 2023-07-26 21:16:09 +02:00