zoo-bench - 2026-10-11 - AMD EPYC 7763 64-Core Processor

zoo-framework 0.11.0
benchmark

Same-caliber comparison against 5 baselines: apscheduler, asyncio_pool, bare_thread, process_pool, thread_pool. Every number was re-measured on this machine by zoo-bench and published per tier, including the tiers the framework under test loses.

raw data: results/zoo-framework-0.11.0/20261011T093730Z.json

zoo-bench report

Run environment

itemvalue
CPU modelAMD EPYC 7763 64-Core Processor
logical cores4
platformLinux-x86_64
operating systemLinux 6.17.0-1022-azure (#22-Ubuntu SMP Mon Jul 27 17:24:03 UTC 2026)
PythonCPython 3.13.16
interpreter/opt/hostedtoolcache/Python/3.13.16/x64/bin/python
GILdefault
framework under test (distribution metadata)0.11.0
framework under test (module __version__)0.11.0 (footnote only, not the version criterion)
drive-surface generation of the framework under testcurrent-generation drive surface (scheduling core + scheduling model; the completion signal comes from the result reactor)
harnesszoo-bench 0.0.1 @ 9a42be24ac43f75e2e5d7b16434f91ba3d0717b6
command to reproducezoo-bench run --framework zoo-framework==0.11.0

data: Run environment

Run environment

Run environment (cont.)

dist_version (the distribution metadata) is the source of truth; module_version is only a footnote

data: Run environment

zoo-bench report

Workload

  • composition: one unit of work = JSON serialize + deserialize + string concatenation, repeated until the target duration is reached; the tiers are declared by body_tiers_us in matrix.yaml
  • the workload is a stand-in, not a real trace: its shape resembles business actions such as 'take a frame of data -> serialize -> parse -> transform strings', but this repository holds no real trace, so every conclusion is conditional on that

data: Workload

zoo-bench report

Measurement methodology

  • the body duration is instrumented within the same run: the body measures itself internally and reports back; framework overhead = end-to-end - it. No cross-run subtraction - two runs differ in state (caches, frequencies, scheduling noise), so subtracting introduces systematic bias.
  • warmups are excluded from statistics: each unit first runs 3 warmup rounds that are discarded, then only the following 30 measured rounds are counted; the sample count equals 'measured rounds x concurrency'.
  • absolute durations are not comparable across runs: they only show the order of magnitude; across versions/machines read the relative quantities within the same run (overhead share, multiples against the baselines), which are insensitive to overall speed.

data: Measurement methodology

zoo-bench report

Conclusion summary

  • Once the framework under test zoo runs a body of about 2700 microseconds or more, its framework overhead drops below 15% of end-to-end; below that tier, the main price of choosing it is the framework overhead itself.
  • At concurrency 1 and a 40 microsecond body, the framework under test is 2.14x faster than process_pool (the fastest measured tier at that concurrency).
  • At concurrency 1, once the body exceeds about 40 microseconds, apscheduler is no longer faster than the framework under test.
  • At concurrency 4, once the body exceeds about 40 microseconds, apscheduler is no longer faster than the framework under test.
  • At concurrency 16, once the body exceeds about 40 microseconds, apscheduler is no longer faster than the framework under test.

data: Conclusion summary

Conclusion summary

Conclusion summary (cont.)

  • At concurrency 64, once the body exceeds about 40 microseconds, apscheduler is no longer faster than the framework under test.
  • At concurrency 1, within the measured tiers asyncio_pool is always faster than the framework under test - tiers like these are exactly the openly published unfavourable data of this report.
  • At concurrency 4, once the body exceeds about 10000 microseconds, asyncio_pool is no longer faster than the framework under test.
  • At concurrency 16, within the measured tiers asyncio_pool is always faster than the framework under test - tiers like these are exactly the openly published unfavourable data of this report.

data: Conclusion summary

Conclusion summary

the rest of this section's details are in the full report

For one conclusion per slide, only the first 2 slides of this section are shown; the remaining 8 slides of per-unit numbers, percentiles and raw samples sit in the same section of the full report, verbatim checkable.

full report: the "Conclusion summary" section of report.md in the same directory

Conclusion summary - framework overhead share

1.74%

Framework overhead share of zoo at body tier 10000 microseconds.
3 baselines are lower at this tier: asyncio_pool, bare_thread, thread_pool.
same-tier comparison: apscheduler 4.37%, asyncio_pool 1.50%, bare_thread 1.20%, process_pool 3.66%, thread_pool 0.60%

data: zoo-bench "framework overhead share" at concurrency 1, body tier 10000 microseconds

Dimension: Latency percentiles and jitter

Latency percentiles and jitter at concurrency 1

concurrency 1 - end-to-end / concurrency

body tier 40 microseconds
zoo
157.03 microseconds
apscheduler
308.03 microseconds
asyncio_pool
144.14 microseconds
bare_thread
141.61 microseconds
process_pool
336.29 microseconds
thread_pool
79.31 microseconds
body tier 300 microseconds
zoo
412.58 microseconds
apscheduler
562.94 microseconds
asyncio_pool
389.15 microseconds
bare_thread
393.51 microseconds
process_pool
591.15 microseconds
thread_pool
325.37 microseconds
framework under testbaselinebar length = multiple relative to the framework under test; 1.0 is parity; longer is worse

data: zoo-bench "Latency percentiles and jitter" at concurrency 1 - per-unit numbers and percentiles are in the same section of report.md

Dimension: Latency percentiles and jitter

Latency percentiles and jitter at concurrency 1 (cont.)

concurrency 1 - end-to-end / concurrency

body tier 2700 microseconds
zoo
2.778 milliseconds
apscheduler
2.948 milliseconds
asyncio_pool
2.663 milliseconds
bare_thread
2.725 milliseconds
process_pool
3.013 milliseconds
thread_pool
2.623 milliseconds
body tier 10000 microseconds
zoo
9.929 milliseconds
apscheduler
10.112 milliseconds
asyncio_pool
9.399 milliseconds
bare_thread
9.630 milliseconds
process_pool
10.125 milliseconds
thread_pool
9.369 milliseconds
framework under testbaselinebar length = multiple relative to the framework under test; 1.0 is parity; longer is worse

data: zoo-bench "Latency percentiles and jitter" at concurrency 1 - per-unit numbers and percentiles are in the same section of report.md

zoo-bench report

Dimension: Latency percentiles and jitter

end-to-end / concurrency; percentiles and relative spread are given in the same table - a metric that only gives the median is not acceptable

concurrencybody tier (microseconds)zooapschedulerasyncio_poolbare_threadprocess_poolthread_pool
140157.03 microseconds308.03 microseconds144.14 microseconds141.61 microseconds336.29 microseconds79.31 microseconds
1300412.58 microseconds562.94 microseconds389.15 microseconds393.51 microseconds591.15 microseconds325.37 microseconds
127002.778 milliseconds2.948 milliseconds2.663 milliseconds2.725 milliseconds3.013 milliseconds2.623 milliseconds
1100009.929 milliseconds10.112 milliseconds9.399 milliseconds9.630 milliseconds10.125 milliseconds9.369 milliseconds
440177.06 microseconds257.17 microseconds156.44 microseconds162.35 microseconds176.27 microseconds94.18 microseconds
4300442.41 microseconds546.38 microseconds414.86 microseconds411.77 microseconds331.48 microseconds348.68 microseconds
427002.878 milliseconds2.989 milliseconds2.729 milliseconds2.648 milliseconds1.400 milliseconds2.702 milliseconds
4100009.947 milliseconds10.095 milliseconds9.955 milliseconds9.618 milliseconds4.617 milliseconds9.839 milliseconds
1640158.98 microseconds230.76 microseconds136.04 microseconds168.76 microseconds158.72 microseconds90.57 microseconds
16300440.91 microseconds512.03 microseconds395.94 microseconds427.79 microseconds276.84 microseconds355.80 microseconds

data: Dimension: Latency percentiles and jitter

Dimension: Latency percentiles and jitter

Dimension: Latency percentiles and jitter (cont.)

concurrencybody tier (microseconds)zooapschedulerasyncio_poolbare_threadprocess_poolthread_pool
1627002.885 milliseconds2.952 milliseconds2.725 milliseconds2.700 milliseconds1.370 milliseconds2.742 milliseconds
16100009.988 milliseconds10.097 milliseconds9.980 milliseconds9.717 milliseconds4.698 milliseconds9.867 milliseconds
6440194.80 microseconds241.67 microseconds124.21 microseconds171.85 microseconds202.33 microseconds90.47 microseconds
64300452.02 microseconds510.06 microseconds378.92 microseconds427.59 microseconds296.22 microseconds341.71 microseconds
6427002.928 milliseconds2.995 milliseconds2.779 milliseconds2.705 milliseconds1.357 milliseconds2.705 milliseconds
641000010.517 milliseconds10.128 milliseconds10.259 milliseconds9.718 milliseconds4.709 milliseconds10.415 milliseconds

per-unit values (percentiles, spread, raw per-round samples) are in 'Appendix: all values' at the end.

data: Dimension: Latency percentiles and jitter

Dimension: Framework overhead share

Framework overhead share at concurrency 1

concurrency 1 - framework overhead

body tier 40 microseconds
zoo
68.65%
apscheduler
81.31%
asyncio_pool
67.95%
bare_thread
63.22%
process_pool
83.79%
thread_pool
39.28%
body tier 300 microseconds
zoo
27.69%
apscheduler
46.45%
asyncio_pool
26.86%
bare_thread
24.74%
process_pool
47.86%
thread_pool
11.59%
framework under testbaselinebar length = multiple relative to the framework under test; 1.0 is parity; longer is worse

data: zoo-bench "Framework overhead share" at concurrency 1 - per-unit numbers and percentiles are in the same section of report.md

Dimension: Framework overhead share

Framework overhead share at concurrency 1 (cont.)

concurrency 1 - framework overhead

body tier 2700 microseconds
zoo
5.00%
apscheduler
9.43%
asyncio_pool
4.87%
bare_thread
4.28%
process_pool
11.72%
thread_pool
1.96%
body tier 10000 microseconds
zoo
1.74%
apscheduler
4.37%
asyncio_pool
1.50%
bare_thread
1.20%
process_pool
3.66%
thread_pool
0.60%
framework under testbaselinebar length = multiple relative to the framework under test; 1.0 is parity; longer is worse

data: zoo-bench "Framework overhead share" at concurrency 1 - per-unit numbers and percentiles are in the same section of report.md

zoo-bench report

Dimension: Framework overhead share

overhead = end-to-end / concurrency - the body duration measured within the same run (no cross-run subtraction). cells with -: that concurrency exceeds this machine's parallel capacity; the body's self-reported duration contains scheduling waits from oversubscription and is not comparable with the row's end-to-end per task, so no overhead figure is given (end-to-end and throughput live in their own dimensions)

concurrencybody tier (microseconds)zooapschedulerasyncio_poolbare_threadprocess_poolthread_pool
14068.65%81.31%67.95%63.22%83.79%39.28%
130027.69%46.45%26.86%24.74%47.86%11.59%
127005.00%9.43%4.87%4.28%11.72%1.96%
1100001.74%4.37%1.50%1.20%3.66%0.60%
44072.38%77.32%66.81%68.24%46.48%48.94%
430031.63%42.90%25.61%29.06%-15.26%

data: Dimension: Framework overhead share

Dimension: Framework overhead share

Dimension: Framework overhead share (cont.)

concurrencybody tier (microseconds)zooapschedulerasyncio_poolbare_threadprocess_poolthread_pool
427005.40%10.29%5.57%4.38%-4.06%
410000------
1640------
16300------
162700------
1610000------
6440------
64300------
642700------
6410000------

per-unit values (percentiles, spread, raw per-round samples) are in 'Appendix: all values' at the end.

data: Dimension: Framework overhead share

Dimension: Throughput and concurrency scaling

Throughput and concurrency scaling at concurrency 1

concurrency 1 - throughput

body tier 40 microseconds
zoo
6,368 tasks/s
apscheduler
3,246 tasks/s
asyncio_pool
6,938 tasks/s
bare_thread
7,061 tasks/s
process_pool
2,974 tasks/s
thread_pool
12,609 tasks/s
body tier 300 microseconds
zoo
2,424 tasks/s
apscheduler
1,776 tasks/s
asyncio_pool
2,570 tasks/s
bare_thread
2,541 tasks/s
process_pool
1,692 tasks/s
thread_pool
3,073 tasks/s
framework under testbaselinebar length = multiple relative to the framework under test; 1.0 is parity; longer is worse

data: zoo-bench "Throughput and concurrency scaling" at concurrency 1 - per-unit numbers and percentiles are in the same section of report.md

Dimension: Throughput and concurrency scaling

Throughput and concurrency scaling at concurrency 1 (cont.)

concurrency 1 - throughput

body tier 2700 microseconds
zoo
360 tasks/s
apscheduler
339 tasks/s
asyncio_pool
375 tasks/s
bare_thread
367 tasks/s
process_pool
332 tasks/s
thread_pool
381 tasks/s
body tier 10000 microseconds
zoo
101 tasks/s
apscheduler
99 tasks/s
asyncio_pool
106 tasks/s
bare_thread
104 tasks/s
process_pool
99 tasks/s
thread_pool
107 tasks/s
framework under testbaselinebar length = multiple relative to the framework under test; 1.0 is parity; longer is worse

data: zoo-bench "Throughput and concurrency scaling" at concurrency 1 - per-unit numbers and percentiles are in the same section of report.md

zoo-bench report

Dimension: Throughput and concurrency scaling

throughput = concurrency / median end-to-end; whether it keeps rising with concurrency is the scaling behaviour

concurrencybody tier (microseconds)zooapschedulerasyncio_poolbare_threadprocess_poolthread_pool
1406368.33246.56937.97061.42973.712609.0
13002423.81776.42569.72541.21691.63073.4
12700359.9339.2375.5367.0331.9381.2
110000100.798.9106.4103.898.8106.7
44022591.215554.025569.124638.422692.642474.1
43009041.47321.09641.79714.112067.111472.0
427001389.71338.21465.61510.82856.91480.5
410000402.1396.3401.8415.9866.4406.6
1640100640.569336.7117614.494809.1100804.1176656.6
1630036288.731248.440410.137401.257794.744969.3
1627005545.85419.65872.35926.511681.15835.0

data: Dimension: Throughput and concurrency scaling

Dimension: Throughput and concurrency scaling

Dimension: Throughput and concurrency scaling (cont.)

concurrencybody tier (microseconds)zooapschedulerasyncio_poolbare_threadprocess_poolthread_pool
16100001601.91584.61603.21646.63405.51621.6
6440328542.1264822.7515270.2372428.2316315.6707442.1
64300141586.6125476.2168900.1149676.6216054.3187293.3
64270021859.021372.523028.223658.947176.623661.8
64100006085.36319.26238.46585.613590.56144.8

per-unit values (percentiles, spread, raw per-round samples) are in 'Appendix: all values' at the end.

data: Dimension: Throughput and concurrency scaling

zoo-bench report

Dimension: Overhead attribution

scope: splits the per-task end-to-end into submit side / handoff / body / return and, at the same tier and concurrency, compares each segment against every baseline, answering 'which segment the excess falls on'. It is diagnostic, not the main evidence: it samples a small set of tiers, and does not compare total overhead against the baselines. A negative handoff is not an error: it means the submit call had not returned yet while the body was already running - schemes that count thread creation as submit side behave this way (measured: bare_thread handoff -343 microseconds). **The return segment includes waiting for th

e completion signal** (the last stretch before draining returns);

it shares the main measurement's scope

data: Dimension: Overhead attribution

Dimension: Overhead attribution

Dimension: Overhead attribution (cont.)

status: ok

this dimension is a diagnosis, not the main evidence: the sampled tiers and concurrencies are a fixed small batch, not the whole matrix. The concurrency ceiling is the machine's parallel capacity - beyond it, what is measured is contention;

sampled tiers (microseconds): 40, 10000; concurrency: [1, 4]; this machine's parallel capacity: 4

data: Dimension: Overhead attribution

Dimension: Overhead attribution

the rest of this section's details are in the full report

For one conclusion per slide, only the first 2 slides of this section are shown; the remaining 18 slides of per-unit numbers, percentiles and raw samples sit in the same section of the full report, verbatim checkable.

full report: the "Dimension: Overhead attribution" section of report.md in the same directory

zoo-bench report

Dimension: The cost of scheduling semantics

scope: this dimension uses an internal switch comparison (same workload, semantics all off vs. enabled one by one) and does not compare across schemes - a bare writeup has no counterpart for priority / timeout / retry, so it can only answer 'what is this framework's semantics worth', not 'how much more expensive than a bare writeup'

status: ok (the conclusion was reached on the 'current' drive-surface generation installed during this measurement)

semantics itemlayerhow probedmeasurableevidence / reason
timeoutdispatch layerbehavioral probe (driven repeatedly through scheduling rounds; measures the moment the worker leaves the in-flight table)yestimeout reap observed: the worker left the in-flight table before the body ended (0.0122s) (body 0.15s, run_timeout 0.01s); judgment action at dispatch_core.py:472; what is in effect is observation and circuit-breaking (recording, marking unhealthy, removing the in-flight registration, stopping dispatch), not termination of the still-running worker - CPython cannot safely interrupt a running thread
priorityevent layerstructural probe (checks whether the symbols required for execution exist)nonot re-checked: this item's conclusion was reached on the 'previous' generation; taking it as this generation's fact asserts wiring in the report that the current generation does not have. Re-deriving it needs a probe design of its own (each item needs clean on/off states before it can be priced)
retryevent layerstructural probe (checks whether the symbols required for execution exist)nonot re-checked: this item's conclusion was reached on the 'previous' generation; taking it as this generation's fact asserts wiring in the report that the current generation does not have. Re-deriving it needs a probe design of its own (each item needs clean on/off states before it can be priced)

data: Dimension: The cost of scheduling semantics

Dimension: The cost of scheduling semantics

Dimension: The cost of scheduling semantics (cont.)

this conclusion was reached on the version under test and its coordinates hold for that version only; after appending a version to matrix.yaml, re-run this probe

data: Dimension: The cost of scheduling semantics

zoo-bench report

Dimension: Native task line: three execution forms of the same subject

scope: this line is measured on its own: it enters neither the main matrix's pivot tables nor its crossings, and its numbers must not be read against the baseline adapters listed there

verdict: ok

equivalence gate: passed, 15 inputs compared byte for byte against the Python reference (envelope 256 bytes)

loaded task modbus_rtu.parse_response - Modbus RTU response-frame parsing: the input is a bare RTU ADU response frame (no transport framing), and the tier's frame bytes are its length

tiers R1, R8, R125 (frame bytes 7, 21, 255); concurrencies 1, 4, 16, 64; each cell runs 100 warm-up plus 100 measured rounds, one child process per concurrency (4 in all)

data: Dimension: Native task line: three execution forms of the same subject

Dimension: Native task line: three execution forms of the same subject

Dimension: Native task line: three execution forms of the same subject (cont.)

crossover (read at the judged concurrency 1 only): the native form is faster on R8, R125; slower on R1; undecided on none. crossover point: up to 7 frame bytes the native form is not faster, at or above 21 bytes it is

each figure is end-to-end per task (median of the measured rounds) - the same caliber as the main matrix's latency dimension

data: Dimension: Native task line: three execution forms of the same subject

Dimension: Native task line: three execution forms of the same subject

the rest of this section's details are in the full report

For one conclusion per slide, only the first 2 slides of this section are shown; the remaining 5 slides of per-unit numbers, percentiles and raw samples sit in the same section of the full report, verbatim checkable.

full report: the "Dimension: Native task line: three execution forms of the same subject" section of report.md in the same directory

zoo-bench report

tiers where the framework under test is faster

Tiers where the framework under test is ahead (the two sides differ by more than that tier's band). This comes from the same within-run comparison as the openly published unfavourable data - one side takes the faster tiers, the other the slower ones, so both cover the same ground and neither can pick its own tiers. This section being empty is not a failure: it should be empty when nothing is distinguishable or when the framework loses everywhere.

baselineconcurrencybody tier (microseconds)gapmedian of the framework under test
apscheduler140the framework under test is 1.96x faster than apscheduler157.03 microseconds
process_pool140the framework under test is 2.14x faster than process_pool157.03 microseconds
apscheduler1300the framework under test is 1.36x faster than apscheduler412.58 microseconds
process_pool1300the framework under test is 1.43x faster than process_pool412.58 microseconds
apscheduler12700the framework under test is 1.06x faster than apscheduler2.778 milliseconds

data: tiers where the framework under test is faster

tiers where the framework under test is faster

tiers where the framework under test is faster (cont.)

baselineconcurrencybody tier (microseconds)gapmedian of the framework under test
process_pool12700the framework under test is 1.08x faster than process_pool2.778 milliseconds
apscheduler440the framework under test is 1.45x faster than apscheduler177.06 microseconds
apscheduler4300the framework under test is 1.24x faster than apscheduler442.41 microseconds
apscheduler42700the framework under test is 1.04x faster than apscheduler2.878 milliseconds
apscheduler1640the framework under test is 1.45x faster than apscheduler158.98 microseconds
apscheduler16300the framework under test is 1.16x faster than apscheduler440.91 microseconds
apscheduler162700the framework under test is 1.02x faster than apscheduler2.885 milliseconds
apscheduler6440the framework under test is 1.24x faster than apscheduler194.80 microseconds
apscheduler64300the framework under test is 1.13x faster than apscheduler452.02 microseconds
apscheduler642700the framework under test is 1.02x faster than apscheduler2.928 milliseconds

data: tiers where the framework under test is faster

Openly published unfavourable data - summary

the framework under test is slower at 41 tiers, across 4 baselines.

asyncio_pool is faster at 9 tiers

worst 1.57x (concurrency 64 at 40 microseconds). All tiers: concurrency 1 at 2700 microseconds, concurrency 1 at 10000 microseconds, concurrency 4 at 2700 microseconds, concurrency 16 at 40 microseconds, concurrency 16 at 300 microseconds, concurrency 16 at 2700 microseconds, concurrency 64 at 40 microseconds, concurrency 64 at 300 microseconds, concurrency 64 at 2700 microseconds

bare_thread is faster at 10 tiers

worst 1.13x (concurrency 64 at 40 microseconds). All tiers: concurrency 1 at 10000 microseconds, concurrency 4 at 300 microseconds, concurrency 4 at 2700 microseconds, concurrency 4 at 10000 microseconds, concurrency 16 at 2700 microseconds, concurrency 16 at 10000 microseconds, concurrency 64 at 40 microseconds, concurrency 64 at 300 microseconds, concurrency 64 at 2700 microseconds, concurrency 64 at 10000 microseconds

process_pool is faster at 9 tiers

worst 2.23x (concurrency 64 at 10000 microseconds). All tiers: concurrency 4 at 300 microseconds, concurrency 4 at 2700 microseconds, concurrency 4 at 10000 microseconds, concurrency 16 at 300 microseconds, concurrency 16 at 2700 microseconds, concurrency 16 at 10000 microseconds, concurrency 64 at 300 microseconds, concurrency 64 at 2700 microseconds, concurrency 64 at 10000 microseconds

thread_pool is faster at 13 tiers

worst 2.15x (concurrency 64 at 40 microseconds). All tiers: concurrency 1 at 40 microseconds, concurrency 1 at 300 microseconds, concurrency 1 at 2700 microseconds, concurrency 1 at 10000 microseconds, concurrency 4 at 40 microseconds, concurrency 4 at 300 microseconds, concurrency 4 at 2700 microseconds, concurrency 16 at 40 microseconds, concurrency 16 at 300 microseconds, concurrency 16 at 2700 microseconds, concurrency 64 at 40 microseconds, concurrency 64 at 300 microseconds, concurrency 64 at 2700 microseconds

data: zoo-bench "published unfavorable data" - per-tier details follow on later slides and in report.md

zoo-bench report

Openly published unfavourable data

Tiers where the framework under test is behind (the two sides differ by more than that tier's band). A report missing this part is not acceptable - a report that only shows where it wins gives the reader every reason to distrust it. Tiers whose difference is smaller than the band are not here but in the 'no winner' section: that is the verdict's outcome, not a place to hide things.

baselineconcurrencybody tier (microseconds)gapmedian of the framework under test
thread_pool140thread_pool is 1.98x faster than zoo157.03 microseconds
thread_pool1300thread_pool is 1.27x faster than zoo412.58 microseconds
asyncio_pool12700asyncio_pool is 1.04x faster than zoo2.778 milliseconds
thread_pool12700thread_pool is 1.06x faster than zoo2.778 milliseconds
asyncio_pool110000asyncio_pool is 1.06x faster than zoo9.929 milliseconds
bare_thread110000bare_thread is 1.03x faster than zoo9.929 milliseconds

data: Openly published unfavourable data

Openly published unfavourable data

Openly published unfavourable data (cont.)

baselineconcurrencybody tier (microseconds)gapmedian of the framework under test
thread_pool110000thread_pool is 1.06x faster than zoo9.929 milliseconds
thread_pool440thread_pool is 1.88x faster than zoo177.06 microseconds
bare_thread4300bare_thread is 1.07x faster than zoo442.41 microseconds
process_pool4300process_pool is 1.33x faster than zoo442.41 microseconds
thread_pool4300thread_pool is 1.27x faster than zoo442.41 microseconds
asyncio_pool42700asyncio_pool is 1.05x faster than zoo2.878 milliseconds
bare_thread42700bare_thread is 1.09x faster than zoo2.878 milliseconds
process_pool42700process_pool is 2.06x faster than zoo2.878 milliseconds
thread_pool42700thread_pool is 1.07x faster than zoo2.878 milliseconds
bare_thread410000bare_thread is 1.03x faster than zoo9.947 milliseconds
process_pool410000process_pool is 2.15x faster than zoo9.947 milliseconds
asyncio_pool1640asyncio_pool is 1.17x faster than zoo158.98 microseconds
thread_pool1640thread_pool is 1.76x faster than zoo158.98 microseconds

data: Openly published unfavourable data

Openly published unfavourable data

Openly published unfavourable data (cont.)

baselineconcurrencybody tier (microseconds)gapmedian of the framework under test
asyncio_pool16300asyncio_pool is 1.11x faster than zoo440.91 microseconds
process_pool16300process_pool is 1.59x faster than zoo440.91 microseconds
thread_pool16300thread_pool is 1.24x faster than zoo440.91 microseconds
asyncio_pool162700asyncio_pool is 1.06x faster than zoo2.885 milliseconds
bare_thread162700bare_thread is 1.07x faster than zoo2.885 milliseconds
process_pool162700process_pool is 2.11x faster than zoo2.885 milliseconds
thread_pool162700thread_pool is 1.05x faster than zoo2.885 milliseconds
bare_thread1610000bare_thread is 1.03x faster than zoo9.988 milliseconds
process_pool1610000process_pool is 2.13x faster than zoo9.988 milliseconds
asyncio_pool6440asyncio_pool is 1.57x faster than zoo194.80 microseconds
bare_thread6440bare_thread is 1.13x faster than zoo194.80 microseconds
thread_pool6440thread_pool is 2.15x faster than zoo194.80 microseconds
asyncio_pool64300asyncio_pool is 1.19x faster than zoo452.02 microseconds

data: Openly published unfavourable data

Openly published unfavourable data

Openly published unfavourable data (cont.)

baselineconcurrencybody tier (microseconds)gapmedian of the framework under test
bare_thread64300bare_thread is 1.06x faster than zoo452.02 microseconds
process_pool64300process_pool is 1.53x faster than zoo452.02 microseconds
thread_pool64300thread_pool is 1.32x faster than zoo452.02 microseconds
asyncio_pool642700asyncio_pool is 1.05x faster than zoo2.928 milliseconds
bare_thread642700bare_thread is 1.08x faster than zoo2.928 milliseconds
process_pool642700process_pool is 2.16x faster than zoo2.928 milliseconds
thread_pool642700thread_pool is 1.08x faster than zoo2.928 milliseconds
bare_thread6410000bare_thread is 1.08x faster than zoo10.517 milliseconds
process_pool6410000process_pool is 2.23x faster than zoo10.517 milliseconds

data: Openly published unfavourable data

Openly published unfavourable data

Openly published unfavourable data (cont.)

the native-task line is a line of its own and is not mixed into the table above: at its judged concurrency 1 the native form is slower on R1 and the routing form is slower than pure interpretation on R1, R8; both are listed with equal prominence, from the same paired comparison of the same run, in the "Native task line: three execution forms of the same subject" section

data: Openly published unfavourable data

zoo-bench report

tiers with no winner

Tiers where the two sides cannot be told apart: the difference is smaller than that tier's band. The band comes from the two sides' own across-round spread (stdev / median of the per-task medians) within the same run, so it varies with the sample and the reader can recompute it from the archived per-round samples. It also covers every measured tier and states a reason for each - this section is not a place to hide things: reporting noise-level differences as '1.00x faster' is.

criterion: band = the framework's own across-round relative spread plus the baseline's; a single side's across-round relative spread = stdev / median of that unit's per-round per-task medians

band this run: 1.0% to 57.0% (it varies with each tier's spread).

data: tiers with no winner

tiers with no winner

tiers with no winner (cont.)

baselineconcurrencybody tier (microseconds)ratioreason
asyncio_pool1400.92xthe two sides differ by 8.2%, less than the band of 23.0% - no winner
bare_thread1400.90xthe two sides differ by 9.8%, less than the band of 23.8% - no winner
asyncio_pool13000.94xthe two sides differ by 5.7%, less than the band of 7.2% - no winner
bare_thread13000.95xthe two sides differ by 4.6%, less than the band of 10.1% - no winner
bare_thread127000.98xthe two sides differ by 1.9%, less than the band of 2.2% - no winner
apscheduler1100001.02xthe two sides differ by 1.8%, less than the band of 1.9% - no winner
process_pool1100001.02xthe two sides differ by 2.0%, less than the band of 3.7% - no winner
asyncio_pool4400.88xthe two sides differ by 11.6%, less than the band of 20.2% - no winner
bare_thread4400.92xthe two sides differ by 8.3%, less than the band of 17.7% - no winner
process_pool4401.00xthe two sides differ by 0.4%, less than the band of 30.2% - no winner
asyncio_pool43000.94xthe two sides differ by 6.2%, less than the band of 6.7% - no winner
apscheduler4100001.01xthe two sides differ by 1.5%, less than the band of 2.0% - no winner
asyncio_pool4100001.00xthe two sides differ by 0.1%, less than the band of 5.1% - no winner

data: tiers with no winner

tiers with no winner

the rest of this section's details are in the full report

For one conclusion per slide, only the first 2 slides of this section are shown; the remaining 1 slides of per-unit numbers, percentiles and raw samples sit in the same section of the full report, verbatim checkable.

full report: the "tiers with no winner" section of report.md in the same directory

zoo-bench report

caliber limitations and sources of bias

  • measured layer: dispatch layer: drives BaseWaiter.execute_service() directly (thread-pool mode) instead of Master's full run loop - the latter's service loop fires once per second, which would lift the latency scale from microseconds to seconds. One scheduling round per submitted task, so that whole round's bookkeeping is charged to this single task; Master's usage serves several workers per round, which would spread that cost over tasks

data: caliber limitations and sources of bias

caliber limitations and sources of bias

caliber limitations and sources of bias (cont.)

  • scope note (apscheduler): APScheduler's scheduled-job model, including job registration and trigger-decision cost; the library swallows exceptions raised inside jobs, so this tier re-raises them during drain. Caliber note: the library offers no job-completion notification, so the completion signal comes from this tier's Condition, and the cost of one notification per task counts toward its end-to-end
  • scope note (asyncio_pool): the asyncio event loop dispatches synchronous bodies (equivalent to loop.run_in_executor), not native coroutine concurrency; the difference from a thread pool is the event loop's own cost

data: caliber limitations and sources of bias

caliber limitations and sources of bias

the rest of this section's details are in the full report

For one conclusion per slide, only the first 2 slides of this section are shown; the remaining 4 slides of per-unit numbers, percentiles and raw samples sit in the same section of the full report, verbatim checkable.

full report: the "caliber limitations and sources of bias" section of report.md in the same directory

zoo-bench report

bring your own baseline

the baselines of this harness are open: implement the four methods of zoo_bench.adapters.BaseAdapter (setup / submit / drain / teardown), register with zoo_bench.adapters.registry.register, or list your module path in extra_modules of matrix.yaml - no file in this repository needs to change. Your implementation goes through the same equivalence verification (submit N bodies, assert all ran and each exactly once);

failing it means the data is not trusted. We deliberately write this path into the report: a report written by the framework's own maintainer, measuring that framework, gives every reason to suspect a slowed baseline or a chosen caliber; letting anyone submit their own baseline is what makes this report challengeable and falsifiable.

data: bring your own baseline

zoo-bench report

self-check

  • overall measurement self-check: passed
  • process isolation: {'parent_pid': 71066, 'child_pids': [71522, 71525, 71528, 71531, 71534, 71540, 71546, 71552, 71558, 71576, 71594, 71612, 71630, 71687, 71745, 71800, 71866, 71868, 71870, 71872, 71874, 71879, 71884, 71890, 71895, 71912, 71929, 71946, 71963, 72025, 72087, 72152, 72221, 72255, 72289, 72323, 72357, 72490, 72623, 72756, 72889, 73418, 73947, 74476, 75006, 77119, 79232, 81345, 83460, 83464, 83468, 83472, 83476, 83483, 83490, 83497, 83504, 83523, 83542, 83561, 83580, 83647, 83714, 83781, 83852, 83854, 83856, 83858, 83860, 83865, 83870, 83875, 83880, 83897, 83914, 83931, 83948, 84004, 84061, 84120, 84187, 84189, 84191, 841

data: self-check

self-check

self-check (cont.)

  • 93, 84195, 84200, 84205, 84210, 84215, 84232, 84251, 84268, 84285, 84350, 84415, 84480], 'all_distinct': True, 'none_equals_parent': True}

data: self-check

appendix

every slide can be checked verbatim in the full report

slides are compressed for one conclusion per page; only the layout is compressed, never the numbers.

  • per-unit details (percentiles, spread, raw samples per round): report.md in the same directory
  • figures (SVG and PNG): figures/ in the same directory; also report.pdf
  • raw archive: results/zoo-framework-0.11.0/20261011T093730Z.json
  • 96 valid units in this run, 0 failed

the details run over a hundred rows; squeezing them into slides would strip readers of the means to verify.

← / → · space · R reset