Sha256: faffaf879aeadd8cf48977940df4b916cf2c7a1125a03a43f66a07c0d427c9a2

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

require 'pp'
require 'benchmark'

$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')

require 'aurb'

Benchmark.bm 7 do |x|
  x.report 'search' do
    Aurb.aur.search *:quake
  end

  x.report 'upgrade' do
    Aurb.aur.upgrade *`pacman -Qm`.split(/\n/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aurb-1.2.4 performance/aur.rb
aurb-1.2.3 performance/aur.rb