Sha256: 7624c877abb03e9a31bc3320dc793677cc8ffc15a2c441afec3f2f84f36c69c2
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
require "benchmark" require 'lib/yard' Benchmark.bmbm do |x| x.report("parse in order") { YARD::Registry.clear; YARD.parse YARD::PATH_ORDER, Logger::ERROR } x.report("parse") { YARD::Registry.clear; YARD.parse 'lib/**/*.rb', Logger::ERROR } end =begin load_order branch (2008-06-07): Rehearsal -------------------------------------------------- parse in order 6.510000 0.050000 6.560000 ( 6.563223) parse 6.300000 0.040000 6.340000 ( 6.362272) ---------------------------------------- total: 12.900000sec user system total real parse in order 6.310000 0.060000 6.370000 ( 6.390945) parse 6.300000 0.050000 6.350000 ( 6.366709) api_changes branch before merge (2008-06-07) Rehearsal -------------------------------------------------- parse in order 6.330000 0.050000 6.380000 ( 6.397552) parse 6.380000 0.050000 6.430000 ( 6.446954) ---------------------------------------- total: 12.810000sec user system total real parse in order 6.320000 0.040000 6.360000 ( 6.394460) parse 6.040000 0.040000 6.080000 ( 6.099738) =end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yard-0.2.2 | benchmarks/parsing.rb |