benchmark/cow_benchmark.rb in pitchfork-0.5.0 vs benchmark/cow_benchmark.rb in pitchfork-0.6.0
- old
+ new
@@ -11,7 +11,7 @@
system("ab", "-c", "4", "-n", "500", app_url, out: File::NULL, err: File::NULL)
sleep 3
puts "Memory Usage:"
puts Net::HTTP.get(URI(app_url))
-Process.kill("TERM", pid)
+Process.kill("INT", pid)
Process.wait
\ No newline at end of file