Players and tick time

How long does a tick take, and how many players can Vanillite take? First: tick time with real game work (mobs, items, redstone, TNT ...). Then: one core, and tick time by player count. Details on the setup: How we measure.

Game work: tick time per scenario

The benchmark suite builds a load in a new world, lets one bot stand in it and records the tick time. Run of 2026-11-27 (04:42 UTC), Vanillite dev 24e7176, 4 cores of the old test machine. Paper and Vanilla 26.3: run of 2026-11-25 (not measured again in the newer run). Every scenario is described in the benchmarks report in the repository.

Scenario Server Mean p50 p95 CPU % RAM MiB
500 cows in a pen Vanillite 6.69 ms 6.12 10.56 15.7 468
Paper 10.4 ms 10.03 14.05 29.1 1536
Vanilla 11.3 ms 10.66 16.44 28.8 1293
2 000 dropped items Vanillite 5.96 ms 5.44 9.94 13.8 473
Paper 8.27 ms 7.93 11.52 23.3 1593
Vanilla 12.44 ms 12.11 15.68 30.8 1305
1 024 hoppers in rings Vanillite 4.5 ms 3.72 8.65 10.5 478
Paper 5.33 ms 5.1 6.97 18.1 1562
Vanilla 4.78 ms 4.62 6.53 16.3 1320
Flowing water and lava Vanillite 4.06 ms 3.18 9.0 24.9 478
Paper 5.05 ms 4.55 9.44 18.9 1531
Vanilla 5.28 ms 4.68 8.53 19.2 1281
Light updates (32 768 sources) Vanillite 4.87 ms 2.55 8.38 14.4 461
Paper 4.18 ms 3.78 6.88 22.4 1618
Vanilla 5.76 ms 5.17 9.23 36.8 1303
TNT: 2 560 blocks, chain explosions Vanillite 12.92 ms 3.62 90.56 27.4 462
Paper 7.98 ms 6.92 15.98 29.6 1617
Vanilla 19.08 ms 3.01 81.86 43.9 1320
Redstone: 93 clocks, 1 395 dust, 93 pistons Vanillite 21.09 ms 9.25 74.16 290 449
Paper 14.17 ms 9.91 32.63 43.6 1595
Vanilla 16.63 ms 15.16 33.0 46.3 1325

CPU % is the CPU time of the server process (100 % = one core). Lower is better everywhere; best mean in bold.

%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#8a8f98, #2e9d5b"}}}}%%
xychart-beta
  title "Mean tick time per scenario, ms (lower is better): Paper grey, Vanillite green"
  x-axis ["Cows", "Items", "Hoppers", "Fluids", "Light", "TNT", "Redstone"]
  y-axis "ms" 0 --> 25
  bar [10.4, 8.27, 5.33, 5.05, 4.18, 7.98, 14.17]
  bar [6.69, 5.96, 4.5, 4.06, 4.87, 12.92, 21.09]
  • Ahead of Paper: cows, items, hoppers and fluids. In RAM Vanillite is far ahead everywhere: about 460–480 MiB, against 1300–1600 MiB.
  • Behind Paper: redstone, TNT and light. Vanillite's slowest ticks (p95) are also higher in hoppers, redstone, TNT and light. The redstone run used 290 % CPU, much more than the others; the redstone and TNT tick times are the known weak spots, and the suite reports when they change.
  • Faster since this run (local estimate): block reads, redstone wire, explosions and light changes were made cheaper. Measured on a development machine, ticks in the redstone and TNT scenarios take about 30 % less time and the light scenario about 20 % less; the game itself behaves the same. This is not in a nightly run yet, so the table above still shows the older numbers. Whether it is enough to catch up with Paper is not known until the next run.
  • Pumpkin has no tick time in this run. It could not run the redstone and hopper scenarios (missing commands) and used about 200 MiB and 2–3 % CPU in the others, but it does much less game work, so its numbers are not like-for-like. Its tick times (read like Paper's, with /tick query) are first published in the two sections below.
  • One run per night: expect about ±10 % between runs. The run of 2026-11-27 also showed a slower cold start and a slower world save than the run before (World storage).

One core and 1 GiB

The server runs alone in a container with one CPU core and 1 GiB RAM, like a small game server panel. One bot walks at sprint speed, then flies at 10 blocks per second, straight through new terrain, with the movement checks on. Run of 2026-11-27 (16:57 UTC) on the new benchmark server, Vanillite dev eabe8d6. Paper and Vanilla are not part of this scenario.

Server Movement MSPT p50 p99 max RAM at the end Set back
Vanillite sprinting 4.28 ms 9.65 13.39 157 MiB 0
Vanillite flying 3.96 ms 9.55 13.83 170 MiB 0
Pumpkin sprinting 4.02 ms 15.18 18.43 260 MiB 0
Pumpkin flying 4.62 ms 18.63 26.03 303 MiB 0
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#2e9d5b"}}}}%%
xychart-beta
  title "Slowest tick with one flying player, ms (lower is better)"
  x-axis ["Vanillite", "Pumpkin"]
  y-axis "ms" 0 --> 50
  bar [13.83, 26.03]

On one core Vanillite never needed more than 14 ms for a tick, with no player set back. Pumpkin's typical tick (p50) is as fast, but its slowest ticks are longer. Pumpkin is not like-for-like (its world generation and game rules are not Vanilla's). Idle RAM and start time of this run: Memory and startup numbers.

