Sha256: f3c8519754f573b520635042e7f81dec1bea474f3240539583ba0c83d8800763

Contents?: true

Size: 640 Bytes

Versions: 43

Compression:

Stored size: 640 Bytes

Contents

# frozen_string_literal: true
require "benchmark"

files = Dir.glob(File.dirname(__FILE__) + '/../lib/**/*.rb').join(" ")
Benchmark.bmbm do |x|
  x.report("rdoc") { `rm -rf rdoc && rdoc -q -o rdoc #{files} && rm -rf rdoc` }
  x.report("yardoc") { `rm -rf yard && ./bin/yardoc -q -o yard #{files} && rm -rf yard` }
  x.report("yardoc-cached") { `rm -rf yard && ./bin/yardoc -c -q -o yard #{files} && rm -rf yard` }
  x.report("yardoc-legacy") { `rm -rf yard && ./bin/yardoc --legacy -q -o yard #{files} && rm -rf yard` }
  x.report("yardoc-legacy-cached") { `rm -rf yard && ./bin/yardoc --legacy -c -q -o yard #{files} && rm -rf yard` }
end

Version data entries

43 entries across 42 versions & 7 rubygems

Version Path
kinetic_sdk-5.0.25 gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
kinetic_sdk-5.0.24 gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
kinetic_sdk-5.0.23 gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
kinetic_sdk-5.0.22 gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
kinetic_sdk-5.0.21 gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/yard-0.9.28/benchmarks/rdoc_vs_yardoc.rb
kinetic_sdk-5.0.20 gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
yard-0.9.28 benchmarks/rdoc_vs_yardoc.rb
yard-0.9.27 benchmarks/rdoc_vs_yardoc.rb
yard-0.9.26 benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.35 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.34 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.33 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.32 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.31 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.30 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.29 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.28 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.27 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb
qiita_org-0.1.26 gems/ruby/2.7.0/gems/yard-0.9.25/benchmarks/rdoc_vs_yardoc.rb