Shell command slow when using pipe, fast with intermediate file
- by plang
Does anyone understand this huge difference in processing time, when using an intermediate file, or when using a pipe? I'm converting tiff to pdf using standard tools on a fresh debian squeeze server. A standard way of doing this is to convert to ps first.
Without pipe:
root@web5:~# time tiff2ps test.tif > test.ps
real 0m0.860s
user …