class BenchmarkShow
Public Class Methods
benchmark() { || ... }
click to toggle source
# File lib/cocoapods-binary-cache/helper/benchmark_show.rb, line 7 def self.benchmark time = Benchmark.measure { yield } Pod::UI.puts "🕛 Time elapsed: #{time}" end