Startup, CPU, and Memory benchmarks between OrbStack Docker and Apple Containers
Overview
Section titled “Overview”Performance is critical when evaluating a container runtime. We have benchmarked OrbStack and Apple Containers across different images using robust criterion tests in Rust.
Container Startup Time
Section titled “Container Startup Time”The startup time measures how fast a container can boot, execute a command (echo booted), and terminate. Apple Containers launch a dedicated micro-VM per container, which provides great isolation but can have a slight overhead compared to OrbStack.
Startup Time (Milliseconds)
CPU Performance (sysbench)
Section titled “CPU Performance (sysbench)”Running sysbench cpu run inside the containers shows that both solutions achieve near-native performance since they both rely on Apple’s Virtualization framework.
CPU Events Per Second (sysbench)
Memory Usage (Overhead)
Section titled “Memory Usage (Overhead)”Apple Containers consume a baseline of RAM for their dedicated VM instance per container. OrbStack uses a shared Linux VM, which means launching multiple containers consumes significantly less memory overall.