Sha256: 3dc0dd32fb6981360943cd0180301369ca624e041b20d4d92f36dfebd687d356
Contents?: true
Size: 256 Bytes
Versions: 9
Compression:
Stored size: 256 Bytes
Contents
#!/usr/bin/env ruby require 'test/unit' require 'ruby-prof' def start RubyProf.start end def wait_around sleep(2) end def stop RubyProf.stop end start wait_around result = stop printer = RubyProf::FlatPrinter.new(result) printer.print(STDOUT)
Version data entries
9 entries across 9 versions & 2 rubygems