# Why is printing to a terminal slow?

**URL:** <https://discourse.julialang.org/t/why-is-printing-to-a-terminal-slow/42987>\
**Category:** Performance\
**Created:** [July 13, 2020, 4:34pm UTC](https://discourse.julialang.org/t/why-is-printing-to-a-terminal-slow/42987 "2020-07-13T16:34:18Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Post date:** [July 13, 2020, 6:35pm UTC](https://discourse.julialang.org/t/why-is-printing-to-a-terminal-slow/42987/15 "2020-07-13T18:35:03Z")

</div>

I want to add, that on windows, this is deadly slow. I actually expected this (before I tried it).  
The script from the first post takes 122 seconds (in `cmd`).  
PowerShell did not seem faster (EDIT: 400s).  
I also tried `wt`: it took ages as well (EDIT: 280s)  
I am not sure what terminal vscode uses by default, but it was definitely the slowest (EDIT: 1414s)

Notably I did run some of these in parallel.  
I wonder if the size of the terminal (full screen, minimized, ‘normal’) has any impact…

Maybe someone with Windows could challenge/confirm my numbers?

---

_[View the full topic](https://discourse.julialang.org/t/why-is-printing-to-a-terminal-slow/42987)._
