projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into 6277-manifest-validation-api
[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