Good idea to get PCI-SSD to speed-up Android compile-times?

Is it good idea to get PCI-SSD card to speed-up Android compile times?

We tried trimming resources in our game to absolute essential textures and assets, added GLES2 compression, update APT to latest version, LZMA update to the Android SDK. But it still takes ages to compile an Android APK for testing on Unity 4.0.1f2

For us, it takes 5 minutes to compile an Android APK on an Intel Core i7-3960X, OCZ Vertex SSD HDD.
Do others encounter lengthy compile times to make an Android APK :face_with_spiral_eyes:

OCZ RevoDrive 3x2 (fastest HDD in the market)

What is the file size of the .apk?

Some Android developers have complained about long dexing times, but with Android SDK 21 situation should be better. And if it is a dexing issue, then disk speed shouldn’t matter that much since dexing itself shouldn’t do that much disk IO.

TBH, I’d suggest running a test on a RAMDRIVE first - since that’ll tell you the max benefit you could possible see. If you can’t figure out how, ping me or post below and I’ll happily give some pointers for free :slight_smile:

Building for Android does take quite a long time, but actually, if I just build without running it goes really quick for me. I noticed that almost all the time is spent pushing content to the device. My game is about 180 MB.

I tried RAM drive some time ago. Not work. I also tried that Directory Cache Windows teak. No difference.

If you notice, employees PCs are Core i7-3960X and OCZ SSDs.

It seems to be something else…
I have no idea what since Unity3d sits there for minutes and only the final EXE is placed after completion of generation of the APK.

We upgraded to Android SDK.21.2 (latest) and still slow.

Even with such fast computer, I would expect APK generation to be less than a minute, not 6 minutes.

The APK is currently 230mb.

Exactly. If a ramdrive doesn’t speed anything, then it’s unlikely a slower PCI-SSD is going to assist.

Do you have better ideas? It’s kind of boring waiting since some bugs are specific to Android-only environment. :face_with_spiral_eyes:

Not really, I’ve not much experience in android compiling. Odds are you’re just as good at googling as I am :stuck_out_tongue: