fix parsing latin1 input
perftest: accurate throughput calculation
options for examples
fix pushing to stack (looked at buffer size instead of stack size!)
fixed off by one for pushing to writer stack