-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix: improve long running task performance in query core #8107
fix: improve long running task performance in query core #8107
Conversation
This addresses two hot spots we have noticed on a large scale enterprise app when profiling with chrome. These changes help to cut down on long running tasks when there are many query calls on the page
This uses parts of #8092 as well |
@tannerlinsley Would you be open to taking this fix? Anything I can provide additionally to help with making it easier to take in? Would love to give this one to the community and not maintain an internal patch if I can. |
yeah let’s not mix PRs / improvements please. I have reviewed the Proxy one already and left a comment. I’m also fine with this change in isolation. |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 2d2239d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8107 +/- ##
===========================================
+ Coverage 45.41% 62.08% +16.67%
===========================================
Files 200 136 -64
Lines 7456 4758 -2698
Branches 1696 1335 -361
===========================================
- Hits 3386 2954 -432
+ Misses 3694 1564 -2130
+ Partials 376 240 -136 |
Sounds good, I will drop the other diff from this and focus just on the one file |
…i/query into query/core-performance-improvment
@TkDodo Updated to just address the one performance issue |
This addresses two hot spots we have noticed
on a large scale enterprise app when profiling
with chrome. These changes help to cut down
on long running tasks when there are many query
calls on the page