Answers.Body: <p>Fixed now within this Neo update: <a href="https://github.com/spicywebau/craft-neo/tree/5.2.12" rel="nofollow noreferrer">https://github.com/spicywebau/craft-neo/tree/5.2.12</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-21T10:33:04.550Z
Answers.LastActivityDate: 2024-10-22T02:55:16.397Z
Answers.LastEditDate: 2024-10-22T02:55:16.397Z
Answers.UserDisplayName: Marc 
Answers.Body: <p>Would eager loading be a solution?
  <a href="https://craftcms.com/docs/5.x/development/eager-loading.html" rel="nofollow noreferrer">https://craftcms.com/docs/5.x/development/eager-loading.html</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-04T13:24:54.133Z
Answers.Text: If this were about the frontend (website), my first choice would definitely be eager loading.
  
  However, I’m specifically talking about the control panel, straight out of the box.
Answers.UserDisplayName: Marc 
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-02T20:12:12.673Z
Answers.LastActivityDate: 2024-10-02T20:12:12.673Z
Answers.UserDisplayName: Niek
Body: <p>I’m a heavy Neo user, and my “content builder” is a Neo field with about 40 (sub-)block types. Overall, I’m using 116 fields in my project, which is a boilerplate for other projects.</p>
  <p>With Craft 4.12.x and Neo 4.2.x, I was very satisfied with the performance in the control panel as well as on the frontend (website).</p>
  <p>However, after updating to Craft 5.4.x and Neo 5.2.x, the performance of the control panel has slowed down dramatically (on my local DDEV environment), and on my hosting (shared webspace), it’s become completely unusable due to PHP out-of-memory errors.</p>
  <p>If I had developed something custom, I wouldn’t be asking for help, but I’m simply using the control panel as provided, out of the box.</p>
  <p>In the attached screenshot, you can see a comparison of the debug toolbar between Craft 4 and Craft 5 with the same entry and identical content. The Neo configuration remained unchanged, but the result shows that events, logs, memory usage, and database queries have increased significantly.</p>
  <p>I’ve already disabled other plugins, but that didn’t result in any noticeable improvement. When I remove the “content builder” (Neo field), everything works fine again, which leads me to believe the issue is related to Neo. However, since Neo utilizes Craft core functions under the hood, it could potentially be a Craft issue as well—I’m not sure.</p>
  <p>Given this problem, I’m hesitant to upgrade to Craft 5 because I’d lose a lot of flexibility in content creation. Has anyone else encountered a similar issue, or am I the only one facing problems with such a (possibly too?) complex configuration?</p>
  <p>I’ve discussed this issue here on GitHub: <a href="https://github.com/spicywebau/craft-neo/issues/950" rel="nofollow noreferrer">https://github.com/spicywebau/craft-neo/issues/950</a></p>
  <p>Let me know if you need any further adjustments!</p>
  <p>Screenshot , comparison of Craft 4 and Craft 5:<br />
  <a href="https://i.sstatic.net/ftwJHd6t.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ftwJHd6t.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.sstatic.net/pBmK0bYf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/pBmK0bYf.png" alt="enter image description here" /></a></p>
  
Tags: <control-panel>
Title: Control Panel: Performance after update vom Craft 4 to Craft 5 (Neo)
ThreadText: # Control Panel: Performance after update vom Craft 4 to Craft 5 (Neo)
  
  (Asked by: username_0 on 2024-10-02)
  
  I’m a heavy Neo user, and my “content builder” is a Neo field with about 40 (sub-)block types. Overall, I’m using 116 fields in my project, which is a boilerplate for other projects.
  
  With Craft 4.12.x and Neo 4.2.x, I was very satisfied with the performance in the control panel as well as on the frontend (website).
  
  However, after updating to Craft 5.4.x and Neo 5.2.x, the performance of the control panel has slowed down dramatically (on my local DDEV environment), and on my hosting (shared webspace), it’s become completely unusable due to PHP out-of-memory errors.
  
  If I had developed something custom, I wouldn’t be asking for help, but I’m simply using the control panel as provided, out of the box.
  
  In the attached screenshot, you can see a comparison of the debug toolbar between Craft 4 and Craft 5 with the same entry and identical content. The Neo configuration remained unchanged, but the result shows that events, logs, memory usage, and database queries have increased significantly.
  
  I’ve already disabled other plugins, but that didn’t result in any noticeable improvement. When I remove the “content builder” (Neo field), everything works fine again, which leads me to believe the issue is related to Neo. However, since Neo utilizes Craft core functions under the hood, it could potentially be a Craft issue as well—I’m not sure.
  
  Given this problem, I’m hesitant to upgrade to Craft 5 because I’d lose a lot of flexibility in content creation. Has anyone else encountered a similar issue, or am I the only one facing problems with such a (possibly too?) complex configuration?
  
  I’ve discussed this issue here on GitHub: <https://github.com/spicywebau/craft-neo/issues/950>
  
  Let me know if you need any further adjustments!
  
  Screenshot , comparison of Craft 4 and Craft 5:  
  [![enter image description here](https://i.sstatic.net/ftwJHd6t.png)](https://i.sstatic.net/ftwJHd6t.png)
  
  [![enter image description here](https://i.sstatic.net/pBmK0bYf.png)](https://i.sstatic.net/pBmK0bYf.png)
  
  **Tags:** control-panel
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2024-10-21. Score: 1 | Accepted answer
  
  Fixed now within this Neo update: <https://github.com/spicywebau/craft-neo/tree/5.2.12>
  
  
  ---
  
  ### Answer by username_1 on 2024-10-02. Score: 0
  
  Would eager loading be a solution?
  <https://craftcms.com/docs/5.x/development/eager-loading.html>
  
  > **Comments:**
  > **username_0**: If this were about the frontend (website), my first choice would definitely be eager loading.  However, I’m specifically talking about the control panel, straight out of the box.  
  
  ---
  
  