eloquent-driver icon indicating copy to clipboard operation
eloquent-driver copied to clipboard

Massive surge in uncached page loads after upgrading to >= 3.1.3

Open K3CK opened this issue 10 months ago • 4 comments

We noticed a massive surge in uncached page loads in one of our projects after upgrading to Eloquent Driver >= 3.1.3.

Before we had page load times of around 1.5s, after the upgrade page load times are around 4s.

The project has around 2500 entries in the database.

It seems to be related to the dirty state tracking changes from https://github.com/statamic/eloquent-driver/pull/248, specifically the line https://github.com/statamic/eloquent-driver/pull/248/files#diff-31fcf8a95fd0dbc8da9e8dc7ae856aa51bd921c50a8059e23df7d411737ab65f

Removing the syncOriginal() call brings back the faster load times.

Any idea what's going on?

K3CK avatar Mar 28 '24 11:03 K3CK