diff options
author | Bruno Wagner <bwagner@riseup.net> | 2016-09-08 16:22:08 -0300 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2016-09-08 16:22:08 -0300 |
commit | 08a2febbe4d85f607356af7c073c3531a1722eca (patch) | |
tree | 4ce76900bc2917b2a96b369d43948b896d965f2f | |
parent | a274d4cf3628816d21bb9848f019a444119b80a5 (diff) |
concurrent_logins script now measure HTTP request time
-rw-r--r-- | service/test/reactor/concurrent_logins.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/test/reactor/concurrent_logins.rb b/service/test/reactor/concurrent_logins.rb index a10d0394..0af2c5b7 100644 --- a/service/test/reactor/concurrent_logins.rb +++ b/service/test/reactor/concurrent_logins.rb @@ -24,7 +24,9 @@ end ts = (1...(1+COUNT)).map do |ix| t = Thread.new do + time = Time.now() `#{curl_command(ix)}` + puts "Request time: #{Time.now() - time}" end sleep 1 t |