Graph Api calendar events performance is very slow
I’m using the below calendar API to get calendar events for a given user
GET /me/calendar/events
However I notice that by default only 10 records are returned. I’m trying to include top parameter in the url and do a callback in case nextlink has a value in the response.
I’m trying to add $top=500 to the api url. And I noticed that when top parameter is included, time taken for the response to be returned is very high. It does not matter if I use top=50 or top=500.
Without the top parameter, the response is returned in lesser than a second.
Any idea on how I can bring down the performance in this scenario?