Most active commenters
  • alex_medvedev(4)

←back to thread

331 points alex_medvedev | 16 comments | | HN request time: 0s | source | bottom
1. mobeigi ◴[] No.41848325[source]
Are there any benchmarks for it? How much faster is it than a vanilla server?

I know Minecraft servers tend to get extremely resource intensive as the player count creep and people run extremely beefy servers to handle the load and still offer poor TPS.

replies(1): >>41850480 #
2. alex_medvedev ◴[] No.41850480[source]
Hey, Your lucky, i just made benchmarks all this time :D. Check them out https://snowiiii.github.io/Pumpkin/about/benchmarks.html
replies(3): >>41850648 #>>41850872 #>>41851461 #
3. alex_medvedev ◴[] No.41850668{3}[source]
Hey, Sorry Im not native english speaker, I will try to fix all grammer issues now thanks :D
4. kridsdale3 ◴[] No.41850872[source]
I literally said Holy Shit out loud. This is an incredible improvement, and I'll refer to this in the future when I'm asked if we should make something new in Java.
replies(3): >>41850970 #>>41851052 #>>41852144 #
5. mouse_ ◴[] No.41850970{3}[source]
Yes but also consider the extensibility accessibility Java gave us. EVERYONE was building Minecraft mods back in the beta days. I might go as far as to say that extensibility is what made Minecraft so great.
replies(2): >>41851709 #>>41852610 #
6. alex_medvedev ◴[] No.41851052{3}[source]
I was suprised myself thats its that bad. Well optimized binary is that what your CPU loves not a big JVM runtime
7. canucker2016 ◴[] No.41851461[source]
Please, just use one measurement unit across all measurements for easier comparison (i.e. RAM in MB, time in ms).

Wow. Pumpkin's runtime is way better (faster, much less RAM used) than the Java versions. Congrats.

I wonder what the Kotlin-based Minestom is doing differently that causes it to have numbers between Pumpkin and the Java versions.

For comparison's sake, do you have build times for Pumpkin? I'll assume that's where critics may target.

replies(1): >>41855996 #
8. pphysch ◴[] No.41851709{4}[source]
No doubt about it. I don't think Minecraft would have gotten as far as fast in the public consciousness without content creators like Yogscast being able to produce so much novel content from modded Minecraft.
9. dpedu ◴[] No.41852144{3}[source]
Keeping in mind that this server appears to implement only a tiny subset of the features the ones it is benchmarked against do... No lighting, mob spawning, mob ai, redstone functionality, tree or plant growth, water/lava flow, etc.
replies(1): >>41853930 #
10. somat ◴[] No.41852610{4}[source]
What I always found surprising was how many minecraft mods there were despite mojang having absolutely no mod support for the game.

After learning that to make a minecraft mod the process was basically decompile minecraft fight the terrible names provided by the decompiler to make your changes then recompile it, I lost all interest.

replies(1): >>41852975 #
11. nulltxt ◴[] No.41852975{5}[source]
Yarn[1] has pretty much fixed this along with fabric.

[1] https://github.com/FabricMC/yarn

12. Aeolun ◴[] No.41853930{4}[source]
These wouldn’t significantly affect the first 10 chunks loaded?
replies(1): >>41855401 #
13. misiek08 ◴[] No.41855401{5}[source]
More than a "yes, it should". While loading chunks you need to take redstone, nature and mobs into account. If you don’t - you need to find them and resolve at runtime with even bigger costs, relying solely on difference between programming languages in performance.
14. therein ◴[] No.41855996{3}[source]
> For comparison's sake, do you have build times for Pumpkin? I'll assume that's where critics may target.

How bad could it be? I cry while async-stripe crate builds.

replies(2): >>41856924 #>>41856945 #
15. echelon ◴[] No.41856924{4}[source]
> I cry while async-stripe crate builds.

The build times on async-stripe are inhumane. I wish the project didn't use so much codegen.

16. alex_medvedev ◴[] No.41856945{4}[source]
Just tested compile times

Compiling from Nothing

*Debug:* 10.35sec *Release:* 38.40sec

Recompilation (pumpkin crate)

*Debug:* 1.82sec *Release:* 28.68sec

I will put them into the benchmarks