<commit_before># rust-redis [![Build Status][travis-image]][travis-link]

[travis-image]: https://travis-ci.org/mneumann/rust-redis.png?branch=master
[travis-link]: https://travis-ci.org/mneumann/rust-redis

A [Rust][rust-home] client library for [Redis][redis-home].

[rust-home]: http://www.rust-lang.org
[redis-home]: http://redis.io

## Performance

I did some early performance benchmarks on rust-0.9-pre (as of 04-01-2013)
against redis-benchmark.

    redis-benchmark -n 100000 -c 1 -t set # ~19000 reqs/sec
    redis-benchmark -n 100000 -c 2 -t set # ~27000 reqs/sec
    redis-benchmark -n 100000 -c 4 -t set # ~36000 reqs/sec
    redis-benchmark -n 100000 -c 8 -t set # ~47000 reqs/sec

    ./bench 1 100000 # ~24000 reqs/sec
    ./bench 2  50000 # ~24000 reqs/sec
    ... # ~24000 reqs/sec

## License

rust-redis is under the MIT license, see LICENSE-MIT for details.<commit_msg>Add some words on performance<commit_after># rust-redis [![Build Status][travis-image]][travis-link]

[travis-image]: https://travis-ci.org/mneumann/rust-redis.png?branch=master
[travis-link]: https://travis-ci.org/mneumann/rust-redis

A [Rust][rust-home] client library for [Redis][redis-home].

[rust-home]: http://www.rust-lang.org
[redis-home]: http://redis.io

## Performance

I did some early performance benchmarks on rust-0.9-pre (as of 04-01-2013)
against redis-benchmark.

    redis-benchmark -n 100000 -c 1 -t set # ~19000 reqs/sec
    redis-benchmark -n 100000 -c 2 -t set # ~27000 reqs/sec
    redis-benchmark -n 100000 -c 4 -t set # ~36000 reqs/sec
    redis-benchmark -n 100000 -c 8 -t set # ~47000 reqs/sec

    ./bench 1 100000 # ~24000 reqs/sec
    ./bench 2  50000 # ~24000 reqs/sec
    ... # ~24000 reqs/sec

At this simple benchmark, rust-redis consistently shows about 24000 requests
per second regardless of concurrency. I think this is because the way
scheduling works. Using native threads would probably lead to the same
performance as redis-benchmark.

## License

rust-redis is under the MIT license, see LICENSE-MIT for details.
{'fraction_non_alphanumeric': 0.13287738153395212, 'fraction_numerical': 0.08646800195407914, 'mean_word_length': 3.366737739872068, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '32733', 'n_tokens_mistral': 872, 'n_tokens_neox': 736, 'n_words': 221}