<NME> speed.rb
<BEF> ADDFILE
<MSG> Add a speed test

<DFF> @@ -0,0 +1,20 @@
+require "test_utils"
+
+describe "speed tests" do
+  extend LogStash::RSpec
+  count = 50000
+
+  config <<-CONFIG
+    input {
+      generator {
+        type => foo
+        count => #{count}
+      }
+    }
+    output { null { } }
+  CONFIG
+
+  agent do
+    puts "Rate: #{count / @duration}"
+  end
+end

Add a speed test