about summary refs log tree commit homepage
path: root/local.mk.sample
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-04 00:32:47 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-04 00:32:47 +0000
commit8e9144341c6169abd2fa6ec20343e3152534b38b (patch)
tree4c6fe565e63119bc9ac2b1de37ee8a4f64ba806e /local.mk.sample
parent7ca6682fac2a30a69834b46a678ec956db4a45e9 (diff)
downloadrainbows-8e9144341c6169abd2fa6ec20343e3152534b38b.tar.gz
It makes tests run significantly faster on a beefy box.
Diffstat (limited to 'local.mk.sample')
-rw-r--r--local.mk.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/local.mk.sample b/local.mk.sample
index 64089f2..7180bbd 100644
--- a/local.mk.sample
+++ b/local.mk.sample
@@ -7,6 +7,12 @@
 RSYNC = rsync
 DLEXT := so
 
+# if you have a decent amount of RAM, setting TMPDIR to be on tmpfs
+# can significantly improve performance because uploads take a lot
+# of disk I/O due to the rewindability requirement in Rack.
+# TMPDIR := /dev/shm
+# export TMPDIR
+
 # Avoid loading rubygems to speed up tests because gmake is
 # fork+exec heavy with Ruby.
 prefix = $(HOME)