massive performance issues
-
When the following module:
/// api_version=2 registerScript({ name: 'a', version: '0.0.0', authors: ['a'] }).registerModule({ name: "MyModule2", category: "Misc", }, function (mod) { var state = 0; mod.on("gameTick", function () { state++; if (!mc.player.onGround) { switch (state) { case 1: mc.player.velocity.y += 0.1; break; case 2: state = 0; break; } } }); });is enabled on latest nextgen, the game grinds to a halt and runs at 1 FPS at most. How come? I presume this warning is related?
[engine] WARNING: The polyglot context is using an implementation that does not support runtime compilation. The guest application code will therefore be executed in interpreted mode only. Execution only in interpreted mode will strongly impact the guest application performance. For more information on using GraalVM see https://www.graalvm.org/java/quickstart/. To disable this warning the '--engine.WarnInterpreterOnly=false' option or use the '-Dpolyglot.engine.WarnInterpreterOnly=false' system property.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login