Originally posted by mangeek
View Post
Announcement
Collapse
No announcement yet.
Java Benchmarks: OpenJDK 8 Through OpenJDK 19 EA, OpenJ9, GraalVM CE
Collapse
X
-
- Likes 1
-
Originally posted by Dovi View Post
Compare it to any other high level language that you could use to develop a mobile app with.
- Likes 2
Leave a comment:
-
Originally posted by Setif View PostJava and derivatives, I hate you for your poor performance and huge memory consumption.
You are the reason why Android phones performing lower than iOS and requiring more RAM.
Leave a comment:
-
Originally posted by cynic View PostThe only better alternatives are C, Rust, C++ and Ada, but If you plan to develop mobile apps with those languages, good luck!
- Likes 1
Leave a comment:
-
Originally posted by NobodyXu View Post
Hmmm, after googling, I found an article on this topic https://proandroiddev.com/android-ru...k-6e57cf1c50e5
According to it, nowadays Android first runs the app on JIT, identify the hotspot, AOT compile it into native code on idle.
Google also collects profile data from phones and gather them on cloud and compile Apps according to the commonly used profiles.
They certainly have AOT, but it is not completely AOT and they still have JIT.
Also, the AOT compilation does not eliminate the GC, which is probably responsible for the ram usage and some power draw.
But that's beside my original point: Java bytecode is just an IR. What actually runs is not a JVM, but something entirely of Google's making.
- Likes 4
Leave a comment:
-
Originally posted by archkde View PostWhy is OpenJDK 8 so fast, counter to the general trend "newer is faster"?
The JDK 8 perhaps java peaked then... and much of the stuff after that is micro optimisations and bloat, Java 8 is the closes in this list to Sun Java only 4 years after the buyout. I wouldn't mind seeing Java 6 and 7 in this benchmark also.
Just for some context... performance wise Java hotspot has been out since Java 1.2... and had been in development for a around 15+ years by the time Java 8 was released so extremely mature.
Leave a comment:
-
For anyone interested in Java ricing, the Minecraft community (of course) has come up with some flags for GraalVM EE: https://github.com/etil2jz/etil-minecraft-flags
Clear Linux's OpenJDK build also had some Minecraft performance benefits in the past, but I haven't tested it recently
...I wonder if I can add a Minecraft chunk generation test to openbenchmark, since it technically doesnt require any authentication.
- Likes 1
Leave a comment:
Leave a comment: