LPT: want to boost intellij IDEs responsiveness ? ...
# random
s
LPT: want to boost intellij IDEs responsiveness ? use graalvm! go to your idea folder install, bin folder, open idea.bat and at line 17, put the graalvm path, save, and start the IDE with idea.bat
✔️ 1
🤔 3
w
Any idea how to change it for AndroidStudio on Mac? I’m trying to set some env variables but that doesn’t seem to work
s
it should be similar, go inside the .app, bin folder, there should be a idea.sh file
w
I can only find
studio
binary
s
it might be in a different folder, i don't have access to a mac right now
b
I'm installing graalvm right now to test that on linux
did you use the community edition?
on Linux you just need to do: export IDEA_JDK=/usr/lib/jvm/java-8-graal
w
@bjonnh what you you see in
about
dialog of intellij, then? Is there any clear graalvm reference?
b
yep

https://www.bjonnh.net/share/ij.png

w
🤔 I exported both
STUDIO_JDK
and
IDEA_JDK
and see this:
image.png
Okay, I exported wrong path 🙂 Should be
STUDIO_JDK: /Library/Java/JavaVirtualMachines/graalvm-ce-19.2.0/
, I exported with trailing
/Contents/Home
, just like my $JAVA_HOME
b
I do not really see a difference of speed though
will continue use it a bit
and see if going back to openjdk feels sluggish
that machine is really fast so it may also hide that…
w
For me Kotlin 1.3.50 actually slowed down IDE, so I’d personally expect it to trump any benefits from GraalVM. But I’ll try as well