Sha256: 7a9ee98ec7ab3c72ad53a4a9beaad4c0cd4b7525932a662e2927cf12d458cb5b

Contents?: true

Size: 349 Bytes

Versions: 175

Compression:

Stored size: 349 Bytes

Contents

require 'rubygems'
require 'tach'

CR_LF = "\r\n"

Tach.meter(1_000_000) do
  tach('constant') do
    '' << CR_LF
  end
  tach('string') do
    '' << "\r\n"
  end
end

# +----------+----------+
# | tach     | total    |
# +----------+----------+
# | constant | 0.819885 |
# +----------+----------+
# | string   | 0.893602 |
# +----------+----------+

Version data entries

175 entries across 173 versions & 6 rubygems

Version Path
excon-0.20.1 benchmarks/cr_lf.rb
excon-0.20.0 benchmarks/cr_lf.rb
excon-0.19.5 benchmarks/cr_lf.rb
excon-0.19.4 benchmarks/cr_lf.rb
excon-0.19.3 benchmarks/cr_lf.rb
excon-0.19.2 benchmarks/cr_lf.rb
excon-0.19.1 benchmarks/cr_lf.rb
excon-0.19.0 benchmarks/cr_lf.rb
excon-0.18.5 benchmarks/cr_lf.rb
excon-0.18.4 benchmarks/cr_lf.rb
excon-0.18.3 benchmarks/cr_lf.rb
excon-0.18.2 benchmarks/cr_lf.rb
excon-0.18.1 benchmarks/cr_lf.rb
excon-0.18.0 benchmarks/cr_lf.rb
excon-0.17.0 benchmarks/cr_lf.rb
excon-0.16.10 benchmarks/cr_lf.rb
excon-0.16.9 benchmarks/cr_lf.rb
excon-0.16.8 benchmarks/cr_lf.rb
excon-0.16.7 benchmarks/cr_lf.rb
excon-0.16.5 benchmarks/cr_lf.rb