Hi Daniel,
Since Independent Analytics makes a REST API call, it requires WordPress to load. The process that IA runs is very fast, but it’s the loading of WP that slows things down. This is why the performance can change between sites. Sites that have a lot more plugins tend to load slower. You will see similar performance for all REST API and Ajax calls on each site.
For now, the only way to speed things up is to get WP loading faster, as that’s the main bottleneck. The best way to do this is to deactivate any plugins that aren’t crucial for the site. Changing to faster hosting can help too, but I understand that’s a major action to take for this one reason.
We’ve found that plugins with faster requests, like Burst, use a method (SHORT_INIT) to partially load WordPress, which is why their request is faster. We’d like to try something similar in a future update, and that would reduce the time each REST API request takes. We have some other more experimental ideas that we need to explore further as well.
I’d also like to reassert that since the request is non-render blocking and delayed until the rest of the site is loaded, it doesn’t impact how visitors see the site load, and it also doesn’t affect Google PageSpeed scores (CWV), which are the metrics Google openly states affect SEO.