As an Associate of different 3rd parties, this website earns from qualifying purchases & contains affiliate links: learn more in the footer.

V8 Repack: Java Addon

Example of a repack in action (Maven snippet):

One major advantage of a well-repacked addon is reduced JNI overhead: java addon v8 repack

dependencies implementation 'io.github.java-addon:v8-repack:2025.01.22' Example of a repack in action (Maven snippet):

: Clone a starter repo, load a real-world .js bundle, and measure your latency. The performance delta will speak for itself. Have questions or experiences with Java+V8 repacks? Share your benchmarks and crash reports in the community forums. The repack ecosystem thrives on real-world feedback. Share your benchmarks and crash reports in the

| Engine | Ops/sec (Fibonacci 40) | Cold Start Time | Memory Base | |--------|------------------------|----------------|--------------| | Rhino (1.7.14) | 14 ops/sec | 890 ms | 150 MB | | Nashorn (JDK 11) | 1,200 ops/sec | 120 ms | 80 MB | | GraalVM JS (22.3) | 9,400 ops/sec | 340 ms | 210 MB | | | 28,500 ops/sec | 45 ms | 42 MB |

Support for Unity Assets

I am Andrey Sirota, Founder of Makaka Games and full-time Publisher on the Unity Asset Store. First, read the latest docs online. If it didn’t help, get the support.
Back to top button