Skip to content

Performance Degradation on Large Pages #3981

Closed
@carlossierra311

Description

@carlossierra311

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I have a page I consider large (but not unusual in our context), with 29.000+ words, 183.000+ characters, 1.400 lines of code divided in 27 code blocks and 5 images. When I try to edit the page, it takes more than 10 seconds every time for the first character to appear on screen, and every consecutive edit takes the same time.

I already tried this tip, and it improved the response time (before, every edit could take close to one minute), but it's still unsustainable.

With smaller pages, performance is quite good, and the application feels very responsive.

Is there anything else that can be done to further improve performance to usable levels?

Exact BookStack Version

v22.11.1

Log Content

No response

PHP Version

8.1.10

Hosting Environment

Windows Server 2019 Standard v1809, OS build 17763.3406
32 GB Ram, Intel Xeon E3-1230 v5 @3.4GHz

BookStack installed manually by following these steps, using the following components:
php-8.1.10
mysql-8.0.30
nginx-1.23.1

Memory usage is usually around 50% (this server is used to host a couple other applications), and CPU usage is around 5%, even during the reported behavior.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions