Pretty much everywhere. Especially in case of API endpoints. However, taking decisions like these based on A-B metric of resource-performance is not actually a good way to go about designing your applications.
You should think about
before you take the performance as simple metric.