diff options
author | antirez <antirez@gmail.com> | 2009-03-22 15:15:51 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2009-03-22 15:15:51 +0100 |
commit | e255235c20d1fae95dee3b93584b3cc277c0c79c (patch) | |
tree | 2366350f958b49356dec5f638115ab42eea8b8d5 | |
parent | 029524dbff9b076a5d1b7b97428981519e34886b (diff) | |
download | redis-e255235c20d1fae95dee3b93584b3cc277c0c79c.tar.gz |
doc changes
-rw-r--r-- | doc/Benchmarks.html | 8 | ||||
-rw-r--r-- | doc/MgetCommand.html | 52 |
2 files changed, 60 insertions, 0 deletions
diff --git a/doc/Benchmarks.html b/doc/Benchmarks.html index e33e7b71a..53f8bb44d 100644 --- a/doc/Benchmarks.html +++ b/doc/Benchmarks.html @@ -111,6 +111,14 @@ GET: 45497.73 requests per second INCR: 39370.47 requests per second LPUSH: 34803.41 requests per second LPOP: 37367.20 requests per second +</pre>Another one using a 64 bit box, a Xeon L5420 clocked at 2.5 Ghz:<br/><br/><pre class="codeblock python python python" name="code"> + ./redis-benchmark -q -n 100000 +PING: 111731.84 requests per second +SET: 108114.59 requests per second +GET: 98717.67 requests per second +INCR: 95241.91 requests per second +LPUSH: 104712.05 requests per second +LPOP: 93722.59 requests per second </pre> </div> diff --git a/doc/MgetCommand.html b/doc/MgetCommand.html new file mode 100644 index 000000000..0e8120f22 --- /dev/null +++ b/doc/MgetCommand.html @@ -0,0 +1,52 @@ + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> + <head> + <link type="text/css" rel="stylesheet" href="style.css" /> + </head> + <body> + <div id="page"> + + <div id='header'> + <a href="index.html"> + <img style="border:none" alt="Redis Documentation" src="redis.png"> + </a> + </div> + + <div id="pagecontent"> + <div class="index"> +<!-- This is a (PRE) block. Make sure it's left aligned or your toc title will be off. --> +<b>MgetCommand: Contents</b><br> <a href="#MGET _key1_ _key2_ ... _keyN_">MGET _key1_ _key2_ ... _keyN_</a><br> <a href="#Return value">Return value</a><br> <a href="#Example">Example</a><br> <a href="#See also">See also</a> + </div> + + <h1 class="wikiname">MgetCommand</h1> + + <div class="summary"> + + </div> + + <div class="narrow"> + <h1><a name="MGET _key1_ _key2_ ... _keyN_">MGET _key1_ _key2_ ... _keyN_</a></h1> +<i>Time complexity: O(1) for every key</i><blockquote>Get the values of all the specified keys. If one or more keys dont existor is not of type String, a 'nil' value is returned instead of the valueof the specified key, but the operation never fails.</blockquote> +<h2><a name="Return value">Return value</a></h2><a href="ReplyTypes.html">Multi bulk reply</a><h2><a name="Example">Example</a></h2><pre class="codeblock python" name="code"> +$ ./redis-cli set foo 1000 ++OK +$ ./redis-cli set bar 2000 ++OK +$ ./redis-cli mget foo bar +1. 1000 +2. 2000 +$ ./redis-cli mget foo bar nokey +1. 1000 +2. 2000 +3. (nil) +$ +</pre><h2><a name="See also">See also</a></h2> +<ul><li> <a href="GetCommand.html">GET</a></li><li> <a href="SetCommand.html">SET</a></li><li> <a href="SetnxCommand.html">SETNX</a></li><li> <a href="IncrCommand.html">INCR</a></li></ul> + </div> + + </div> + </div> + </body> +</html> + |