Replies: 7 comments 1 reply
-
This sounds odd for sure. When exactly are you triggering the query? Is it when your application is starting up or on an explicit event? Wondering whether the main js thread is being overloaded or something |
Beta Was this translation helpful? Give feedback.
-
@Ehesp well I am calling it in my first screen using a stream builder. |
Beta Was this translation helpful? Give feedback.
-
i have the same issue week ago |
Beta Was this translation helpful? Give feedback.
-
I have also tested firestore in react with same firestore project and the prblm persists. Where else in Android and ios, no latency. I also saw similar issue in react |
Beta Was this translation helpful? Give feedback.
-
@Abdaallaa same for me, I also tried downgrading everything from flutter to each plugin and package version but nothing worked. But for Android and ios it works normally. |
Beta Was this translation helpful? Give feedback.
-
Is there any update on a fix for this? We are experiencing this same issue. |
Beta Was this translation helpful? Give feedback.
-
@skiluk I couldn't find a solution, so I opted to discard the Firestore package and utilize Google Firestore APIs instead. |
Beta Was this translation helpful? Give feedback.
-
Description:
I'm currently facing a performance issue with Firestore queries in my Flutter web application after upgrading from version 3.13.7 to the latest one. Previously, queries fetching 12 documents from a Firestore collection, totaling around 72.65 KB of data, took 1-2 seconds. However, post-upgrade, the same queries are now taking around 30 seconds, leading to server timeouts.
Here are some key details:
This issue is consistent across both the production and test environments. I've confirmed that the problem started after the Flutter version upgrade. Notably, any release of the application before the version upgrade works normally, with queries taking 1-2 seconds. Even when using the exact production release from my Git repository, the slow query issue persists.
Additional Information:
Attempted Solutions:
I'm seeking guidance on where the problem might be originating—whether it's in my Flutter web application, Firestore, or somewhere else. Any suggestions or insights on how to troubleshoot and resolve this performance issue would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions