Sha256: d1743c3a69d6a47802528bb9ae0866478020bd7c384cb93ccd4890d8d8b18972

Contents?: true

Size: 388 Bytes

Versions: 8

Compression:

Stored size: 388 Bytes

Contents

#!/usr/bin/env ruby
# encoding: binary

begin
  require "amq/spec"
rescue LoadError
  abort "You have to install the amqp gem in order to run the benchmark against its AMQP encoder/decoder."
end

require "benchmark"

Benchmark.bmbm do |bm|
  bm.report("Raw binary") do
    # TODO
  end

  bm.report("AMQP Gem") do
    # TODO
  end

  bm.report("AMQ Protocol Gem") do
    # TODO
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
amq-protocol-0.7.0.alpha6 benchmark.rb
amq-protocol-0.7.0.alpha5 benchmark.rb
amq-protocol-0.7.0.alpha4 benchmark.rb
amq-protocol-0.7.0.alpha2 benchmark.rb
amq-protocol-0.7.0.alpha1 benchmark.rb
amq-protocol-0.6.0.pre benchmark.rb
amq-protocol-0.5.0 benchmark.rb
amq-protocol-0.0.1.pre benchmark.rb