Requirements:
- JDK 8/9/11 (oracle or openjdk)
Steps to setup the scripts:
mkdir benches
cd benches
curl https://artifacts.elastic.co/downloads/logstash/logstash-7.6.0.tar.gz | tar -zxf -
cd logstash-7.6.0
wget https://gist.github.com/jsvd/a2613ea1ba00f02926a302781ca62f7b/raw/1a9e97f7c20bf21fefe5b461238074c86859d993/benchmark_grok.rb
sed -i.bak 's/gem \"benchmark-ips\", :group => :development/gem \"benchmark-ips\"/g' Gemfile
bin/logstash-plugin update
To run the benchmarks:
bin/ruby benchmark_grok.rb
@Budman17r
You create a symlink in the JRuby bin folder ruby -> jruby