summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-10-22 00:06:44 +0200
committerantirez <antirez@gmail.com>2010-10-22 00:06:44 +0200
commit0a802bd7a0aff807145470ed43cf84a435e2a615 (patch)
treee650cd83e4968159ae88320f8ba025f37ccc72d2 /README
parent75fcab8c23dbbb2dadddf176c22a294adda5359c (diff)
downloadredis-0a802bd7a0aff807145470ed43cf84a435e2a615.tar.gz
support for compiling with tcmalloc
Diffstat (limited to 'README')
-rw-r--r--README15
1 files changed, 15 insertions, 0 deletions
diff --git a/README b/README
index 1f0a1fe64..e3f3a354a 100644
--- a/README
+++ b/README
@@ -27,6 +27,21 @@ After you build Redis is a good idea to test it, using:
% make test
+Buliding using tcmalloc
+-----------------------
+
+tcmalloc is a fast and space efficient implementation of malloc(). Compiling
+Redis with it can improve performances and memeory usage. You can read
+more about it here: http://goog-perftools.sourceforge.net/doc/tcmalloc.html
+
+In order to compile Redis with tcmalloc support install tcmalloc on your system
+and then use:
+
+ % make USE_TCMALLOC=yes
+
+Note that you can pass any other target to make, as long as you append
+USE_TCMALLOC=yes at the end.
+
Running Redis
-------------