You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
we see a significant regression on performance on some of Arm servers which is introduced by this patch (I didn't test on x86):
commit 91f55a4f7134409a832435de2c6df231102d5898 (HEAD -> head-2)
Author: Dave Syer <[email protected]>
Date: Wed Nov 27 08:32:30 2024 +0000
Versionless webjars (again)
Spring Boot 3.4 supports the webjars-locator-lite which in turn
supports native images, so we are back to versionless URLs for
webjars assets in templates.
The performance drop introduced is quite severe, going from 3.3k req/s on this little test to about 0.7k req/s.
That's unfortunate as it was supposed to be a performance improvement. For me it's only a factor of 2x worse (not 4x) not on arm, but I'm not sure why that's a problem.
Did some digging and the problem comes from ResourceUrlEncodingFilter which is conditionally added to a Spring Boot app if webjars locator is on the classpath. Even the new faster webjars-locator-lite doesn't solve the problem that for every rendered URL the classpath has to be checked for an existing resource. I've raised the issue with the Framework team, so let's see what they say.
UPDATE: according to @bclozel the filter should be caching all its work, so that doesn't seem to be happening. He's going to look into it.
Hello,
we see a significant regression on performance on some of Arm servers which is introduced by this patch (I didn't test on x86):
The performance drop introduced is quite severe, going from 3.3k req/s on this little test to about 0.7k req/s.
These are the steps to repro on Ubuntu.
Server:
Client:
numactl -C 16 wrk -c 1 -t 1 http://localhost:8080 -d 60
The text was updated successfully, but these errors were encountered: