Skip to content

Instantly share code, notes, and snippets.

@fetep
Created July 7, 2012 13:03
Show Gist options
  • Save fetep/3066407 to your computer and use it in GitHub Desktop.
Save fetep/3066407 to your computer and use it in GitHub Desktop.
0 fetep-x201(~/l/logstash) % cat etc/bench.conf
input {
generator {
type => "gen"
count => 100000
}
}
filter {
noop {
add_tag => "test"
}
}
output {
null { }
}
0 fetep-x201(~/l/logstash) % time ruby --1.9 bin/logstash agent -f etc/bench.conf >/dev/null
[...]
ruby --1.9 bin/logstash agent -f etc/bench.conf > /dev/null 67.40s user 2.16s system 212% cpu 32.784 total
127 fetep-x201(~/l/logstash) % git checkout petef/no_metrics
Switched to branch 'petef/no_metrics'
0 fetep-x201(~/l/logstash) % time ruby --1.9 bin/logstash agent -f etc/bench.conf >/dev/null
[...]
ruby --1.9 bin/logstash agent -f etc/bench.conf > /dev/null 35.93s user 1.66s system 202% cpu 18.595 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment