{"id":2077,"date":"2019-10-10T10:00:46","date_gmt":"2019-10-10T01:00:46","guid":{"rendered":"http:\/\/domore.co.jp\/speedcurve\/?p=2077"},"modified":"2022-09-04T07:46:40","modified_gmt":"2022-09-03T22:46:40","slug":"causes-that-consume-the-most-cpu","status":"publish","type":"post","link":"https:\/\/www.domore.co.jp\/speedcurve\/column\/causes-that-consume-the-most-cpu\/","title":{"rendered":"\u30d6\u30e9\u30a6\u30b6\u3067CPU\u3092\u3082\u3063\u3068\u3082\u6d88\u8cbb\u3059\u308b\u539f\u56e0\u306fJavaScript\uff01"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">\u30da\u30fc\u30b8\u3092\u3088\u308a\u901f\u304f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306b\u306f\u3001<\/span><a href=\"https:\/\/speedcurve.com\/blog\/load-scripts-async\/\"><span style=\"font-weight: 400;\">\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u975e\u540c\u671f\u306b\u8aad\u307f\u8fbc\u3080<\/span><\/a>\u3088\u3046\u306b\u3057\u307e\u3059\u3002<span style=\"font-weight: 400;\">\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u91cd\u8996\u306e\u7406\u7531\u306f\u3001\u305d\u308c\u304c\u30e6\u30fc\u30b6\u30fc\u306e\u4f53\u611f\u3068\u3057\u3066\u5206\u304b\u308a\u3084\u3059\u3044\u304b\u3089\u3067\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30b9\u30d4\u30fc\u30c9\u304c\u9045\u3044\u5834\u5408\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u4f7f\u7528\u611f\u304c\u60aa\u304f\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u3057\u304b\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u304c<strong>\u30b5\u30a4\u30c8\u306e\u4f55\u3092\u898b\u308b\u304b\u3060\u3051\u3067\u306a\u304f\u3001\u30b5\u30a4\u30c8\u64cd\u4f5c\u3078\u306e\u611f\u3058\u65b9\u3082\u91cd\u8981\u3067\u3059\u3002<\/strong>\u305d\u306e\u305f\u3081\u3001CPU\u6642\u9593\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u3066\u3044\u307e\u3059\u3002CPU\u304c\u30d6\u30ed\u30c3\u30af\u3055\u308c\u308b\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u3084\u30ea\u30f3\u30af\u306e\u30af\u30ea\u30c3\u30af\u306a\u3069\u3001\u30e6\u30fc\u30b6\u30fc\u64cd\u4f5c\u3078\u306e\u5fdc\u7b54\u304c\u9045\u304f\u306a\u308a\u307e\u3059\u3002\u8a00\u3044\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u30da\u30fc\u30b8\u306b\u4e0d\u5feb\u611f\u3092\u899a\u3048\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u305d\u3057\u3066\u3001<strong>\u30d6\u30e9\u30a6\u30b6\u3067\u6700\u3082CPU\u3092\u6d88\u8cbb\u3059\u308b\u306e\u306f\u4f55\u304b\uff1f\u3000JavaScript\u3067\u3059\uff01<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large\" src=\"https:\/\/img.speedcurve.com\/blog\/cpu-median.png?auto=format,compress&amp;fit=clamp&amp;max-w=1000\" alt=\"Desktop median CPU times\" width=\"1149\" height=\"494\" \/><\/p>\n<p><span style=\"font-weight: 400;\">\u4e0a\u306e\u5186\u30b0\u30e9\u30d5\u306f\u3001<\/span><a href=\"https:\/\/discuss.httparchive.org\/t\/cpu-time-breakdown\/1510\"><span style=\"font-weight: 400;\">HTTP\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u305f\u8abf\u67fb\u7d50\u679c<\/span><\/a><span style=\"font-weight: 400;\">\u3067\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u306eCPU\u6642\u9593\u304c\u30d0\u30b1\u30c3\u30c8\u5225\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u4e0a\u4f4d\u30ec\u30d9\u30eb\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u793a\u3059\u305f\u3081\u306b\u8272\u3092\u4f7f\u3044\u307e\u3059\uff08JavaScript\u306e\u5834\u5408\u306f\u30aa\u30ec\u30f3\u30b8\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u5834\u5408\u306f\u7d2b\u3001\u30da\u30a4\u30f3\u30c8\u306e\u5834\u5408\u306f\u7dd1\u3001\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u5834\u5408\u306f\u9752\uff09\u3002\u3053\u308c\u3089\u306f\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u4e0a\u306e130\u4e07\u30b5\u30a4\u30c8\u306e\u4e2d\u592e\u5024\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4ee5\u4e0b\u306f\u30e2\u30d0\u30a4\u30eb\u5411\u3051\u306e\u540c\u69d8\u306e\u30c1\u30e3\u30fc\u30c8\u3067\u3059\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large\" src=\"https:\/\/img.speedcurve.com\/blog\/cpu-median-mobile.png?auto=format,compress&amp;fit=clamp&amp;max-w=1000\" alt=\"CPU median for mobile\" width=\"903\" height=\"380\" \/><\/p>\n<p><span style=\"font-weight: 400;\">\u7d76\u5bfe\u5024\u306f\u30e2\u30d0\u30a4\u30eb\u306e\u65b9\u304c\u9ad8\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u91cd\u8981\u306a\u306e\u306f\u4e21\u65b9\u306e\u30b0\u30e9\u30d5\u3067JavaScript\u304c\u6700\u3082\u30d6\u30e9\u30a6\u30b6\u306eCPU\u3092\u6d88\u8cbb\u3057\u3066\u3044\u307e\u3059\u3059\u3002\u4e2d\u592e\u5024\u306b\u52a0\u3048\u3066\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3068\u30e2\u30d0\u30a4\u30eb\u306e\u4e21\u65b9\u306b\u3064\u3044\u306695\u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb\u306899\u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb\u3092\u8abf\u3079\u3001\u5408\u8a08\u6642\u9593\u306b\u57fa\u3065\u3044\u3066\u5186\u30b0\u30e9\u30d5\u306e\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u307e\u3057\u305f\u3002\u4e0a\u306b\u91cd\u306d\u3066\u8868\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large\" src=\"https:\/\/img.speedcurve.com\/blog\/cpu-all-blue.png?auto=format,compress&amp;fit=clamp&amp;max-w=1000\" width=\"915\" height=\"686\" \/><\/p>\n<p><span style=\"font-weight: 400;\">\u3053\u306e\u30b0\u30e9\u30d5\u306f\u3001\u660e\u78ba\u3067\u91cd\u8981\u306a\u50be\u5411\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u30d6\u30e9\u30a6\u30b6\u306eCPU\u6642\u9593\u304c\u5897\u3048\u308b\u306b\u3064\u308c\u3066\u3001JavaScript\u304c\u4f7f\u7528\u3059\u308b\u5272\u5408\u3082\u5897\u52a0\u3057\u3066\u3044\u306a\u3059\u3002 10\u5e74\u524d\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u4e3b\u306a\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3067\u3057\u305f\u3002 \u4eca\u65e5\u306e\u4e3b\u306a\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306f<strong>\u300cJavaScript\u300d<\/strong>\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> \u30da\u30fc\u30b8\u4e0a\u306eJavaScript\u306e\u91cf\u306f\u6025\u901f\u306b\u5897\u52a0\u3057\u3066\u3044\u307e\u3059\uff08<\/span><a href=\"http:\/\/domore.co.jp\/speedcurve\/test\/javascript%E3%81%AE%E6%88%90%E9%95%B7%E3%81%A8%E3%82%B5%E3%83%BC%E3%83%89%E3%83%91%E3%83%BC%E3%83%86%E3%82%A3\/\"><span style=\"font-weight: 400;\">\u904e\u53bb7\u5e74\u9593\u3067\u307b\u307c5\u500d<\/span><\/a><span style=\"font-weight: 400;\">\uff09\u3002 \u30da\u30fc\u30b8\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3068\u30b9\u30d4\u30fc\u30c9\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u306f\u3001JavaScript\u306eCPU\u6642\u9593\u306b\u76ee\u3092\u5411\u3051\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u306e\u30d6\u30ed\u30c3\u30af\u3092\u6e1b\u3089\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \u30b5\u30a4\u30c8\u306eJavaScript\u306eCPU\u4f7f\u7528\u7387\u3092\u8ffd\u8de1\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u3053\u3053\u304b\u3089\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> \u3055\u3089\u306b\u30a2\u30e9\u30fc\u30c8\u8a2d\u5b9a\u3067\u3001<\/span><a href=\"https:\/\/support.speedcurve.com\/get-the-most-out-of-speedcurve\/create-performance-budgets-and-set-alerts\"><span style=\"font-weight: 400;\">\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30d1\u30b8\u30a7\u30c3\u30c8\u3092\u8a2d\u5b9a\u3057\u3066<\/span><\/a><span style=\"font-weight: 400;\">\uff08\u3044\u3064\uff1f\u3069\u306e\u3088\u3046\u306b\uff09\u554f\u984c\u306b\u306a\u308b\u304b\u3069\u3046\u304b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"\u30da\u30fc\u30b8\u3092\u3088\u308a\u901f\u304f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u975e\u540c\u671f\u306b\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u91cd\u8996\u306e\u7406\u7531\u306f\u3001\u305d\u308c\u304c\u30e6\u30fc\u30b6\u30fc\u306e\u4f53\u611f\u3068\u3057\u3066\u5206\u304b\u308a\u3084\u3059\u3044\u304b\u3089\u3067\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30b9\u30d4\u30fc\u30c9\u304c\u9045\u3044\u5834\u5408\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u4f7f\u7528\u611f\u304c\u60aa\u304f\u306a [&hellip;]","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-2077","post","type-post","status-publish","format-standard","hentry","category-column"],"_links":{"self":[{"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/posts\/2077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/comments?post=2077"}],"version-history":[{"count":1,"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/posts\/2077\/revisions"}],"predecessor-version":[{"id":2590,"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/posts\/2077\/revisions\/2590"}],"wp:attachment":[{"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/media?parent=2077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/categories?post=2077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.domore.co.jp\/speedcurve\/wp-json\/wp\/v2\/tags?post=2077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}