5 ms·
I've often wondered about the viability of putting all my build agent's folders in a ram disk to speed up build times. Granted, IT won't be thrilled that I'll
by anon73044 7y ago
I've often wondered about the viability of putting all my build agent's folders in a ram disk to speed up build times.
Granted, IT won't be thrilled that I'll need ~4-8x the RAM, but the devs would certainly love the speed.
....now if only I could make fastlane take less than 2 hours....
- BeeOnRope 7y agoAs long as you have the RAM available and your OS has reasonable file system caching behavior - you should already get that effect. On Linux, I can run a build repeatedly that touches several GB of files and there is basically zero IO during the build, because everything is in the page cache. There is some IO at some point after the build as the dirty files (e.g., .o files) get written out, but if if you delete them fast enough, even that doesn't happen.