# Read large stream from STDIN

**URL:** https://discourse.julialang.org/t/read-large-stream-from-stdin/55627
**Category:** General Usage
**Created:** [February 19, 2021, 4:40pm UTC](https://discourse.julialang.org/t/read-large-stream-from-stdin/55627 "2021-02-19T16:40:24Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![tferic](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tferic/32/12916_2.png) [@tferic](https://discourse.julialang.org/u/tferic)
#### Post date: [February 20, 2021, 9:38pm UTC](https://discourse.julialang.org/t/read-large-stream-from-stdin/55627/6 "2021-02-20T21:38:25Z")

</div>

I noticed that there are performance issues with `eachline()` as well.  
For these performance reasons, I have opened a new thread here:

> [@Bad performance of eachline() on STDIN](https://discourse.julialang.org/t/bad-performance-of-eachline-on-stdin/55701):
>
> Hi I am trying to use Julia for general purpose programming. I am trying to use Julia to create a faster version of a Perl script, which is supposed to create a report on a large logfile, piped into STDIN. The logfile does not fit into RAM, hence the data needs to be read from STDIN line-by-line from the data stream. My problem is that Julia (1.5.3) is twice as slow as Perl. I was able to identify one of the main problems, which is the code to read line-by-line from the input stream. I use …

---

_[View the full topic](https://discourse.julialang.org/t/read-large-stream-from-stdin/55627)._
