gradle-one-jar icon indicating copy to clipboard operation
gradle-one-jar copied to clipboard

Unusably slow

Open DALDEI opened this issue 8 years ago • 1 comments

I tried this out on a small project that includes several large dependant jars (50mb apx). Some of those do jar validation and resource loading on startup. Using one Jar the startup time was > 15 seconds. Using traditional directory layout, 1.5 sec. ( on a very powerful 8 core 16 cpu 48 GB linux system on SSD).

That and the boot logging -- just a FYI for others looking at this project, might not be quite ready for prime time. I do love what it does though, I dont really want a "Shaded" jar.

DALDEI avatar Jan 04 '17 15:01 DALDEI

This would be a onejar problem, not a problem with this plugin. I have a fork of one-jar that solves the boot loging... https://github.com/nsoft/uno-jar. One-jar itself has not changed in many years. If someone else were to join me in the effort, I'd be willing to keep improving that fork.

nsoft avatar Aug 09 '17 13:08 nsoft