-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetpack: Atomic: JITMs significantly slowing down wp-admin loads #96940
Comments
OpenAI suggested the following labels for this issue:
|
Greetings! 👋 I've bumped this for Groundskeeping review: p1733117313873469-slack-C07GZ2UA3TN |
Hello, @ebinnion! I'd appreciate it if I could get permission for eric.blog to debug. Here’s what I’ve observed so far:
This issue likely affects some users, but the specific conditions under which it occurs are still unclear. I’ll continue to investigate further and share updates. CC: @inaikem |
A possible cause might be related to here: https://github.com/Automattic/jetpack/blob/d407cbc66521be25197ae815463cf614cf0a99de/projects/packages/jetpack-mu-wpcom/src/features/wpcom-sidebar-notice/wpcom-sidebar-notice.php#L39 but I haven't tested it yet. |
It seems there are two things here:
|
@okmttdhr - This is harder without my access while on paternity. 😄 I don't have your email and won't want to pass a secret on here. I'll contact support with a username and pass and ask them to pass it on to you. |
I DM'd @okmttdhr |
I have made Automattic/jetpack#40422 as a potential improvement to address this. Could you take a look at it, @wojtekn?
@\ebinnion @essleeung Thank you both for assisting! I was able to log in to the blog successfully. Unfortunately, I couldn’t reproduce the issue with the provided account, which suggests it might be related to the "1. Mentioned request is slow in some cases" that @wojtekn suggested. This makes the issue a bit trickier to debug. I’d like to see whether the proposed PR helps mitigate the original issue. |
I've tested the PR and left a note about the gain in performance. Thanks for that. I did not actually review any code though. I have gone ahead and delete my the secret on my site. |
I'll go ahead and close this issue now, as we’ve shipped Automattic/jetpack#40422. Please feel free to reopen this issue if there’s a need to revisit the slow request. |
Quick summary
As I've loaded my wp-admin recently, I've noticed that it felt pretty slow. After installing query monitor, I noticed that there is often a JITM request that is happening during page generation. This call seems to often take ~3 seconds, but I recently had one that took over 6 seconds.
I haven't tracked down the source of the issue. My understanding is that JITMs previously loaded after the initial page load, so I'm not sure what exactly changed.
Of note, the screenshot that I'm sharing says the plugin that made the request is Jetpack Boost. But, keep in mind that with Jetpack packages, we could be using a package loaded from one of several Jetpack plugins that may be running on my site. Take note of the
calypso:sites:sidebar_notice
, which I assume is added by Atomic code somewhere.This occurred on eric.blog. For debugging purposes, I'm glad to give any a11n a temporary user account on that site.
Even worse than the slow request is that if I refresh the page, I can get the request to fire again multiple times.
cc @oskosk @inaikem for awareness. Also, hi friends. 👋
Steps to reproduce
What you expected to happen
No page blocking http calls to be made.
What actually happened
The page blocking http call is made.
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
If the above answer is "Yes...", outline the workaround.
No response
Platform (Simple and/or Atomic)
Atomic
Logs or notes
No response
The text was updated successfully, but these errors were encountered: