# P5.js sketches with terrible framerate on chrome

**URL:** <https://discourse.processing.org/t/p5-js-sketches-with-terrible-framerate-on-chrome/499>\
**Category:** Coding Questions\
**Created:** [May 29, 2018, 4:56pm UTC](https://discourse.processing.org/t/p5-js-sketches-with-terrible-framerate-on-chrome/499 "2018-05-29T16:56:33Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![matthewjohnjamieson](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@matthewjohnjamieson](https://discourse.processing.org/u/matthewjohnjamieson)\
**Post date:** [July 1, 2018, 5:41am UTC](https://discourse.processing.org/t/p5-js-sketches-with-terrible-framerate-on-chrome/499/16 "2018-07-01T05:41:39Z")

</div>

I was having performance problems with p5.js sketches on my El Capitan Macbook Pro, but resolved them by upgrading to High Sierra. Here is a link to the thread:

> [@Performance issue: p5.js crushing my CPU (possible retina issue?)](https://discourse.processing.org/t/performance-issue-p5-js-crushing-my-cpu-possible-retina-issue/999/3):
>
> Hi @matthewjohnjamieson, can you let us know which version of p5.js you’re using? (this should be in a comment at the top of your p5.js or p5.min.js file) If you’re not doing this already, you might get a performance boost by using p5.min.js which will turn off some of the parameter validation for the friendly error system. If that’s not applicable, can you run the performance profiling tools in Chrome or Firefox and let us know where the slowdown seems to be? (here’s a nice [tutorial on the Ch…](https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/reference)

---

_[View the full topic](https://discourse.processing.org/t/p5-js-sketches-with-terrible-framerate-on-chrome/499)._
