Sha256: fedb5cdbb5549dc0f5e3e1ced2f09cf9e877ea0c6bc38434030b8f2c336a1c30
Contents?: true
Size: 605 Bytes
Versions: 2
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true require "benchmark" TIMES = 10 Benchmark.bmbm do |x| x.report("ri") { TIMES.times { `ri -T YARD::Tags::Library` } } x.report("yri") { TIMES.times { `./bin/yri -T YARD::Tags::Library` } } end __END__ Rehearsal --------------------------------------- ri 0.000000 0.020000 6.880000 ( 6.929591) yri 0.000000 0.000000 1.060000 ( 1.074840) ------------------------------ total: 7.940000sec user system total real ri 0.000000 0.020000 6.850000 ( 6.871660) yri 0.000000 0.010000 1.060000 ( 1.067585)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yard-0.9.18 | benchmarks/ri_vs_yri.rb |
yard-0.9.17 | benchmarks/ri_vs_yri.rb |