New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added stats for keyspace hit ratio #4

merged 1 commit into from Dec 7, 2012


None yet
2 participants

frhwang commented Dec 7, 2012

I added keyspace hits ratio = hits / (hits + misses) * 100 instead of pubsub channels in default mode.

It is very helpful stat when using Redis as a cache. If it's acceptable, please merge it.


junegunn added a commit that referenced this pull request Dec 7, 2012

Merge pull request #4 from frhwang/hit-ratio
added stats for keyspace hit ratio

@junegunn junegunn merged commit 080b96d into junegunn:master Dec 7, 2012


This comment has been minimized.


junegunn commented Dec 7, 2012

Seems nice. Thanks!

@frhwang frhwang deleted the frhwang:hit-ratio branch Mar 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment