projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
5824: Merge branch 'master' into 5824-keep-web-workbench
[arvados.git]
/
services
/
api
/
test
/
helpers
/
time_block.rb
1
class ActiveSupport::TestCase
2
def time_block label
3
t0 = Time.now
4
begin
5
yield
6
ensure
7
t1 = Time.now
8
$stderr.puts "#{t1 - t0}s #{label}"
9
end
10
end
11
end