microsoft / testfx

MSTest framework and adapter
MIT License
723 stars 254 forks source link

New Test Type - Performance Benchmarks #2340

Open RobertBouillon opened 7 months ago

RobertBouillon commented 7 months ago

Summary

Add performance benchmarks as a type of test which measures changes in performance.

Background and Motivation

Pass/Fail is an inadequate way to measure the quality of a system. Some quality requirements, such as API response time, must be met and maintained for every software release. Even where there are not strict quality requirements, it's good to know whether or not a change has significantly impacted the performance of a feature (positively or negatively).

Proposed Feature

Alternative Designs

MarcoRossignoli commented 6 months ago

Thanks for the suggestion, we're discussing about it, we also feel some gap here and we're experimenting some solution down that line https://github.com/microsoft/testfx/blob/main/test/Performance/MSTest.Performance.Runner/Program.cs#L43

We will be back when we will have clearer plan.

cc: @pavelhorak @Evangelink