# Bad performance of eachline() on STDIN

**URL:** https://discourse.julialang.org/t/bad-performance-of-eachline-on-stdin/55701
**Category:** General Usage
**Created:** [February 20, 2021, 9:20pm UTC](https://discourse.julialang.org/t/bad-performance-of-eachline-on-stdin/55701 "2021-02-20T21:20:20Z")
**Posts on this page:** 1
**Showing post:** 29

<div class="post-metadata">

### Author: ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)
#### Post date: [February 21, 2021, 4:33pm UTC](https://discourse.julialang.org/t/bad-performance-of-eachline-on-stdin/55701/29 "2021-02-21T16:33:16Z")

</div>

Whilst trying to search for why the pipe case would be much slower, I found [this discourse topic](https://discourse.julialang.org/t/stdin-stdout-10x-slower-than-file-open/17233/11) which lead to [this GH issue](https://github.com/JuliaLang/julia/issues/29960) and ultimately [this](https://github.com/JuliaLang/julia/pull/30638) (failed) PR. Perhaps it’s worth rebooting given stdin/stdout buffering has come up a a number of times in the past year.

---

_[View the full topic](https://discourse.julialang.org/t/bad-performance-of-eachline-on-stdin/55701)._
