Sha256: f1fbb421c8814069c7b107b99c7eb3d02ffb080dfd721a82a576eaec8300ca0e

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

Stored size: 498 Bytes

Contents

BigBench.configure do |config|
  config.duration = 2.minutes
  config.output   = "<%= @name %>.ljson"
  config.users    = 10
end

# benchmark "index page" => "http://localhost:3000" do
#   get "/"
#   get "/posts"
#   post "/posts", :params => { :title => "A new Post", :body => "This is some fancy text" }
# end
#
# benchmark "managing posts" => "http://localhost:3000" do
#   post "/posts", :params => { :title => "A new Post", :body => "This is some fancy text" }
# end

post_process :statistics

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bigbench-0.0.6 lib/bigbench/templates/test_plan.rb.erb
bigbench-0.0.5 lib/bigbench/templates/test_plan.rb.erb