{"url":"https://kwatch.hatenadiary.org/entry/20100610/1276126394","provider_name":"Hatena Blog","published":"2010-06-10 08:33:14","height":"190","title":" Ruby\u3067\u30e9\u30a4\u30d6\u30e9\u30ea\u306erequire\u306b\u304b\u304b\u308b\u6642\u9593\u3092\u8a08\u6e2c\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20100610%2F1276126394\" title=\" Ruby\u3067\u30e9\u30a4\u30d6\u30e9\u30ea\u306erequire\u306b\u304b\u304b\u308b\u6642\u9593\u3092\u8a08\u6e2c\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8 - k\u306a\u3093\u3068\u304b\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/kwatch/","version":"1.0","provider_url":"https://hatena.blog","categories":["ruby"],"author_name":"kwatch","blog_url":"https://kwatch.hatenadiary.org/","description":"## usage: ruby -s invoke.rb [-n=1000] [command] require 'benchmark' n = ($n || 1000).to_i puts \"*** n=#{n}\" commands = ARGV.collect {|lib| \"ruby -e nil -r #{lib}\" } commands.unshift(\"ruby -e nil\") Benchmark.bm(30) do |job| commands.each do |command| title = command job.report(title) do (n/10).times \u2026","type":"rich","width":"100%","blog_title":"k\u306a\u3093\u3068\u304b\u306e\u65e5\u8a18"}