<p>I have upgraded our site from Craft 3.7.54 to 4.4.1 on my local wamp server to prep for upgrading our staging environment and I'm noticing a fairly significant speed drop and I can't quite figure why that might be the case.</p>
<p>Here's a comparison between 3.7.54 and 4.4.1</p>
<p><a href="https://i.sstatic.net/2m7cb.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2m7cb.jpg" alt="Comparison between 3.7.54 and 4.4.1" /></a></p>
<p>Local server is WAMP 3.2.9 64bit (Don't judge me please, I can be a terrible creature of habbit)</p>
<p>Apache 2.4.46</p>
<p>PHP 8.0.26</p>
<p>MySQL 5.7.31</p>
<p>Installed plugins:
Azure Blob Storage, Redactor, Retour, a custom plugin for handling job listings. I have tried disabling all plugins and see no change.</p>
<p>I reduced the page I'm testing to one use just one element query and it was still slower than  3.7. The simple element query is below.</p>
<pre><code>{% set entries = craft.entries.section('markets').with([ ['smallImage', {kind: 'image', withTransforms: [listed] }] ]).level(1).all() %}
</code></pre>
<p>Any thoughts on what the culprit for the drop in performance locally may be? I have not pushed any of this to staging environments to test as of yet.</p>
<p>Thanks in advance for any pointers.</p>

CC BY-SA 4.0
2023-03-15T20:51:27.930Z
Is your Composer autoloader optimized? Try running `composer dump-autoload -o`.
Brandon Kelly
CC BY-SA 4.0
2023-03-15T21:42:30.827Z
@BrandonKelly Just tried that and it seems that nothing has changed.
Watsonian
CC BY-SA 4.0
2023-03-16T03:34:01.550Z
I'm assuming you updated the PHP version in WAMP as part of this upgrade - did anything else change in WAMP?
Brad Bell
CC BY-SA 4.0
2023-03-17T14:24:09.020Z
@BradBell I had added PHP 8 a while back for another project. I don't recall any other changes to WAMP at that time. I made the changes to the php.ini to increase memory_limit, max_input_nesting_level and max_input_vars, but that was about it. Thanks!
Watsonian
CC BY-SA 4.0
2023-03-17T15:01:12.670Z
I suppose as a next step, I'd push it to another environment to help rule out if it's a WAMP issue or code issue.
Brad Bell
CC BY-SA 4.0
2023-03-17T15:24:58.363Z
@BradBell Yeah, I think that's my next step. I'm out of town for a few days but will give it a whirl next week and see if I'm experiencing similar slowdowns.
Watsonian
<performance>
Why might Craft CMS performance significantly drop on wamp upgrading from 3.7.54 to 4.4.1?
# Why might Craft CMS performance significantly drop on wamp upgrading from 3.7.54 to 4.4.1?

(Asked by: username_0 on 2023-03-15)

I have upgraded our site from Craft 3.7.54 to 4.4.1 on my local wamp server to prep for upgrading our staging environment and I'm noticing a fairly significant speed drop and I can't quite figure why that might be the case.
Here's a comparison between 3.7.54 and 4.4.1

Local server is WAMP 3.2.9 64bit (Don't judge me please, I can be a terrible creature of habbit)
Apache 2.4.46
PHP 8.0.26
MySQL 5.7.31
Installed plugins:
Azure Blob Storage, Redactor, Retour, a custom plugin for handling job listings. I have tried disabling all plugins and see no change.
I reduced the page I'm testing to one use just one element query and it was still slower than  3.7. The simple element query is below.
{% set entries = craft.entries.section('markets').with([ ['smallImage', {kind: 'image', withTransforms: [listed] }] ]).level(1).all() %}

Any thoughts on what the culprit for the drop in performance locally may be? I have not pushed any of this to staging environments to test as of yet.
Thanks in advance for any pointers.

**Tags:** performance

> **Comments:**
> **username_1**: Is your Composer autoloader optimized? Try running `composer dump-autoload -o`.  
> **username_0**: @BrandonKelly Just tried that and it seems that nothing has changed.  
> **username_2**: I'm assuming you updated the PHP version in WAMP as part of this upgrade - did anything else change in WAMP?  
> **username_0**: @BradBell I had added PHP 8 a while back for another project. I don't recall any other changes to WAMP at that time. I made the changes to the php.ini to increase memory_limit, max_input_nesting_level and max_input_vars, but that was about it. Thanks!  
> **username_2**: I suppose as a next step, I'd push it to another environment to help rule out if it's a WAMP issue or code issue.  
> **username_0**: @BradBell Yeah, I think that's my next step. I'm out of town for a few days but will give it a whirl next week and see if I'm experiencing similar slowdowns.  

---

## 0 answers

