# Bug? print() to console slows sketch down

**URL:** <https://discourse.processing.org/t/bug-print-to-console-slows-sketch-down/10044>\
**Category:** Processing\
**Created:** [April 7, 2019, 10:09am UTC](https://discourse.processing.org/t/bug-print-to-console-slows-sketch-down/10044 "2019-04-07T10:09:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [April 7, 2019, 4:44pm UTC](https://discourse.processing.org/t/bug-print-to-console-slows-sketch-down/10044/4 "2019-04-07T16:44:31Z")

</div>

Yeah, print statements are slow. Google “system.out.println slow” for an explanation about why.

One thing you can do is limit how often you’re printing. For example you might only print once per second instead of every frame:

```auto
void draw(){
  if(frameCount % 60 == 0){
    println("hello");
  }
}

```

---

_[View the full topic](https://discourse.processing.org/t/bug-print-to-console-slows-sketch-down/10044)._