Many players close together

Bots walk randomly within 48 blocks of the spawn (the dense random walk), 60 seconds per step, and follow the terrain. Run of 2026-11-27 (16:57 UTC) on the new benchmark server (every server limited to 4 cores and 8 GiB), Vanillite dev eabe8d6. Paper 26.3 and Pumpkin ran the same steps. A server that loses its bots ends its ramp.

Players Server MSPT p50 p95 RAM MiB Full view p95
100 Vanillite 10.13 13.42 219 1.6 s
Paper 31.08 43.62 2407 25 s
Pumpkin 20.61 31.9 692 15 s
500 Vanillite 27.01 37.09 295 0.4 s
Paper 139 (215 of 500 joined) 324 2688 89 s
Pumpkin ⚠ 224 5037 2006 68 s
1000 Vanillite 46.78 59.32 443 0.8 s
Pumpkin ⚠ 205 (149 of 1000 joined) 1917 2690 68 s
2000 Vanillite ⚠ 82.92 98.5 772 2.6 s
5000 Vanillite 0 of 5000 joined – 292 –

"Full view": from connecting until every chunk in the view distance has arrived. ⚠: the host was overloaded during the Pumpkin run (load 1.48 per CPU), so its numbers are unreliable. The Vanillite 2000 row is unreliable too: the load bots themselves ran out of CPU at that many players (see the newer run below).

%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#2e9d5b"}}}}%%
xychart-beta
  title "Most players with p95 tick under 50 ms (higher is better)"
  x-axis ["Paper", "Pumpkin", "Vanillite"]
  y-axis "Players" 0 --> 600
  bar [100, 100, 500]
  • Vanillite: 500 players under 50 ms (p95), Paper and Pumpkin 100. Vanillite used 295 MiB at 500 players, Paper 2688 MiB. RAM per player (above idle) fell from about 1.3 MiB at 100 players to about 350 KiB at 2000.
  • The 1000 step missed the limit (p95 59 ms) and 2000 players were slower again. The older test below reached 1000 under 50 ms. It ran on another machine, before mobs, and its bots walked at a fixed height, so the two must not be compared.
  • The 5000 step failed: no bot was online at the end of the ramp. The newer run below got most of them in.
  • The report counts many server set-backs of the bots in this scenario, for Vanillite and for Paper (none for Pumpkin). The cause is not clear yet.
  • Chunks sent per player: Vanillite needed about 1 ms of server CPU per chunk sent, Paper 13–19 ms, Pumpkin about 1.6–2 ms (see also Chunks).

Newer run with fixed load bots (2026-11-28)

At 2000 players and more, the load bots used so much CPU that they distorted the tick times of the server: two of their routines were wasteful (a shared counter per packet, and clearing a 16 KiB buffer at every read). The bots are fixed, and the server got changes for crowds: the parallel tick phases now run on helper threads at the tick thread's priority, and the locator bar (the player markers) reuses its buffers. Same dense random walk, server limited to 4 cores and 8 GiB, one run each on the benchmark server, both with the new bots. Before: Vanillite dev fc71ae21. After: dev with these changes (landed on 2026-11-28).

