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
@brianjolly When I run
rake bootstrap
, it saysbash: rake: command not found
.Running
jruby -S gem install rake && jruby -S rake
shows another error message,Gem::MissingSpecVersionError: Could not find 'json' (~> 1) - did find: [json-2.2.0-java]
. Can I update the Gemfile somehow, or use another docker image?