{"height":"190","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20090706%2F1246863430\" title=\"Time loading modules, compareing the blead with the released - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","image_url":null,"blog_title":"Islands in the byte stream (legacy)","title":"Time loading modules, compareing the blead with the released","version":"1.0","categories":["Perl"],"type":"rich","url":"https://gfx.hatenadiary.org/entry/20090706/1246863430","published":"2009-07-06 15:57:10","blog_url":"https://gfx.hatenadiary.org/","description":"\u958b\u767a\u4e2d\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30ed\u30fc\u30c9\u6642\u9593\u3092\u8a08\u308b\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30b9\u30af\u30ea\u30d7\u30c8: #!perl -w use strict; use Benchmark qw(:all); my $module = 'Moose'; cmpthese timethese 10 => { released => sub{ system($^X, '-e', \"require $module\") == 0 or die; }, blead => sub{ system($^X, '-Iblib/lib', '-Iblib/arch', '-e', \"require $module\") == 0 or die; }, };","author_name":"gfx","width":"100%","author_url":"https://blog.hatena.ne.jp/gfx/"}