bench

command
v0.0.0-...-28e8be2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2012 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

README

Bench contains various benchmark applications for go-redis.  filenames starting with 'go' (e.g. gosynchclient.go) bench the associated go-redis client using multiple connections for concurrent benchmarks.  

* important *

Benchmarks (as with the tests and other exmples) always use DBs 10 and/or 13 and assume you have set the password in redis.conf to "go-redis".  

If you are using either DB 10 or 13 for your own data make sure you change the ConnectionSpec details in the benchmark files.  These benchmarks, as with tests and examples, may repeatedly flush the connected db. 

To build and run the bench, invoke the runbench cmd file with name of the benchmark file.
Note that you must first build and install go-redis (redis package).  See README in package dir for details.

i.e.:
./runbench <filename>  

ex: 
runbench synchclient

Documentation

Overview

Copyright 2009 Joubin Houshyar

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL