containerd/runtime
Anusha Ragunathan 24144682a0 Micro benchmarks for containerd. (#244)
This is the first in a series of micro benchmarks for containerd.
Performance measurement will use containerd objects and methods
that are not dependent on the grpc API and dont require the daemon
to the running. Test will require containerd-shim and runc.

The motivation is to understand the baseline performance at the lowest
containerd layer. A natural extension to this effort would be to write
macro benchmarks which would include API and daemon.

Note:
- Currently measures only one workload (busybox sh) start times. Will
add other bundles and args soon.
- Can use integration-test utils for bundle processing. However, json
marshal/unmarshal is currently timing out standard benchmark times. So
going with default spec for now.

Sample run:
BenchmarkBusyboxSh-4    / # / # / #        2     576013841 ns/op
ok      github.com/docker/containerd/runtime    1.800s

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
2016-05-27 10:35:42 -07:00
..
container.go Add support for specifying a checkpoint directory. (#245) 2016-05-25 17:42:37 -07:00
container_linux.go containerd build clean on Solaris (#203) 2016-05-19 10:12:50 -07:00
container_solaris.go containerd build clean on Solaris (#203) 2016-05-19 10:12:50 -07:00
process.go containerd build clean on Solaris (#203) 2016-05-19 10:12:50 -07:00
runtime.go Use runc events --stats for collecting stats 2016-04-26 14:57:30 -07:00
runtime_test.go Micro benchmarks for containerd. (#244) 2016-05-27 10:35:42 -07:00
stats.go Use runc events --stats for collecting stats 2016-04-26 14:57:30 -07:00