imj-measure-stdout

An application to determine the maximum capacity of stdout buffer.

https://github.com/OlivierSohn/hamazed/blob/master/imj-measure-stdout/README.md

Latest on Hackage:0.1.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Olivier Sohn
Maintained by [email protected]

The program helps you determine the maximum capacity of your stdout buffer.

It was initially developped to diagnose screen tearing issues in a terminal-based game I was developping, and more specifically, to see the effect of the following action :

hSetBuffering stdout $ BlockBuffering $ Just maxBound

Using this program, I found that, on my system, the previous call quadruples stdout's capacity, from 2048 to 8192 bytes.