'The speed when data is fetched from the firebase function via glaphql's apollo server will be the same as when the data is fetched from the firestore

Task I don't know if the verification results are correct.

overview I used glaphql's apollo and firebase's function to get the data from the firestore. I measured the speed at that time using performance.now (), but the speed was almost the same as when I got the data directly from the firestore.

The amount of data is 1.0MB.

Since it goes through apollo, I thought it would be slower. Does that mean that the data acquisition method is wrong? Or is graphql's apollo so good?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source