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.41.0 benchmarks/cr_lf.rb
excon-0.40.0 benchmarks/cr_lf.rb
excon-0.39.6 benchmarks/cr_lf.rb
excon-0.39.5 benchmarks/cr_lf.rb
excon-0.39.4 benchmarks/cr_lf.rb
excon-0.39.3 benchmarks/cr_lf.rb
excon-0.39.2 benchmarks/cr_lf.rb
excon-0.39.1 benchmarks/cr_lf.rb
excon-0.39.0 benchmarks/cr_lf.rb
excon-0.38.0 benchmarks/cr_lf.rb
excon-0.37.0 benchmarks/cr_lf.rb
excon-0.36.0 benchmarks/cr_lf.rb
excon-0.35.0 benchmarks/cr_lf.rb
excon-0.34.0 benchmarks/cr_lf.rb
excon-0.33.0 benchmarks/cr_lf.rb
excon-0.32.1 benchmarks/cr_lf.rb
excon-0.32.0 benchmarks/cr_lf.rb
excon-0.31.0 benchmarks/cr_lf.rb
excon-0.30.0 benchmarks/cr_lf.rb
excon-0.29.0 benchmarks/cr_lf.rb