# Performance issue: p5.js crushing my CPU (possible retina issue?)

**URL:** <https://discourse.processing.org/t/performance-issue-p5-js-crushing-my-cpu-possible-retina-issue/999>\
**Category:** p5.js\
**Created:** [June 15, 2018, 8:21pm UTC](https://discourse.processing.org/t/performance-issue-p5-js-crushing-my-cpu-possible-retina-issue/999 "2018-06-15T20:21:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kjhollen](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kjhollen/32/23_2.png) [@kjhollen](https://discourse.processing.org/u/kjhollen)\
**Post date:** [June 16, 2018, 1:50am UTC](https://discourse.processing.org/t/performance-issue-p5-js-crushing-my-cpu-possible-retina-issue/999/3 "2018-06-16T01:50:00Z")

</div>

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 Chrome tools](https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/reference) in case you need it—please disregard otherwise) 🙂

---

_[View the full topic](https://discourse.processing.org/t/performance-issue-p5-js-crushing-my-cpu-possible-retina-issue/999)._
