{"provider_name":"Hatena Blog","height":"190","description":"Ruby\u306b\u30b3\u30fc\u30c9\u306e\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u3066\u51e6\u7406\u6642\u9593\u3092\u8a08\u6e2c\u3059\u308b\u4fbf\u5229\u30af\u30e9\u30b9\u300cBenchmark\u300d\u304c\u3042\u308a\u307e\u3059\uff08\u4eca\u65e5\u77e5\u308a\u307e\u3057\u305f\uff09\u3002\u4f7f\u3044\u65b9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3059\u3002 require 'benchmark' puts Benchmark.measure { for i in 1..1000 puts 'hello' end } puts Benchmark::CAPTION \u5b9f\u884c\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002 0.000000 0.000000 0.000000 ( 0.005730) user system total real \u3053\u308c\u306f\u3044\u3044\uff01\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u4f55\u5ea6\u3082\u547c\u3070\u308c\u308b\u51e6\u7406\u306e\u5834\u5408\u3001\u8a08\u6e2c\u7d50\u679c\u304c\u4f55\u5ea6\u3082\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u2026","version":"1.0","blog_url":"https://memorandums.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F20100906%2Fp2\" title=\"Benchmark\u306e\u5408\u8a08\u3092\u6c42\u3081\u308b - memorandums\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Benchmark\u306e\u5408\u8a08\u3092\u6c42\u3081\u308b","categories":[],"provider_url":"https://hatena.blog","width":"100%","image_url":null,"published":"2010-09-06 00:00:00","author_name":"ke_takahashi","blog_title":"memorandums","url":"https://memorandums.hatenablog.com/entry/20100906/p2","type":"rich","author_url":"https://blog.hatena.ne.jp/ke_takahashi/"}