{"published":"2015-06-28 23:05:51","author_url":"https://blog.hatena.ne.jp/yohei-a/","url":"https://yohei-a.hatenablog.jp/entry/20150628/1435500351","version":"1.0","description":"\u3061\u3087\u3063\u3068\u3060\u3051\u8abf\u3079\u305f\u306e\u3067\u30e1\u30e2\u3002 \u5b9f\u884c\u6642\u9593(/usr/bin/time -p) split \u306f xargs \u3088\u308a 2.6\u500d\u901f\u3044(xargs: 4.30\u79d2\u3001split: 1.66\u79d2) xargs -P $ seq 10e3 | /usr/bin/time -p xargs -I{} -P4 sh -c '/bin/true {}' real 4.30 \u2605 user 4.37 sys 6.24 split -n r/ $ seq 10e3 | /usr/bin/time -p ./split -u -n r/4 --filter 'while read i; do /bin/true $i; done\u2026","height":"190","width":"100%","author_name":"yohei-a","provider_url":"https://hatena.blog","title":"xargs -P vs split -n r/ \u306e\u6027\u80fd\u6bd4\u8f03","blog_url":"https://yohei-a.hatenablog.jp/","categories":["gnu"],"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20150628%2F1435500351\" title=\"xargs -P vs split -n r/ \u306e\u6027\u80fd\u6bd4\u8f03 - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","type":"rich","blog_title":"ablog"}