Sha256: 495e680c23d844d00f1e22611ce0b24bc194e156b252598e1dc6ad129da78ed3
Contents?: true
Size: 413 Bytes
Versions: 1
Compression:
Stored size: 413 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'stackprof' StackProf.start start = Process.clock_gettime(Process::CLOCK_MONOTONIC) begin load "#{__dir__}/../exe/rubocop" ensure delta = Process.clock_gettime(Process::CLOCK_MONOTONIC) - start StackProf.stop Dir.mkdir('tmp') unless File.exist?('tmp') StackProf.results('tmp/stackprof.dump') puts "Finished in #{delta.round(1)} seconds" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbhint-0.87.1.rc1 | bin/rubocop-profile |