Sha256: fd06f39584b5c1a013fe4fe6e6153f8e46d9a61c9d47708098088b7649660ab6

Contents?: true

Size: 330 Bytes

Versions: 34

Compression:

Stored size: 330 Bytes

Contents

# Copyright 2019 Grabtaxi Holdings PTE LTE (GRAB), All rights reserved.
# Use of this source code is governed by an MIT-style license that can be found in the LICENSE file

require "benchmark"

class BenchmarkShow
  def self.benchmark
    time = Benchmark.measure { yield }
    Pod::UI.puts "🕛 Time elapsed: #{time}"
  end
end

Version data entries

34 entries across 34 versions & 3 rubygems

Version Path
cocoapods-binary-artifactory-cache-0.0.1 lib/cocoapods-binary-artifactory-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.14 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.13 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.12 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.11 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.10 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.9 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.8 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.7 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.6 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.5 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.3 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.2 lib/cocoapods-binary-cache/helper/benchmark_show.rb
cocoapods-binary-cache-0.1.1 lib/cocoapods-binary-cache/helper/benchmark_show.rb