Players Before p50 / p95 After p50 / p95 RAM before → after
1000 51.5 / 60.9 ms 46.3 / 56.4 ms 561 → 535 MiB
2000 391 / 433 ms 267 / 327 ms 1094 → 999 MiB
  • 2000 players under 50 ms (p95) is not reached. The slowest ticks are at 327 ms. Work on it continues.
  • 5000 players: between 4460 and 4677 bots got in, but the server fell behind (ticks of several seconds during the ramp). The cause is not found yet.
  • One run each, so read the numbers as a direction, about ±10 % or more between runs. Not a nightly run.

Older results: dense random walk

These load tests ran on builds before mobs. Paper ran peaceful on a flat world. They show how well the networking scales; a full game costs more today. The bots walked at a fixed height and were often set back by the server when they ran into hills; newer bots follow the terrain, so newer runs differ (How we measure).

Measured 2026-11-24. Vanillite: dev 2cfeb4c, profile vanilla. Paper: Paper for 26.3.

Players Vanillite p50 Vanillite p95 Paper p50 Paper p95
50 3.1 ms 7.9 ms 13.8 ms 29.1 ms
100 3.0 ms 6.1 ms 13.6 ms 24.4 ms
147 not a step not a step 22.9 ms 40.4 ms
250 4.9 ms 9.0 ms overloaded overloaded
500 8.0 ms 14.9 ms overloaded overloaded
1000 19.8 ms 29.9 ms overloaded overloaded
2000 80.4 ms 113.5 ms overloaded overloaded
5000 not reached (out of memory) — —

Most players with p95 under 50 ms: Vanillite 1000, Paper 147. Paper could not take the 250-player step: only 147 bots got in, and joining took up to 39 seconds.

%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#8a8f98, #2e9d5b"}}}}%%
xychart-beta
  title "p95 tick time (lower is better): Paper grey, Vanillite green"
  x-axis "Players" [50, 100]
  y-axis "p95 tick time (ms)" 0 --> 50
  bar [29.1, 24.4]
  bar [7.9, 6.1]
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#2e9d5b, #d9534f"}}}}%%
xychart-beta
  title "Vanillite p95 tick time by players (red: 50 ms limit)"
  x-axis "Players" [50, 100, 250, 500, 1000, 2000]
  y-axis "p95 tick time (ms)" 0 --> 120
  line [7.9, 6.1, 9.0, 14.9, 29.9, 113.5]
  line [50, 50, 50, 50, 50, 50]

RAM for the same runs: Memory and startup numbers.

Thousands of players close together

Measured 2026-11-25, same scenario and machine, Vanillite dev 5f80867. This build tracks who sees whom with much less memory, sends entity updates to many players in parallel and shares compression memory between connections. It also has more game systems than the build above.

Players p50 / p95 before (dev 2cfeb4c) p50 / p95 after (dev 5f80867) Joined
1000 19.8 / 29.9 ms 30.8 / 58.2 ms 1000 of 1000
2000 80.4 / 113.5 ms 62.1 / 109.0 ms 2000 of 2000
5000 out of memory 826 / 1874 ms 5000 of 5000
  • 5000 players stayed connected in this run, with about half the RAM per player (see Memory and startup numbers). The server is far too slow there: a tick takes almost a second. (The run of 2026-11-27 above did not get 5000 bots in.)
  • 2000 players under 50 ms is not reached yet. The typical tick got faster, the slowest ticks did not.
  • The 1000 step got slower. The build had gained game systems since the earlier run, and other benchmarks ran on the same machine at the same time. Repeated runs of the same build varied a lot (p95 at 2000 players between 109 and 402 ms), so read these numbers as a rough direction.

Mob spawning with many players

Natural mob spawning used to check every player for every mob and chunk. Now each chunk knows which players are near it, so the work no longer grows with players × mobs. Mobs still spawn exactly like in Vanilla.

1000 players close together Spawning time per tick
Before 62.7 ms
After 3.0 ms

Local measurement, 2026-11-25, on dev since 98b1e76. A full load test with this change is still to come.

Overload protection

With the setting performance.entity-tracking.overload-tick-millis = 40, Vanillite sends movement updates of entities less often while ticks are slow (see Performance settings). Same build, same day:

Players p50 / p95 without p50 / p95 with overload protection
1000 19.8 / 29.9 ms 20.4 / 31.6 ms
2000 80.4 / 113.5 ms 47.9 / 109.2 ms

At 2000 players the typical tick (p50) gets under 50 ms again. The slowest ticks (p95) stay above it.

Spread-out players

