# Performance issue between p5.js vs p5.min.js

**URL:** <https://discourse.processing.org/t/performance-issue-between-p5-js-vs-p5-min-js/32522>\
**Category:** Development\
**Created:** [September 30, 2021, 10:23am UTC](https://discourse.processing.org/t/performance-issue-between-p5-js-vs-p5-min-js/32522 "2021-09-30T10:23:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabieninspiration](https://avatars.discourse-cdn.com/v4/letter/f/f05b48/32.png) [@fabieninspiration](https://discourse.processing.org/u/fabieninspiration)\
**Post date:** [September 30, 2021, 10:23am UTC](https://discourse.processing.org/t/performance-issue-between-p5-js-vs-p5-min-js/32522/1 "2021-09-30T10:23:24Z")

</div>

Hi team!

I am playing with P5.js since 2 weeks! I love it! I’ve just turned around many hours to understand why i got performance issue.

I just use this simple example [examples | p5.js](https://p5js.org/examples/image-brightness.html)

At the end i just change the p5.js script of the CDN from p5.js p5.min.js.

I am just curious if anyone give me an understandable reason of this huge difference! I got my solution but i would love to understand more.

Thank you so much and nice to be part of this community 😃  
Fabien

---

<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:** [September 30, 2021, 12:08pm UTC](https://discourse.processing.org/t/performance-issue-between-p5-js-vs-p5-min-js/32522/2 "2021-09-30T12:08:11Z")

</div>

Hello,

Be mindful of version numbers when comparing behavior or performance.  
I have had some issues in the past and tried different versions.

The web examples is using this (I peeked into file with an editor):

/\*! p5.js v1.1.9 July 22, 2020 \*/

`:)`
