linux - Can I get a faster output pipe than /dev/null? -


i running huge task [automated translation scripted perl + database etc.] run 2 weeks non-stop. while thinking how speed saw translator outputs (all translated sentences, info on way) stdout time. makes work visibly slower when output on console.

i piped output /dev/null, thought "could there faster?" it's output it'd make difference.

and that's question i'm asking you, because far know there nothing faster... (but i'm far being guru having used linux on daily basis last 3 years)

output /dev/null implemented in kernel, pretty bloody fast. output pipe isn't problem now, it's time takes build strings getting sent /dev/null. recommend go through program , comment out (or guard if $be_verbose) lines useless print statements. i'm pretty sure that'll give noticeable speedup.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -