1

Currently, I'm using gradle as our production java builder and it's slow.

I was thinking is there a way to set-up some kind of RAMdrive working directory, so compiling, building, testing, and running would be much faster and the source code would remain on HDD.

Ideally, if I could tune it in my IDE somehow (maybe IDE internal gradle options).

I have initialized a RAMdrive but stuck in gradle :) Any ideas?

Gaurav
  • 296
  • 1
  • 6
  • 21
kapodes
  • 316
  • 2
  • 7
  • BTW my OS is Windows :) – kapodes Apr 28 '17 at 11:00
  • 1
    Have you actually measured that you need a faster drive? From my experience, the CPU is a bottleneck for compiling if you have an SSD. Have you excluded everything from the antivirus? That makes a huge difference. – Meo Apr 28 '17 at 12:30
  • I have actually tested with whole project in RAM and CPU is actually the bottleneck, but i'm still curious about this topic and working with RamDrive would still be faster. And i don't have an SSD. – kapodes Apr 28 '17 at 14:00
  • Well considering that SSD can speed up your compiling like ~3x, then, of course, Ramdisk would do the same. It may be tricky though: http://stackoverflow.com/questions/3929096/ramdisk-slower-than-disk Buy a good SSD, it's the best upgrade you can have. – Meo Apr 28 '17 at 14:12
  • Syntetic tests like that usually don't give an accurate picture. And buying SSD is not an option right now, so i want to speed-up with what i have. – kapodes Apr 28 '17 at 14:37

0 Answers0