You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accessing some Java stuff from scripts (most notably player) kills my FPS, and is unbearably slow. I see a log about Execution only in interpreted mode will strongly impact the guest application performance. from GraalVM (but the page it tells me to go to shows "Page not found", of course not LB's fault). Not everything seems to have this issue, some things like client.displayChatMessage is fine.
Steps to reproduce
Try this simple script, it brings me from 60 fps to 1-2 when moving around:
[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.
Screenshots
No response
The text was updated successfully, but these errors were encountered:
What I originally thought was going on is that when mc.player is used, it first needs to convert the entire mc object to js, which is huge and probably takes a while (and maybe even everything it holds), and then player as well. But onGround seems to perform ok-ish, while velocity is very bad. So I have no idea. But I feel even in interpreted mode it still shouldn't bring me to 1 fps..
Although I agree that LiquidLauncher should use GraalVM as it could only help
LiquidBounce Branch
Nextgen
LiquidBounce Build/Version
4a5efac
Operating System
Linux
Minecraft Version
1.20.4
Describe the bug
Accessing some Java stuff from scripts (most notably player) kills my FPS, and is unbearably slow. I see a log about
Execution only in interpreted mode will strongly impact the guest application performance.
from GraalVM (but the page it tells me to go to shows "Page not found", of course not LB's fault). Not everything seems to have this issue, some things likeclient.displayChatMessage
is fine.Steps to reproduce
Try this simple script, it brings me from 60 fps to 1-2 when moving around:
Client Log
Screenshots
No response
The text was updated successfully, but these errors were encountered: