I know it's just a simple blog, but it really does feel faster. I just had a thought; I should redeploy on .net 8 and then use jmeter to load test and then redeploy and compare the results. 🤔
Okay I'm back, here are the results from jmeter:
Metric | .NET 9 | .NET 8 |
---|---|---|
Avg Resp. Ms | 57ms | 75ms |
Min Resp. Ms | 31ms | 35ms |
Max Resp. Ms | 202ms | 545ms |
Throughput | 335.30/sec | 248.21/sec |
KB/Sec | 2692.29 KB/s | 1993.02 KB/s |
Not bad, the difference is noticeable in the collected metrics but obviously not a difference that would be detected by a human 😁
For the future when I want to run this test again for the next version of .net here's how I set up jmeter:
Thread Group with 25 users, 1 second ramp up period, and loop count of 10, also added a summary report.
The pages I'm hitting are just random blog posts and I really don't think it matters, but here they are (for science)