# Massive frameRate drop after restart

**URL:** <https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828>\
**Category:** Processing\
**Created:** [March 1, 2019, 3:02am UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828 "2019-03-01T03:02:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wqt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/wqt/32/3546_2.png) [@wqt](https://discourse.processing.org/u/wqt)\
**Post date:** [March 1, 2019, 3:02am UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828/1 "2019-03-01T03:02:57Z")

</div>

Hi,  
I do not know if this is really Processing-related, but I would appreciate any help. I restarted a borrowed Windows 7 computer and my sketches are much slower since. I could run Demos/Performance/DynamicParticlesRetained at about 120fps and now it’s about 80ish. Any tips at all on where this might come from? Anything to to with Processing memory settings, or computer RAM, Virtual memory, graphics card?  
I apologize if my question is vague but I can’t figure it out, so any tips on boosting performance would be appreciated!!  
Thank you 🙂

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [March 1, 2019, 5:12am UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828/2 "2019-03-01T05:12:06Z")

</div>

and you complain about 80 FPS???  
Raspberry Pi 3 B+ / 1GB RAM ( cpu + gpu ) i get 9 FPS

change

```auto
int npartTotal = 1000; //10000;
int npartPerFrame = 10; //25;

```

also see 80 FPS at nearly same picture

---

<div class="post-metadata">

**Author:** ![wqt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/wqt/32/3546_2.png) [@wqt](https://discourse.processing.org/u/wqt)\
**Post date:** [March 2, 2019, 6:21am UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828/3 "2019-03-02T06:21:18Z")

</div>

> [@kll](#):
>
> and you complain about 80 FPS???

I was just citing this example as a reference for comparison 🙂 my other sketches dropped lower than 15fps.  
I figured it out, it is really Windows-specific. The power management has somehow switched to energy saving, making performances quite bad. But I saw this post that helped me figured it out and improve performances :

> **[World of Warcraft Forums](https://eu.forums.blizzard.com/en/wow/)**

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [March 2, 2019, 8:39am UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828/4 "2019-03-02T08:39:45Z")

</div>

> [@wqt](#):
>
> The power management has somehow switched to energy saving, making performances quite bad

win 10? laptop?  
still question is why power saving is on when you start a processing sketch?  
i would think that comes after a time of "inactivity?  
so you just disabled power savings?

---

<div class="post-metadata">

**Author:** ![wqt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/wqt/32/3546_2.png) [@wqt](https://discourse.processing.org/u/wqt)\
**Post date:** [March 6, 2019, 2:38pm UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828/5 "2019-03-06T14:38:22Z")

</div>

> [@kll](#):
>
> win 10? laptop?  
> still question is why power saving is on when you start a processing sketch?  
> i would think that comes after a time of "inactivity?  
> so you just disabled power savings?

Windows 7, laptop indeed. I just restarted it and the power mode switched, although I was connected to the power supply, not nunning on battery… Now that I have manually switched it to high performances instead of power savings it’s good!

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [March 6, 2019, 2:59pm UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828/6 "2019-03-06T14:59:31Z")

</div>

Windows allows 2 diff. configs: for when the power cable is connected and on battery only. 🔋

---

<div class="post-metadata">

**Author:** ![Liquid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/liquid/32/4018_2.png) [@Liquid](https://discourse.processing.org/u/Liquid)\
**Post date:** [March 6, 2019, 6:08pm UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828/7 "2019-03-06T18:08:30Z")

</div>

Also you can set up high perfomance in power management youself
