gnuplot patch to speed up cygwin implementation by 2x

Jim Kleckner
Tue Jun 24 18:57:00 GMT 2008

Jim Kleckner wrote:
> The attached patch for gnuplot speeds it up on Cygwin
> by around 2.5x due to unbuffered reads for all file types.
> I will submit it upstream as well.
> See this link for the original discussion:

I withdraw that patch.

I tried nailing the places where setvbuf and setbuf were called on stdin
but that no longer works to eliminate the very high kernel/system time
overhead seen with pipes.

Instead, I'll figure out how to eliminate the pipes in my toolchain, unless
someone has a suggestion on where to look.

More information about the Cygwin-apps mailing list