Skip to content

Instantly share code, notes, and snippets.

Created December 23, 2015 16:48
What would you like to do?
require 'benchmark/ips'
Benchmark.ips do |x|
command = "bundle version"
yomikomu = "export RUBYOPT='-ryomikomu' && export YOMIKOMU_AUTO_COMPILE='true'"
yomikomanai = "export RUBYOPT='' && export YOMIKOMU_AUTO_COMPILE='false'""yomikomanai") { p `#{yomikomanai} && #{command}` }"yomikomu(fs)") { p `#{yomikomu} && export YOMIKOMU_STORAGE='fs' && #{command}` }!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment