Warm pool: never-used containers against a cold start

Whether a pool of locked-down containers that no code has touched, each claimed once and removed after, takes the container start off the path of a session's first call, and of a single call that asks for one (SANDBOX_SESSION_POOL; the terms session, cell and relay are defined in the sessions guide (EXTERNAL · source repo ↗)). The page has five parts: one call through the daemon (prefer_warm), the newest; the pool as built, the language hints that steer it, the same pool on OpenShell, and the probe that came first. The probe was measured 2026-10-02 07:51 PDT on a laptop, docker 29.1.3, image node:22-alpine, the docker provider's lockdown flags, 20 samples per bar, a node -e snippet as the call. A laptop number, not a product number: what carries over is the ratio and the breakdown, not the milliseconds.

The one-call path through the daemon (2026-10-29)

A Run, the daemon's call that runs code once in a sandbox of its own, may now carry a cell (INTERNAL · glossary →), code for a Python or JavaScript interpreter whose final value is printed, and ask for prefer_warm: the daemon then runs it in a pool member that is already waiting, a sandbox no code has touched with both interpreters running, and deletes the member after the one call. With no member free it runs the cell in a sandbox made for it, as it does without the flag (a miss: the call still runs, only slower). The answer's warm says which path ran. This section times that call end to end, as a caller sees it: onecall/main.go builds plimsolld from the checkout, starts it with the docker provider (or, for the OpenShell set, the openshell provider and a local OpenShell gateway, v0.1.2, with its docker driver), image plimsoll/sandbox-python:latest and a pool of 1 (SANDBOX_SESSION_POOL), and calls it over loopback (the machine's own network interface) with the Go client, which checks every answer's run record (INTERNAL · glossary →). The cell is 6 * 7; 17 samples per bar, each call preceded by an untimed 5.2 s pause so the pool has made its next member; the calls of a repetition run in the same order, so a change in the machine's load reaches every bar alike.

Six calls per language. One call, warm: a Run with prefer_warm, served by the waiting member. Session: open + cell: the same work as three calls, what the clients did before the daemon took the path over: a session opened warm-only (it is handed the waiting member or refused), one cell, then the close, which is not in the bar (the table has it). Fresh: the Run without prefer_warm, in a sandbox made for it. Miss: a Run with prefer_warm sent as soon as another such Run has taken the only member, while the pool is still making the next one, so it runs fresh. Fresh and miss are each measured twice, because a fresh run on docker first re-runs the provider's Preflight (INTERNAL · glossary →), its checks of the docker daemon, the runtime and the images, whenever the last one is 5 s old or more, and a warm call never does: Preflight due is the call as it comes after the pause, Preflight cached the same call sent right after a GET /readyz (untimed), which re-runs it. A caller whose calls are seconds apart on a quiet daemon sees the first; a busy daemon, where some fresh run or readiness check ran in the last 5 s, the second.

runc (container), Python
35 ms
one call from a waiting member, against 690 ms fresh (340 ms with Preflight cached)
runc (container), JavaScript
42 ms
one call from a waiting member, against 663 ms fresh (320 ms with Preflight cached)
gVisor (kernel tier), Python
51 ms
one call from a waiting member, against 993 ms fresh (648 ms with Preflight cached)
gVisor (kernel tier), JavaScript
78 ms
one call from a waiting member, against 906 ms fresh (570 ms with Preflight cached)
OpenShell (container), Python
11 ms
one call from a waiting member, against 703 ms fresh (700 ms with Preflight cached)
OpenShell (container), JavaScript
16 ms
one call from a waiting member, against 701 ms fresh (727 ms with Preflight cached)
One call, warmSession: open + cellFresh, Preflight cachedFresh, Preflight dueMiss, Preflight cachedMiss, Preflight due10th to 90th percentile
runc (container): one cell, end to end0 ms250 ms500 ms750 ms1000 ms1250 msPythonOne call, warmOne call, warm, Python, runc (container): median 35 ms, 10th to 90th percentile 31 to 38 ms, range 31 to 41 ms (n=17)35 msSession: open + cellSession: open + cell, Python, runc (container): median 36 ms, 10th to 90th percentile 31 to 37 ms, range 31 to 40 ms (n=17)36 msFresh, Preflight cachedFresh, Preflight cached, Python, runc (container): median 340 ms, 10th to 90th percentile 321 to 368 ms, range 317 to 404 ms (n=17)340 msFresh, Preflight dueFresh, Preflight due, Python, runc (container): median 690 ms, 10th to 90th percentile 656 to 721 ms, range 650 to 722 ms (n=17)690 msMiss, Preflight cachedMiss, Preflight cached, Python, runc (container): median 387 ms, 10th to 90th percentile 332 to 423 ms, range 328 to 425 ms (n=17)387 msMiss, Preflight dueMiss, Preflight due, Python, runc (container): median 690 ms, 10th to 90th percentile 656 to 745 ms, range 656 to 761 ms (n=17)690 msJavaScriptOne call, warmOne call, warm, JavaScript, runc (container): median 42 ms, 10th to 90th percentile 38 to 44 ms, range 38 to 45 ms (n=17)42 msSession: open + cellSession: open + cell, JavaScript, runc (container): median 41 ms, 10th to 90th percentile 37 to 45 ms, range 36 to 46 ms (n=17)41 msFresh, Preflight cachedFresh, Preflight cached, JavaScript, runc (container): median 320 ms, 10th to 90th percentile 301 to 333 ms, range 294 to 336 ms (n=17)320 msFresh, Preflight dueFresh, Preflight due, JavaScript, runc (container): median 663 ms, 10th to 90th percentile 633 to 726 ms, range 624 to 808 ms (n=17)663 msMiss, Preflight cachedMiss, Preflight cached, JavaScript, runc (container): median 358 ms, 10th to 90th percentile 312 to 409 ms, range 311 to 425 ms (n=17)358 msMiss, Preflight dueMiss, Preflight due, JavaScript, runc (container): median 659 ms, 10th to 90th percentile 643 to 715 ms, range 612 to 723 ms (n=17)659 msgVisor (kernel tier): one cell, end to end0 ms250 ms500 ms750 ms1000 ms1250 msPythonOne call, warmOne call, warm, Python, gVisor (kernel tier): median 51 ms, 10th to 90th percentile 43 to 57 ms, range 43 to 58 ms (n=17)51 msSession: open + cellSession: open + cell, Python, gVisor (kernel tier): median 53 ms, 10th to 90th percentile 49 to 57 ms, range 49 to 69 ms (n=17)53 msFresh, Preflight cachedFresh, Preflight cached, Python, gVisor (kernel tier): median 648 ms, 10th to 90th percentile 623 to 712 ms, range 610 to 827 ms (n=17)648 msFresh, Preflight dueFresh, Preflight due, Python, gVisor (kernel tier): median 993 ms, 10th to 90th percentile 944 to 1047 ms, range 937 to 1145 ms (n=17)993 msMiss, Preflight cachedMiss, Preflight cached, Python, gVisor (kernel tier): median 666 ms, 10th to 90th percentile 626 to 781 ms, range 618 to 842 ms (n=17)666 msMiss, Preflight dueMiss, Preflight due, Python, gVisor (kernel tier): median 1026 ms, 10th to 90th percentile 1011 to 1125 ms, range 1011 to 1147 ms (n=17)1026 msJavaScriptOne call, warmOne call, warm, JavaScript, gVisor (kernel tier): median 78 ms, 10th to 90th percentile 67 to 82 ms, range 65 to 83 ms (n=17)78 msSession: open + cellSession: open + cell, JavaScript, gVisor (kernel tier): median 76 ms, 10th to 90th percentile 66 to 91 ms, range 62 to 95 ms (n=17)76 msFresh, Preflight cachedFresh, Preflight cached, JavaScript, gVisor (kernel tier): median 570 ms, 10th to 90th percentile 550 to 606 ms, range 539 to 682 ms (n=17)570 msFresh, Preflight dueFresh, Preflight due, JavaScript, gVisor (kernel tier): median 906 ms, 10th to 90th percentile 871 to 1045 ms, range 858 to 1086 ms (n=17)906 msMiss, Preflight cachedMiss, Preflight cached, JavaScript, gVisor (kernel tier): median 605 ms, 10th to 90th percentile 570 to 679 ms, range 559 to 729 ms (n=17)605 msMiss, Preflight dueMiss, Preflight due, JavaScript, gVisor (kernel tier): median 959 ms, 10th to 90th percentile 927 to 1013 ms, range 896 to 1052 ms (n=17)959 msOpenShell (container): one cell, end to end0 ms250 ms500 ms750 ms1000 ms1250 msPythonOne call, warmOne call, warm, Python, OpenShell (container): median 11 ms, 10th to 90th percentile 10 to 12 ms, range 10 to 13 ms (n=17)11 msSession: open + cellSession: open + cell, Python, OpenShell (container): median 11 ms, 10th to 90th percentile 10 to 15 ms, range 10 to 16 ms (n=17)11 msFresh, Preflight cachedFresh, Preflight cached, Python, OpenShell (container): median 700 ms, 10th to 90th percentile 691 to 757 ms, range 654 to 759 ms (n=17)700 msFresh, Preflight dueFresh, Preflight due, Python, OpenShell (container): median 703 ms, 10th to 90th percentile 691 to 794 ms, range 650 to 828 ms (n=17)703 msMiss, Preflight cachedMiss, Preflight cached, Python, OpenShell (container): median 895 ms, 10th to 90th percentile 807 to 970 ms, range 804 to 984 ms (n=17)895 msMiss, Preflight dueMiss, Preflight due, Python, OpenShell (container): median 905 ms, 10th to 90th percentile 848 to 978 ms, range 846 to 1009 ms (n=17)905 msJavaScriptOne call, warmOne call, warm, JavaScript, OpenShell (container): median 16 ms, 10th to 90th percentile 15 to 19 ms, range 15 to 19 ms (n=17)16 msSession: open + cellSession: open + cell, JavaScript, OpenShell (container): median 17 ms, 10th to 90th percentile 16 to 18 ms, range 16 to 25 ms (n=17)17 msFresh, Preflight cachedFresh, Preflight cached, JavaScript, OpenShell (container): median 727 ms, 10th to 90th percentile 673 to 791 ms, range 668 to 822 ms (n=17)727 msFresh, Preflight dueFresh, Preflight due, JavaScript, OpenShell (container): median 701 ms, 10th to 90th percentile 672 to 738 ms, range 671 to 744 ms (n=17)701 msMiss, Preflight cachedMiss, Preflight cached, JavaScript, OpenShell (container): median 884 ms, 10th to 90th percentile 784 to 939 ms, range 783 to 948 ms (n=17)884 msMiss, Preflight dueMiss, Preflight due, JavaScript, OpenShell (container): median 836 ms, 10th to 90th percentile 829 to 888 ms, range 828 to 939 ms (n=17)836 ms

What the bars say, median for median:

A warm call here takes longer than a claimed session's first cell in the pool section below (18 and 22 ms under runc for Python and JavaScript, measured 2026-10-02 against the provider directly, with older code). The extra time is somewhere in the request through the daemon, its checks, the run record each side computes and the code changed since; this page does not break it down.

All one-call numbers (ms)

RuntimeLanguageCallMedian10th to 90th percentileMin to maxn
runc (container)PythonOne call, warm3531 to 3831 to 4117
runc (container)PythonSession: open + cell3631 to 3731 to 4017
runc (container)PythonFresh, Preflight cached340321 to 368317 to 40417
runc (container)PythonFresh, Preflight due690656 to 721650 to 72217
runc (container)PythonMiss, Preflight cached387332 to 423328 to 42517
runc (container)PythonMiss, Preflight due690656 to 745656 to 76117
runc (container)PythonGET /readyz with Preflight due345335 to 378330 to 52017
runc (container)PythonSession: the open11 to 21 to 217
runc (container)PythonSession: the cell3430 to 3729 to 3917
runc (container)PythonSession: the close118116 to 131115 to 18017
runc (container)JavaScriptOne call, warm4238 to 4438 to 4517
runc (container)JavaScriptSession: open + cell4137 to 4536 to 4617
runc (container)JavaScriptFresh, Preflight cached320301 to 333294 to 33617
runc (container)JavaScriptFresh, Preflight due663633 to 726624 to 80817
runc (container)JavaScriptMiss, Preflight cached358312 to 409311 to 42517
runc (container)JavaScriptMiss, Preflight due659643 to 715612 to 72317
runc (container)JavaScriptGET /readyz with Preflight due347331 to 381328 to 38717
runc (container)JavaScriptSession: the open11 to 21 to 217
runc (container)JavaScriptSession: the cell3936 to 4434 to 4617
runc (container)JavaScriptSession: the close175118 to 202114 to 20517
gVisor (kernel tier)PythonOne call, warm5143 to 5743 to 5817
gVisor (kernel tier)PythonSession: open + cell5349 to 5749 to 6917
gVisor (kernel tier)PythonFresh, Preflight cached648623 to 712610 to 82717
gVisor (kernel tier)PythonFresh, Preflight due993944 to 1047937 to 114517
gVisor (kernel tier)PythonMiss, Preflight cached666626 to 781618 to 84217
gVisor (kernel tier)PythonMiss, Preflight due10261011 to 11251011 to 114717
gVisor (kernel tier)PythonGET /readyz with Preflight due349328 to 371315 to 48617
gVisor (kernel tier)PythonSession: the open11 to 21 to 217
gVisor (kernel tier)PythonSession: the cell5147 to 5547 to 6817
gVisor (kernel tier)PythonSession: the close205149 to 234135 to 23717
gVisor (kernel tier)JavaScriptOne call, warm7867 to 8265 to 8317
gVisor (kernel tier)JavaScriptSession: open + cell7666 to 9162 to 9517
gVisor (kernel tier)JavaScriptFresh, Preflight cached570550 to 606539 to 68217
gVisor (kernel tier)JavaScriptFresh, Preflight due906871 to 1045858 to 108617
gVisor (kernel tier)JavaScriptMiss, Preflight cached605570 to 679559 to 72917
gVisor (kernel tier)JavaScriptMiss, Preflight due959927 to 1013896 to 105217
gVisor (kernel tier)JavaScriptGET /readyz with Preflight due345324 to 387324 to 62017
gVisor (kernel tier)JavaScriptSession: the open11 to 21 to 217
gVisor (kernel tier)JavaScriptSession: the cell7465 to 9161 to 9417
gVisor (kernel tier)JavaScriptSession: the close167129 to 210128 to 23617
OpenShell (container)PythonOne call, warm1110 to 1210 to 1317
OpenShell (container)PythonSession: open + cell1110 to 1510 to 1617
OpenShell (container)PythonFresh, Preflight cached700691 to 757654 to 75917
OpenShell (container)PythonFresh, Preflight due703691 to 794650 to 82817
OpenShell (container)PythonMiss, Preflight cached895807 to 970804 to 98417
OpenShell (container)PythonMiss, Preflight due905848 to 978846 to 100917
OpenShell (container)PythonGET /readyz with Preflight due11 to 11 to 117
OpenShell (container)PythonSession: the open11 to 31 to 517
OpenShell (container)PythonSession: the cell109 to 119 to 1317
OpenShell (container)PythonSession: the close380338 to 479336 to 49217
OpenShell (container)JavaScriptOne call, warm1615 to 1915 to 1917
OpenShell (container)JavaScriptSession: open + cell1716 to 1816 to 2517
OpenShell (container)JavaScriptFresh, Preflight cached727673 to 791668 to 82217
OpenShell (container)JavaScriptFresh, Preflight due701672 to 738671 to 74417
OpenShell (container)JavaScriptMiss, Preflight cached884784 to 939783 to 94817
OpenShell (container)JavaScriptMiss, Preflight due836829 to 888828 to 93917
OpenShell (container)JavaScriptGET /readyz with Preflight due11 to 11 to 117
OpenShell (container)JavaScriptSession: the open11 to 21 to 217
OpenShell (container)JavaScriptSession: the cell1614 to 1714 to 2417
OpenShell (container)JavaScriptSession: the close378349 to 431336 to 46217

The machine while each set ran. The load average is the number of processes running or waiting for a CPU, averaged over the last minute; this laptop has 24 CPUs, and other programs ran beside these sets.

The runc set measured a second time, 2026-10-29 20:26 UTC, with a daemon of its own and the same settings; 1-minute load average 1.6 at the start and 0.4 at the end, at most 1.6 as a repetition began. Every median landed within 7% of the first set's, medians in ms:

LanguageCallFirst setSecond setChange
PythonOne call, warm3533-7%
PythonSession: open + cell3635-1%
PythonFresh, Preflight cached340333-2%
PythonFresh, Preflight due690672-3%
PythonMiss, Preflight cached387380-2%
PythonMiss, Preflight due690678-2%
JavaScriptOne call, warm4239-7%
JavaScriptSession: open + cell4140-1%
JavaScriptFresh, Preflight cached3203190%
JavaScriptFresh, Preflight due6636620%
JavaScriptMiss, Preflight cached358362+1%
JavaScriptMiss, Preflight due659664+1%

Checked on every sample, not assumed:

What these numbers do not show:

Built: the pool with interpreters attached (2026-10-02)

Each never-used member gets an interpreter started and its relay attached for every language the image runs, and OpenSession hands one over. Measured 2026-10-02 with pooled/main.go against the provider directly (not through plimsolld), image plimsoll/sandbox-python:latest, 10 samples per bar, 3 s between samples so the pool refills, a cell of 6 * 7. Without a pool the time is a container start, the read-back and process list, then the first cell starting the interpreter and its relay.

runc (container), JavaScript
22 ms
claim + first cell, against 740 ms without a pool
gVisor (kernel tier), JavaScript
51 ms
claim + first cell, against 817 ms without a pool
runc (container), a waiting member
39 MiB
both interpreters running, against 0.5 MiB for a bare session container
gVisor (kernel tier), a waiting member
66 MiB
both interpreters running, against 18.2 MiB for a bare session container
No pool (open creates the container)Pool (open claims a waiting member)
runc (container): open + first cell0 ms250 ms500 ms750 ms1000 msNo pool, JavaScriptNo pool, JavaScript, runc (container): median 740 ms, range 582 to 817 ms (n=10)740 msPool, JavaScriptPool, JavaScript, runc (container): median 22 ms, range 21 to 25 ms (n=10)22 msNo pool, PythonNo pool, Python, runc (container): median 789 ms, range 584 to 848 ms (n=10)789 msPool, PythonPool, Python, runc (container): median 18 ms, range 16 to 19 ms (n=10)18 msgVisor (kernel tier): open + first cell0 ms250 ms500 ms750 ms1000 msNo pool, JavaScriptNo pool, JavaScript, gVisor (kernel tier): median 817 ms, range 644 to 901 ms (n=10)817 msPool, JavaScriptPool, JavaScript, gVisor (kernel tier): median 51 ms, range 47 to 55 ms (n=10)51 msNo pool, PythonNo pool, Python, gVisor (kernel tier): median 891 ms, range 751 to 1008 ms (n=10)891 msPool, PythonPool, Python, gVisor (kernel tier): median 32 ms, range 29 to 36 ms (n=10)32 ms

What made the first measurement slow: OpenSession re-ran the docker Preflight, which re-runs once its result is 5 seconds old, before claiming. A claim now skips it: the member was verified when it was made and is read back before every call, and it must match the execution state the last Preflight verified. With that, claiming takes under a millisecond and the time is the first cell's. The cost is memory: the interpreters a waiting member holds count inside its session's memory limit, including the language a session never uses.

Language hints (2026-10-02)

A session may name the languages its cells will use. It is handed the waiting member warming the most of them, and the pool divides its size across language sets by a weight that follows roughly the last 16 to 32 opens. Measured 2026-10-02 with hints/main.go against the provider directly, a pool of 4, 3 s between opens.

A waiting member warming JavaScript only
18 MiB
runc, docker stats
A waiting member warming both languages
38 MiB
runc, docker stats
A waiting member warming Python only
21 MiB
runc, docker stats
Python-hinted open + first cell
35 ms
median of 16, while the split moved
JavaScript-hinted open + first cell
40 ms
median of 16, while the split moved
both languagesPython onlyJavaScript only
Waiting members by the languages they warmstart, no hints yetstart, no hints yet: 4 warming both languages4after 16 Python-hinted opensafter 16 Python-hinted opens: 1 warming both languages1after 16 Python-hinted opens: 3 warming Python only3after 16 JavaScript-hinted opensafter 16 JavaScript-hinted opens: 1 warming Python only1after 16 JavaScript-hinted opens: 3 warming JavaScript only3

Every hinted open got a warm member (a cold open is about 740 ms). Its first cell answered in 31 to 53 ms, above the 18 to 22 ms of the pooled run above; that gap was not investigated. A hint changes latency, never behavior: a cell in a language the member did not warm still runs, starting its interpreter on first use, and a session without a hint counts as wanting every language. Hints move members between sets and never add any, so SANDBOX_SESSION_POOL still bounds the memory.

OpenShell (2026-10-28)

The same pool on the openshell provider, which runs each sandbox through an OpenShell gateway: one mechanism, with OpenShell's own way of making, checking and deleting a member. Measured 2026-10-28 with openshell/main.go against a local gateway (OpenShell v0.1.2, its docker driver, runc), image plimsoll/sandbox-python:latest, 15 samples per bar, 3 s between samples. Before the pool was built, the same program timed the first call in a session opened ahead of time, as a waiting member would be: 110 ms for a JavaScript cell with its interpreter not yet started and 7 ms with it running, against 716 ms to open a session and run that cell. That was the reason to build it.

OpenShell, JavaScript
15 ms
claim + first cell, against 716 ms without a pool
OpenShell, Python
11 ms
claim + first cell, against 763 ms without a pool
OpenShell, a waiting sandbox
65 MiB
both interpreters running, against 21 MiB bare: the sandbox's container and the gateway's supervisor container beside it
No pool (open creates the sandbox)Pool (open claims a waiting sandbox)
openshell (container): open + first cell0 ms250 ms500 ms750 ms1000 msNo pool, JavaScriptNo pool, JavaScript, openshell (container): median 716 ms, range 673 to 816 ms (n=15)716 msPool, JavaScriptPool, JavaScript, openshell (container): median 15 ms, range 14 to 17 ms (n=15)15 msNo pool, PythonNo pool, Python, openshell (container): median 763 ms, range 708 to 830 ms (n=15)763 msPool, PythonPool, Python, openshell (container): median 11 ms, range 9 to 14 ms (n=15)11 ms

Without a pool, the open alone takes 607 ms: the gateway creates the sandbox and its supervisor and reports it ready, and plimsoll reads it back and records its processes. A snippet in a claimed sandbox took 40 ms against 652 ms, most of it the read-back and the sweep every session call makes here.

The probe before the build: a plain pool

122 ms
saved per call under runc (210 to 88 ms, read-back included)
184 ms
saved per call under gVisor (275 to 91 ms)
17 MiB
held by each idle pool member under gVisor; 0.5 MiB under runc
~15 ms
what a claim could reach with a relay and interpreter already attached, as a warm session cell does (inferred, not measured here)

Time to first output

Cold run todayPool claimPool claim + read-back
runc (container)0 ms100 ms200 ms300 msCold run todayCold run today, runc (container): median 210 ms, p90 222 ms, range 195 to 234 ms (n=20)210 msPool claimPool claim, runc (container): median 83 ms, p90 95 ms, range 69 to 104 ms (n=10)83 msPool claim + read-backPool claim + read-back, runc (container): median 88 ms, p90 100 ms, range 76 to 100 ms (n=10)88 msgVisor (kernel tier)0 ms100 ms200 ms300 msCold run todayCold run today, gVisor (kernel tier): median 275 ms, p90 297 ms, range 241 to 311 ms (n=20)275 msPool claimPool claim, gVisor (kernel tier): median 81 ms, p90 84 ms, range 77 to 89 ms (n=10)81 msPool claim + read-backPool claim + read-back, gVisor (kernel tier): median 91 ms, p90 98 ms, range 85 to 112 ms (n=10)91 ms

"Cold run" is today's path: docker run --rm of the snippet. "Pool claim" is docker exec of the same snippet into a pre-started, never-used member. "Read-back" adds the docker inspect a session already makes before every call; a pool would make it at claim.

Where a claim's time goes

docker exec of trueNode starting and printing
Where a claim spends its time (median, ms)0255075100runc (container)runc (container): docker exec 51 ms51runc (container): Node starting 32 ms32gVisor (kernel tier)gVisor (kernel tier): docker exec 27 ms27gVisor (kernel tier): Node starting 48 ms48

Most of what remains is the docker exec round trip and Node starting. A warm session cell takes 14 to 15 ms on this laptop because its relay is already attached and its interpreter already running (measured 2026-10-01); a pool member could be prepared the same way, which is what the pool as built (above) does.

What it costs

All numbers

RuntimeMeasureMedian, pass 2Median, pass 3p90, pass 2
runc (container)cold_run210 ms206 ms222 ms
runc (container)claim_exec83 ms76 ms95 ms
runc (container)claim_inspect_exec88 ms94 ms100 ms
runc (container)pool_member_start133 ms133 ms146 ms
runc (container)member_remove98 ms72 ms125 ms
runc (container)idle_member_mib0.5 MiB0.5 MiB0.5 MiB
gVisor (kernel tier)cold_run275 ms277 ms297 ms
gVisor (kernel tier)claim_exec81 ms82 ms84 ms
gVisor (kernel tier)claim_inspect_exec91 ms100 ms98 ms
gVisor (kernel tier)pool_member_start157 ms147 ms169 ms
gVisor (kernel tier)member_remove120 ms123 ms152 ms
gVisor (kernel tier)idle_member_mib17.2 MiB17.3 MiB17.2 MiB

Pass 1 agreed with these to within 10 ms.

The data and how to rerun it

Raw samples beside this page: pass-2.json and pass-3.json (the probe), pooled-runc.json and pooled-runsc.json (the pool as built), hints-runc.json (language hints), openshell.json (the pool on OpenShell), onecall-runc.json, onecall-runsc.json, onecall-openshell.json, onecall-runc-repeat.json (one call through the daemon). exec-split.json holds two medians per runtime timed by hand (docker exec of true, and of the snippet); no program reproduces it. The programs are in measurements/warm-pool (EXTERNAL · source repo ↗). From a checkout, with the images make docker-images builds (and gVisor installed for the runsc runs):

python3 measurements/warm-pool/probe.py 20 docs/measurements/warm-pool/pass-2.json
go run ./measurements/warm-pool/pooled                  # runc
go run ./measurements/warm-pool/pooled -runtime runsc   # gVisor
go run ./measurements/warm-pool/hints
go run ./measurements/warm-pool/openshell                # SANDBOX_OPENSHELL_* naming a gateway
go run ./measurements/warm-pool/onecall                  # runc, through plimsolld
go run ./measurements/warm-pool/onecall -runtime runsc   # gVisor
go run ./measurements/warm-pool/onecall -tag repeat      # runc again, a second file
go run ./measurements/warm-pool/onecall -provider openshell  # SANDBOX_OPENSHELL_* naming a gateway
python3 measurements/warm-pool/report.py

Your numbers will differ from these: they are one laptop's. What should carry over is the ratio between a pool and a cold start, and where the time goes.