Skip to content

Commit 9bef3eb

Browse files
committed
Don't profile creating the env object
1 parent 8e1c1da commit 9bef3eb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

benchmarks/profile.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
Vernier.trace(out: 'profiles/request_validation_profile.json') do
1212
1000.times do
13-
env = Rack::MockRequest.env_for('/hello?filter[id]=1,2')
1413
definition.validate_request(Rack::Request.new(env), raise_error: true)
1514
end
1615
end

0 commit comments

Comments
 (0)