Load testing the current implementation

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:

  1. Start the REST API in Visual Studio.
  2. Let's run the PerfView tool and choose the Collect option from the Collect menu.
  3. Tick the GC Collect Only and GC Only options in the Advanced Options section:
  1. Unfortunately, we can't create a large request directly in WebSurge because the Content text box has a character limit. ...

Get ASP.NET Core 3 and React now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.