Speed up compile and test by ramdisk

I compile Subversion source code and build it every day. After I make any change to the source code and test the code, it takes more than 30 mins to run all the tests and tell the result.

So, to speed up my ‘compile and test’ process, I made of my own ramdisk. I achieved it as follows,

$ mkdir -p /mnt/myramdisk

$ mount -t tmpfs -o size=1G tmpfs /mnt/myramdisk

I made my own ramdisk of 1GB and used this space to compile and test my code.

Now the process completes in just 10 mins !!!