# Sketch seems laggy on primary display but not on secondary one

**URL:** <https://discourse.processing.org/t/sketch-seems-laggy-on-primary-display-but-not-on-secondary-one/35623>\
**Category:** Processing\
**Created:** [March 8, 2022, 9:11pm UTC](https://discourse.processing.org/t/sketch-seems-laggy-on-primary-display-but-not-on-secondary-one/35623 "2022-03-08T21:11:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [March 10, 2022, 1:09pm UTC](https://discourse.processing.org/t/sketch-seems-laggy-on-primary-display-but-not-on-secondary-one/35623/3 "2022-03-10T13:09:03Z")

</div>

Hello @nicolaskellum,

This topic may be of interest:

> [@FrameRate hiccups](https://discourse.processing.org/t/framerate-hiccups/11947/15):
>
> I had some fun visualizing the data available to me. I displayed frameRate data (which averages) to framerate calculated from time between frames. [https://processing.org/reference/frameRate.html](https://processing.org/reference/frameRate.html) Code (you will have to select use “true” or “false” to see different modes of output): PrintWriter output; Table table; int time = 16\*60+40; //16s\*60f/s = 960f hiccups end after this time boolean dispMode = true; // "true" stores to file and plots after "time", "false" plots in real time lo…

`:)`

---

_[View the full topic](https://discourse.processing.org/t/sketch-seems-laggy-on-primary-display-but-not-on-secondary-one/35623)._
