8 ms·
I like how you apparently came to that conclusion based on the language it was implemented in, and without any knowledge of its internal structure. I just fire
by sbierwagen 16y ago
I like how you apparently came to that conclusion based on the language it was implemented in, and without any knowledge of its internal structure.
I just fired it up with the ATI Catalyst panel open, and it said a maximum of 53% GPU utilization. Which isn't bad, since Minecraft wouldn't be using any of the shader units.
Well, presumably, since I know as little as you do about how Minecraft is designed.
- astrodust 16y agoThe rendering engine is pretty primitive by modern standards, and shows signs of being implemented by someone new to OpenGL. It displays all the performance issues that a typical first OpenGL implementation does like significant lag when turning around quickly where objects are swapped in and out of memory in a blocking manner. It could benefit from significant optimizations in terms of algorithm and these would probably make it perform an order of magnitude even faster than porting the same code to C++ would ever do. The OpenGL layer is not being utilized effectively. I think the game is currently CPU/VM bound and simply can't keep up with the GPU. More aggressive use of the GPU, like through OpenGL or OpenCL calls, would improve performance considerably. I'm not sure how viable the OpenCL angle is on Java, though.