Skip to content

Benchmarks

Here, common Minecraft servers are compared against Pumpkin.

CAUTION

This comparison is unfair. Pumpkin currently has far fewer features than other servers, which might suggest it uses fewer resources. It's also important to consider that other servers have had years for optimization. Vanilla forks, which don’t need to rewrite the entire vanilla logic, can focus exclusively on optimizations.

Screenshot From 2024-10-15 16-42-53

Specifications

Technical

Software

  • Distribution: Manjaro Linux
  • Architecture: x86_64 (64-bit)
  • Kernel Version: 6.11.3-arch1-1

Hardware

  • Motherboard: MAG B650 TOMAHAWK WIFI
  • CPU: AMD Ryzen 7600X 6-Core
  • RAM: Corsair 2x16GB DDR5 6000Mhz
  • Storage: Samsung 990 PRO 1TB PCIe 4.0 M.2 SSD
  • Cooling: be quiet Dark Rock Elite

Rust

  • Toolchain: stable-x86_64-unknown-linux-gnu (1.81.0)
  • Rust Compiler: rustc 1.81.0 (eeb90cda1 2024-09-04)

Java

  • JDK Version: OpenJDK 23 64-Bit 2024-09-17
  • JRE Version: OpenJDK Runtime Environment (build 23+37)
  • Vendor: Oracle

Game

  • Minecraft version: 1.21.1
  • View distance: 10
  • Simulated distance: 10
  • Online mode: false
  • Rcon: false

online mode was disabled for easier testing with non-premium accounts

NOTE

All tests have been ran multiple times to guarantee consistent results. All players did not move when spawning, only the initial 8 chunks were loaded. All servers used their own terrain generation, no world was pre-loaded.

IMPORTANT

CPU Max is usually higher with one player as the initial chunks are being loaded.

Pumpkin

Build: 8febc50

Compile args: --release

Run args:

File Size: 12.3MB

Startup time: 8ms

Shutdown time: 0ms

PlayersRAMCPU IdleCPU Max
0392.2KB0%0%
124.9MB0%4%
225.1MB0%0.6%
526MB0%1%
1027.1MB0%1.5%

Pumpkin does cache already loaded chunks, resulting in no extra RAM usage besides player data and minimal CPU usage.

Compile time

Compiling from Nothing:

Debug: 10.35sec Release: 38.4sec

Recompilation (pumpkin crate):

Debug: 1.82sec Release: 28.68sec

Vanilla

Release: 1.21.1

Compile args:

Run args: nogui

File Size: 51.6MB

Startup time: 7sec

Shutdown time: 4sec

PlayersRAMCPU idleCPU Max
0860MB0.1 - 0.3%51%
11.5GB0.9 - 1%41%
21.6GB1 - 1.1%10%
51.8GB2%20%
102.2GB4%24%

Paper

Build: 122

Compile args:

Run args: nogui

File Size: 49.4MB

Startup time: 7sec

Shutdown time: 3sec

PlayersRAMCPU idleCPU Max
01.1GB0.2 - 0.3%36%
11.7GB0.9 - 1%47%
21.8GB1 - 1.1%10%
51.9GB1.5%15%
102GB3%20%

Purpur

Build: 2324

Compile args:

Run args: nogui

File Size: 53.1MB

Startup time: 8sec

Shutdown time: 4sec

PlayersRAMCPU idleCPU Max
01.4GB0.2 - 0.3%25%
11.6GB0.7 - 1%35%
21.7GB1.1 - 1.3%9%
51.9GB1.6%20%
102.2GB2 - 2.5%26%

Minestom

Commit: 0ca1dda2fe

Compile args:

Run args:

Language: Benchmarks ran with Kotlin 2.0.0 (Minestom itself is made with Java)

File Size: 2.8MB (Library)

Startup time: 310ms

Shutdown time: 0ms

Used example code from

PlayersRAMCPU idleCPU Max
0228MB0.1 - 0.3%1%
1365MB0.9 - 1%5%
2371MB1 - 1.1%4%
5390MB1%6%
10421MB3%9%

Benchmarked at October 15, 2024 at 4:34 PM UTC

Released under the MIT License.