Benchmarks

The numbers behind the paper

Section 12 of the yellow paper cites these pages. Everything here comes from scripts in one package with fixed seeds, so you can run it and get the same results.

Cryptography

Timings for every primitive the protocol uses: BLAKE3, AES-256-GCM, Ed25519, ML-DSA-65, X25519, ML-KEM-768, the hybrid handshake, Merkle roots and ledger ID derivation.

tasqnetwork.io/benchmark/crypto
Quorum and audits

Whether Eq. 6 predicts quorum capture, what the distinct-machine rule buys, and the attack economics that led to hidden audits.

tasqnetwork.io/benchmark/quorum
Reputation

How fast the reputation rule removes faulty nodes, and how much noise an honest node can have without being excluded.

tasqnetwork.io/benchmark/reputation
Scheduler

A discrete-event simulation of mode R with hidden audits. Latency, utilisation and wrong-acceptance rate, random versus κ-weighted selection.

tasqnetwork.io/benchmark/scheduler
GPU and enclave model

A cost model for mode A against mode R, and a study of floating-point reordering.

tasqnetwork.io/benchmark/gpu-model

Reproduce

pip install numpy cryptography blake3 pqcrypto python3 scripts/micro_crypto.py python3 scripts/sim_protocol.py python3 scripts/sim_scheduler.py python3 scripts/model_gpu.py # reads micro_crypto output

Microbenchmarks ran on a 2 vCPU Intel Xeon(R) Processor @ 2.10GHz with one thread, Python 3.11.15, median of 7 runs. Timings depend on hardware. Simulations reproduce exactly.

Raw data and scripts

FilePageDownload
micro_crypto.csvcryptoCSV
S1_quorum_capture.csvquorumCSV
S2_distinct_machines.csvquorumCSV
S3_attack_economics.csvquorumCSV
S3b_breakeven.csvquorumCSV
S4_reputation.csvreputationCSV
sim_scheduler.csvschedulerCSV
M1_modeA_overhead.csvgpu-modelCSV
M2_mode_costs.csvgpu-modelCSV
M3_breakeven_premium.csvgpu-modelCSV
D1_nondeterminism_cpu.csvgpu-modelCSV
scripts/micro_crypto.pysourceView
scripts/sim_protocol.pysourceView
scripts/sim_scheduler.pysourceView
scripts/model_gpu.pysourceView