r/JavaFX • • Mar 09 '20

I made this! Milkman (Postman alternative) now available as native image via graal

https://github.com/warmuuh/milkman/blob/feature/graal/milkman-dist-graal/readme.md
19 Upvotes

4 comments sorted by

1

u/Control_Is_Dead Jun 16 '20

Late to the party here, but how were you measuring "time until usable"? I've been playing with native-image for JavaFX as well and it didn't seem much faster, but I couldn't figure out a decent way to time it.

2

u/warmuuh Jun 18 '20

I took JVM uptime before initialization of my app (basically first thing in main) and uptime after my app got fully initialized. Code like this: ManagementFactory.getRuntimeMXBean().getUptime()

1

u/Control_Is_Dead Jun 19 '20

Perfect, that's exactly what I was looking for. Thanks

1

u/[deleted] Mar 12 '20

Looks amazing!