Speeding ruby tests up by putting gems on a ramdisk

It doesn’t work.

Time before ramdisk: 32.24 – 33.7 seconds
Time after ramdisk: 32.38 – 33.65 seconds

I am being unfair. The first run without the ramdisk was about 10 seconds slower, then the times were in the range above. With the ramdisk, it went straight into that range. Nevertheless, for the case in which I care most about test runtime, the change-stuff-and-run-again case, as long as the caches stay hot I’m not going to win anything by stuffing around with a ramdisk.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s