Sub topic 7
Testing throughput and scalability claims
This chapter assumes you know what blocks, transactions, and block intervals are. It also assumes you can do simple arithmetic and read short Python. The goal is to take a whitepaper's performance numbers and test them against the parameters the paper itself states.
Why performance claims need testing
Performance numbers are among the easiest claims to check and the easiest to inflate. A paper may say "100,000 transactions per second" (TPS), "sub-second finality," or "infinite scalability." Each phrase hides assumptions about hardware, network conditions, transaction type, and what is being counted.
You do not need to run the network to test these claims. Most of the time you only need the paper's own parameters and some arithmetic. If the numbers do not follow from the stated design, the claim is unsupported.
The three quantities to separate
Papers often blur three different measurements. Keep them apart.
| Quantity | Meaning | Common blur |
|---|---|---|
| Throughput | Transactions confirmed per second, sustained | Quoting a peak or a lab figure as the sustained rate |
| Latency | Time from submitting a transaction to a defined confirmation point | Quoting block time as if it were confirmation time |
| Finality | The point after which a transaction cannot be reversed under the stated assumptions | Treating "included in a block" as final |
A chain can have a fast block time and slow finality. A chain can also have high throughput measured with tiny transactions that nobody actually sends. Ask which of the three each number describes.
Step 1: Derive throughput from the parameters
The basic estimate needs three inputs: block size, average transaction size, and block interval. Throughput is the number of transactions that fit in a block, divided by the seconds between blocks.
# Back-of-envelope transactions-per-second estimate from stated parameters.
def tps(block_size_bytes, avg_tx_bytes, block_interval_seconds):
txs_per_block = block_size_bytes // avg_tx_bytes
return txs_per_block / block_interval_seconds
# Hypothetical chain: 1 MB blocks, 250-byte transactions, one block every 600 seconds.
print(round(tps(1_000_000, 250, 600), 1))This prints 6.7. That is close to the real order of magnitude for Bitcoin's early design, which is why this formula is a useful baseline.
Now apply it to a paper's claim. Suppose a paper says 10,000 TPS with 2-second blocks and 1 MB blocks. The formula tells you what transaction size would be required.
# Solve for the average transaction size a claim implies.
def implied_tx_bytes(block_size_bytes, block_interval_seconds, claimed_tps):
txs_per_block = claimed_tps * block_interval_seconds
return block_size_bytes / txs_per_block
print(round(implied_tx_bytes(1_000_000, 2, 10_000), 1))The result is 50.0 bytes. A transaction needs a sender, a recipient, an amount, and a signature. A single common signature is already 64 bytes. So 50 bytes per transaction is not realistic for a general-purpose chain. Either the paper's block size, its interval, or its TPS figure is wrong or based on a special case.
What to do when a parameter is missing
Often the paper states a TPS figure but omits block size or transaction size. Treat that as a finding. A claim that cannot be reproduced from stated parameters is a claim you cannot check. Note it in your assessment and look for the missing values in the documentation or the code (see the chapter on comparing the paper with the implementation).
Step 2: Check what is being counted
A transaction is not a fixed unit of work. Compare these cases.
- A simple transfer of one token between two accounts.
- A smart contract call that reads and writes many storage slots.
- A batch that bundles many transfers into one transaction.
- A consensus vote, which some chains count as a transaction.
Some chains count validator votes toward their reported TPS. Votes keep the network agreeing on state, but they are not user activity. If a dashboard shows 3,000 TPS and most of those are votes, the number of user transactions is far lower.
Look for these signs in the paper:
- "Transactions" is never defined.
- The benchmark uses only the simplest transfer type.
- The figure is labeled "theoretical maximum" or "up to."
- Throughput is quoted for a single shard or a single node, then multiplied.
Step 3: Check the test conditions
When a paper reports measured results, read the experimental setup like a methods section.
- Hardware. Were the nodes high-end servers? Real networks include modest machines.
- Network. Were all nodes in one data center? Latency between continents is far higher than latency inside a rack.
- Node count. Ten validators behave differently from a thousand.
- Workload. Were transactions uniform and conflict-free? Real workloads have contention, where many transactions touch the same account or contract.
- Duration. A 60-second burst does not show sustained behavior. State growth and queue buildup appear over hours or days.
- Failures. Were any nodes faulty or offline during the test?
Step 4: Look at the scaling mechanism
When a paper claims to scale, ask which mechanism provides it. Each one has a cost.
| Approach | How it raises throughput | Typical cost or risk |
|---|---|---|
| Larger blocks | More transactions per block | Higher bandwidth and storage needs, which can reduce the number of people able to run nodes |
| Shorter block interval | More blocks per second | More forks and orphaned blocks, since blocks propagate more slowly than they are produced |
| Sharding | Parallel processing in separate partitions | Cross-shard transactions are slower and harder to make secure |
| Layer 2 (rollups, channels) | Moves work off the main chain | Adds trust or liveness assumptions, and a dependency on the base layer |
| Fewer validators | Less communication per round | Weaker decentralization and a smaller set of parties to attack or bribe |
| Parallel execution | Independent transactions run together | Gains shrink when transactions conflict |
The question is not whether a trade-off exists. It always does. The question is whether the paper names it. A paper that claims higher throughput with no cost in decentralization, security, or hardware requirements is leaving something out.
Step 5: Test latency and finality separately
A paper might say "transactions confirm in 1 second." Break that apart.
- Inclusion time: how long until the transaction appears in a block.
- Confirmation depth: how many blocks must follow before you treat it as safe.
- Finality type: probabilistic or deterministic.
In a chain with probabilistic finality, reversal becomes less likely with each new block but never impossible. In a chain with deterministic finality, a transaction is final once a quorum of validators signs off, under the stated fault assumptions.
You can estimate time to practical safety:
# Time until a transaction has `depth` confirmations, ignoring inclusion delay.
def time_to_confirmations(block_interval_seconds, depth):
return block_interval_seconds * depth
print(time_to_confirmations(600, 6)) # 3600 seconds
print(time_to_confirmations(2, 30)) # 60 secondsIf a paper advertises a 2-second block time but recommends 30 confirmations for safety, the real wait is 60 seconds. Use the safe wait, not the headline.
Step 6: Test the scaling claim as load grows
"Scalable" means performance holds as something grows. Ask what grows: users, nodes, or state. Then ask what happens.
- More nodes. In many consensus protocols, every validator talks to every other validator, so messages grow roughly with the square of the validator count. A claim of scaling to thousands of validators needs a mechanism that avoids this, such as committees or aggregated signatures.
- More users. Fees may rise sharply when demand exceeds capacity. A paper that never mentions a fee market or congestion is skipping a real question.
- More state. Storage grows as the chain ages. If the paper does not discuss pruning, state rent, or light clients, ask how a new node will sync in five years.
Common errors when reading performance claims
- Accepting a peak figure as the sustained rate.
- Multiplying a per-shard figure by the shard count without accounting for cross-shard traffic.
- Counting consensus messages as user transactions.
- Confusing block time with finality.
- Comparing a lab benchmark with another chain's live-network numbers.
- Assuming the paper's absence of a trade-off means the trade-off does not exist.
A short checklist
- Write down the headline figure and what it measures.
- Find block size, transaction size, and block interval. Recompute TPS.
- Define what counts as a transaction.
- Read the test conditions: hardware, network, node count, workload, duration, failures.
- Name the scaling mechanism and its cost.
- Separate inclusion, confirmation, and finality.
- Ask what happens as users, nodes, and state grow.
- Record every missing parameter as an open question.
Exercise
A whitepaper claims 5,000 TPS. It states 4 MB blocks and a 10-second block interval. Using the tps function from this chapter, what average transaction size in bytes would make the claim work, and is it plausible for a transfer that includes a 64-byte signature?
Show answer
Transactions per block needed = 5,000 × 10 = 50,000. Average size = 4,000,000 / 50,000 = 80 bytes. That is barely above the 64-byte signature alone, leaving only 16 bytes for sender, recipient, and amount. This is not realistic for a general-purpose chain, so the claim relies on unstated assumptions such as batching, compression, or a special transaction type. Record it as an open question and look for the missing details.
Exercise
A paper advertises "1-second finality" for a chain with 1-second blocks and probabilistic finality. Its own security section recommends waiting for 20 blocks before accepting a payment. What is the practical wait, and what should you write in your assessment?
Show answer
The practical wait is about 20 seconds (1 second × 20 blocks). The assessment should say that the 1-second figure describes block time, not finality, and that the paper's own safety guidance implies roughly 20 seconds before a payment is safe to accept under its stated assumptions.