Skip to content

Commit

Permalink
Banner
Browse files Browse the repository at this point in the history
  • Loading branch information
thomhurst authored Nov 30, 2024
1 parent 216da0e commit beb86eb
Showing 1 changed file with 57 additions and 54 deletions.
111 changes: 57 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# TUnit
<p align="center">
<img src="assets/banner.png" width="800"/>
<a href="https://trendshift.io/repositories/11781" target="_blank"><img src="https://trendshift.io/api/badge/repositories/11781" alt="thomhurst%2FTUnit | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</p>

<a href="https://trendshift.io/repositories/11781" target="_blank"><img src="https://trendshift.io/api/badge/repositories/11781" alt="thomhurst%2FTUnit | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>

Expand Down Expand Up @@ -290,23 +293,23 @@ Job=.NET 9.0 Runtime=.NET 9.0

#### windows-latest

```
BenchmarkDotNet v0.14.0, Windows 10 (10.0.20348.2849) (Hyper-V)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
.NET 9.0 : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
Job=.NET 9.0 Runtime=.NET 9.0
```
| Method | Mean | Error | StdDev |
|------------- |--------:|---------:|---------:|
| Build_TUnit | 1.830 s | 0.0357 s | 0.0565 s |
| Build_NUnit | 1.502 s | 0.0293 s | 0.0438 s |
| Build_xUnit | 1.486 s | 0.0234 s | 0.0207 s |
| Build_MSTest | 1.509 s | 0.0160 s | 0.0150 s |
```
BenchmarkDotNet v0.14.0, Windows 10 (10.0.20348.2849) (Hyper-V)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
.NET 9.0 : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
Job=.NET 9.0 Runtime=.NET 9.0
```
| Method | Mean | Error | StdDev |
|------------- |--------:|---------:|---------:|
| Build_TUnit | 1.830 s | 0.0357 s | 0.0565 s |
| Build_NUnit | 1.502 s | 0.0293 s | 0.0438 s |
| Build_xUnit | 1.486 s | 0.0234 s | 0.0207 s |
| Build_MSTest | 1.509 s | 0.0160 s | 0.0150 s |


### Scenario: A single test that completes instantly (including spawning a new process and initialising the test framework)
Expand Down Expand Up @@ -359,24 +362,24 @@ Job=.NET 9.0 Runtime=.NET 9.0

#### windows-latest

```
BenchmarkDotNet v0.14.0, Windows 10 (10.0.20348.2849) (Hyper-V)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
.NET 9.0 : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
Job=.NET 9.0 Runtime=.NET 9.0
```
| Method | Mean | Error | StdDev |
|---------- |------------:|----------:|----------:|
| TUnit_AOT | 77.83 ms | 0.728 ms | 0.646 ms |
| TUnit | 818.72 ms | 16.129 ms | 23.641 ms |
| NUnit | 1,280.68 ms | 13.836 ms | 12.265 ms |
| xUnit | 1,264.48 ms | 19.959 ms | 18.669 ms |
| MSTest | 1,139.48 ms | 12.937 ms | 12.101 ms |
```
BenchmarkDotNet v0.14.0, Windows 10 (10.0.20348.2849) (Hyper-V)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
.NET 9.0 : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
Job=.NET 9.0 Runtime=.NET 9.0
```
| Method | Mean | Error | StdDev |
|---------- |------------:|----------:|----------:|
| TUnit_AOT | 77.83 ms | 0.728 ms | 0.646 ms |
| TUnit | 818.72 ms | 16.129 ms | 23.641 ms |
| NUnit | 1,280.68 ms | 13.836 ms | 12.265 ms |
| xUnit | 1,264.48 ms | 19.959 ms | 18.669 ms |
| MSTest | 1,139.48 ms | 12.937 ms | 12.101 ms |


### Scenario: A test that takes 50ms to execute, repeated 100 times (including spawning a new process and initialising the test framework)
Expand Down Expand Up @@ -429,24 +432,24 @@ Job=.NET 9.0 Runtime=.NET 9.0

#### windows-latest

```
BenchmarkDotNet v0.14.0, Windows 10 (10.0.20348.2849) (Hyper-V)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
.NET 9.0 : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
Job=.NET 9.0 Runtime=.NET 9.0
```
| Method | Mean | Error | StdDev |
|---------- |-----------:|---------:|---------:|
| TUnit_AOT | 131.9 ms | 2.64 ms | 7.52 ms |
| TUnit | 900.5 ms | 18.00 ms | 26.94 ms |
| NUnit | 7,485.8 ms | 19.36 ms | 18.11 ms |
| xUnit | 7,465.1 ms | 20.82 ms | 19.47 ms |
| MSTest | 7,458.8 ms | 21.79 ms | 19.32 ms |
```
BenchmarkDotNet v0.14.0, Windows 10 (10.0.20348.2849) (Hyper-V)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.100
[Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
.NET 9.0 : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
Job=.NET 9.0 Runtime=.NET 9.0
```
| Method | Mean | Error | StdDev |
|---------- |-----------:|---------:|---------:|
| TUnit_AOT | 131.9 ms | 2.64 ms | 7.52 ms |
| TUnit | 900.5 ms | 18.00 ms | 26.94 ms |
| NUnit | 7,485.8 ms | 19.36 ms | 18.11 ms |
| xUnit | 7,465.1 ms | 20.82 ms | 19.47 ms |
| MSTest | 7,458.8 ms | 21.79 ms | 19.32 ms |



0 comments on commit beb86eb

Please sign in to comment.