3 ms·
The benchmarks in the gVisor docs above are using ptrace, and they don't look too shabby.
by marmarama 5y ago
The benchmarks in the gVisor docs above are using ptrace, and they don't look too shabby.
- eyberg 5y agoUsing redis as an example it's basically half in every benchmark: https://gvisor.dev/docs/architecture_guide/performance/#system-calls https://gvisor.dev/docs/architecture_guide/performance/#syst... IO bound tasks can be up to 10x slower using ptrace. I think using hardware acceleration gives you acceptable performance but ptrace is just a non-starter for prod.