Skip to content

Instantly share code, notes, and snippets.

View owensims1's full-sized avatar

Owen Sims owensims1

View GitHub Profile
@owensims1
owensims1 / benchmark.rb
Created February 8, 2017 21:31 — forked from panthomakos/benchmark.rb
Benchmark Your Bundle
#!/usr/bin/env ruby
require 'benchmark'
REGEXPS = [
/^no such file to load -- (.+)$/i,
/^Missing \w+ (?:file\s*)?([^\s]+.rb)$/i,
/^Missing API definition file in (.+)$/i,
/^cannot load such file -- (.+)$/i,
]