Let's load test the post question endpoint and measure the garbage collection using PerfView. In this load test, we are going to have different requests hitting the endpoint that will challenge the garbage collection process more than the same request being repeated. Let's look at the steps:
- Start the REST API in Visual Studio.
- Let's run the PerfView tool and choose the Collect option from the Collect menu.
- Tick the GC Collect Only and GC Only options in the Advanced Options section:
- Unfortunately, we can't create a large request directly in WebSurge because the Content text box has a character limit. ...