Skip to main content
4 events
when toggle format what by license comment
Apr 18, 2011 at 9:59 comment added Peter.O I've included some test times in my answer (so that all times relate to the same hardware).
Apr 17, 2011 at 7:43 history edited Mat CC BY-SA 3.0
added 583 characters in body
Apr 16, 2011 at 19:48 comment added Peter.O Interesting and useful.. As the string length reduces, the time increases ..On my box your exact command took real/user/sys **0m4.565s**/0m0.804s/0m0.904s ..with a string "x\n", it took r/u/s **0m30.227s**/0m29.202s/0m0.880s... but that's still certainly faster than printf--sed ... The 384 byte string version is about the same speed as dd on my system too...(it's funny how things vary... I actually got a slower dd speed this time...
Apr 16, 2011 at 17:49 history answered Mat CC BY-SA 3.0