Sha256: 375ec330153d9f79bcac97568a7b6a1df34d45aaa21a00875ab0ab74e0556f86

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

$LOAD_PATH << 'lib'
require 'imgix'
require 'benchmark/ips'

client = Imgix::Client.new(domain: 'domain.com', secure_url_token: 'token')

Benchmark.ips do |x|
  x.report('Imgix::Path#initialize') do
    client.path("/img.jpg")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
imgix-4.1.0 script/bench_path.rb
imgix-4.0.3 script/bench_path.rb
imgix-4.0.2 script/bench_path.rb