Players who are far apart each load their own chunks, and the server spends most of its tick on generating terrain, spawning mobs and random ticks there.

Suite run of 2026-11-25 (new world, bots fly to random points within 1,500 blocks and stay; Vanillite dev from that night, commit not recorded):

Players Vanillite p50 / p95 Vanillite, paper profile p50 / p95 Vanillite RAM Pumpkin RAM
100 42 / 70.7 ms 41 / 71.5 ms 929 MiB 1985 MiB
250 129 / 211 ms 117 / 198 ms 1287 MiB 3669 MiB
500 291 / 552 ms 181 / 349 ms 1694 MiB 5510 MiB

Paper and Vanilla did not reach the load in this run: no player was online after the ramp, so there are no numbers. The cause is not clear yet, so do not read it as their limit. In this run Pumpkin's tick times were not collected; at 500 players it had no missing chunks near players, while Vanillite still lacked 44 % of them. Vanillite's tick stays far above 50 ms in this scenario: it is much harder than the dense walk.

Join storm (1,000 bots join at 20 per second, then 1,000 more at once; same run): Vanillite had 1744 of 2000 players online (paper profile: 1814), with p95 under 70 ms. Paper had 256 of 1000, Pumpkin 310 of 1000 and Vanilla none. Nobody completed this step.

Tile region mode

The optional tile region mode (performance.region-threading, off by default) spreads that work over the cores.

Measured 2026-11-27 on the 4-core test server, Vanillite dev with the tile region mode, profile vanilla. Bots spread over a new world within 1,500 blocks, which was still being generated during the run. One server process; the rule was switched on and off with vanillite reload config every 40 seconds, and each number is the median of three windows. Paper was not measured in this way.

Players Rule MSPT p50 MSPT p95 Server CPU per tick
250 off 187 ms 323 ms 666 ms
250 on 106 ms 165 ms 386 ms
500 off 621 ms 828 ms 1,620 ms
500 on 278 ms 543 ms 1,110 ms
1000 off 1,013 ms 1,465 ms 2,227 ms
1000 on 427 ms 585 ms 1,364 ms
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#8a8f98, #2e9d5b"}}}}%%
xychart-beta
  title "p50 tick time, spread-out players: rule off (grey) and on (green)"
  x-axis "Players" [250, 500, 1000]
  y-axis "p50 tick time (ms)" 0 --> 1100
  bar [187, 621, 1013]
  bar [106, 278, 427]
  • Ticks are about 1.8× to 2.4× faster at the median with spread-out players. They are still far above 50 ms: this scenario (a new world, every player generating terrain) is much harder than the dense walk above.
  • A crowd in one place gains nothing, as designed. With 2,000 bots walking around the spawn (median of three windows per setting, test server under other load) the tick was p50 151 ms / p95 280 ms with the rule off and p50 150 ms / p95 347 ms with it on, with the same 378 ms of server CPU per tick. No gain, and the slowest ticks are within the noise between windows.
  • With the rule off there is no extra cost. The server runs the same code as before the mode existed (instruction counts of seeded runs changed by −0.02 % and −1.0 %).
  • With the rule on, a seeded world no longer matches Vanilla tick by tick, so it stays an opt-in setting.

History

Run (2026-11-24) Most players under 50 ms p95 at 500 players p95 at 1000 players
First run, dev d99a9cf 500 31.9 ms 116.7 ms
Before scaling work, dev 728c801 (more game systems than the first run) 250 84.6 ms 161.6 ms
After scaling work, dev 2cfeb4c 1000 14.9 ms 29.9 ms
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#8a8f98, #2e9d5b"}}}}%%
xychart-beta
  title "p95 tick time before (grey) and after (green) the scaling work"
  x-axis "Players" [50, 100, 250, 500, 1000]
  y-axis "p95 tick time (ms)" 0 --> 170
  line [5.5, 8.3, 31.2, 84.6, 161.6]
  line [7.9, 6.1, 9.0, 14.9, 29.9]

The scaling work sends entity updates in batches to many players at once, adapts tracking under overload and makes the watchdog judge progress instead of a fixed deadline. How this works: Chunks and networking, Threads and ticks.

The 2026-11-24 numbers are older: they were measured before mobs. The dense walk of 2026-11-27 above is the first with the current game on the new benchmark server; the spread-out and join-storm numbers are from 2026-11-25 on the old test machine.

Next: Chunks.