General, Gmail: BatchRequest for 25 gmail threads is very slow #1573
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Uh oh!
There was an error while loading. Please reload this page.
Environment details
Steps to reproduce
Use the BatchRequest class to fetch 25 threads from Gmail
Code example
Stack trace
Pausing the debugger while batches are being returned pauses here:
google-api-java-client/google-api-client/src/main/java/com/google/api/client/googleapis/batch/BatchUnparsedResponse.java
Line 127 in ce22c0e
The entire batch takes ~2 minutes to return while the
google-api-objectivec-client-for-rest
library returns the same set in < 2 seconds.The text was updated successfully, but these errors were encountered: