Skip to content

Commit 441e38a

Browse files
author
Aaron Dandy
committed
Performance baseline
1 parent 0d6672c commit 441e38a

17 files changed

+82
-101
lines changed

WeCantSpell.Hunspell.Benchmarks/Suites/CheckEnUsSuite.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
namespace WeCantSpell.Hunspell.Benchmarks.Suites;
1010

11-
[SimpleJob(id: "Check en-US", runtimeMoniker: RuntimeMoniker.Net80, baseline: true)]
12-
[SimpleJob(id: "Check en-US", runtimeMoniker: RuntimeMoniker.Net90)]
11+
[SimpleJob(id: "Check en-US", runtimeMoniker: RuntimeMoniker.Net90, baseline: true)]
1312
[MinColumn, MeanColumn, MedianColumn]
1413
public class CheckEnUsSuite
1514
{

WeCantSpell.Hunspell.Benchmarks/Suites/SuggestEnUsSuite.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
namespace WeCantSpell.Hunspell.Benchmarks.Suites;
99

10-
[SimpleJob(id: "Suggest en-US", runtimeMoniker: RuntimeMoniker.Net80, baseline: true)]
11-
[SimpleJob(id: "Suggest en-US", runtimeMoniker: RuntimeMoniker.Net90)]
10+
[SimpleJob(id: "Suggest en-US", runtimeMoniker: RuntimeMoniker.Net90, baseline: true)]
1211
[MinColumn, MeanColumn, MedianColumn]
1312
public class SuggestEnUsSuite
1413
{

WeCantSpell.Hunspell.Benchmarks/WeCantSpell.Hunspell.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net9.0;net8.0;net48</TargetFrameworks>
5+
<TargetFrameworks>net9.0;net48</TargetFrameworks>
66
<LangVersion>13.0</LangVersion>
77
</PropertyGroup>
88

WeCantSpell.Hunspell.Benchmarks/WeCantSpell.Hunspell.Benchmarks.net8.0.v3.ncrunchproject

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
```
22
3-
BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.3194)
4-
AMD Ryzen 7 5800H with Radeon Graphics, 1 CPU, 16 logical and 8 physical cores
5-
[Host] : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256
6-
Check en-US : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256
3+
BenchmarkDotNet v0.15.2, Windows 11 (10.0.26100.6584/24H2/2024Update/HudsonValley)
4+
AMD Ryzen 7 5800H with Radeon Graphics 3.20GHz, 1 CPU, 16 logical and 8 physical cores
5+
[Host] : .NET Framework 4.8.1 (4.8.9310.0), X64 RyuJIT VectorSize=256
6+
Check en-US : .NET Framework 4.8.1 (4.8.9310.0), X64 RyuJIT VectorSize=256
77
88
Job=Check en-US
99
1010
```
1111
| Method | Mean | Error | StdDev | Min | Median | Ratio |
1212
|--------------------------- |----------:|----------:|----------:|----------:|----------:|------:|
13-
| &#39;Check words: WeCantSpell&#39; | 19.807 ms | 0.0601 ms | 0.0562 ms | 19.677 ms | 19.803 ms | 1.00 |
14-
| &#39;Check words: NHunspell&#39; | 5.969 ms | 0.0083 ms | 0.0077 ms | 5.956 ms | 5.967 ms | 0.30 |
13+
| &#39;Check words: WeCantSpell&#39; | 18.283 ms | 0.0397 ms | 0.0371 ms | 18.209 ms | 18.294 ms | 1.00 |
14+
| &#39;Check words: NHunspell&#39; | 6.010 ms | 0.0079 ms | 0.0066 ms | 5.995 ms | 6.010 ms | 0.33 |
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Method,Job,AnalyzeLaunchVariance,EvaluateOverhead,MaxAbsoluteError,MaxRelativeError,MinInvokeCount,MinIterationTime,OutlierMode,Affinity,EnvironmentVariables,Jit,LargeAddressAware,Platform,PowerPlanMode,Runtime,AllowVeryLargeObjects,Concurrent,CpuGroups,Force,HeapAffinitizeMask,HeapCount,NoAffinitize,RetainVm,Server,Arguments,BuildConfiguration,Clock,EngineFactory,NuGetReferences,Toolchain,IsMutator,InvocationCount,IterationCount,IterationTime,LaunchCount,MaxIterationCount,MaxWarmupIterationCount,MemoryRandomization,MinIterationCount,MinWarmupIterationCount,RunStrategy,UnrollFactor,WarmupCount,Mean,Error,StdDev,Min,Median,Ratio
2-
'Check words: WeCantSpell',Check en-US,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Framework 4.8,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,19.807 ms,0.0601 ms,0.0562 ms,19.677 ms,19.803 ms,1.00
3-
'Check words: NHunspell',Check en-US,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Framework 4.8,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,5.969 ms,0.0083 ms,0.0077 ms,5.956 ms,5.967 ms,0.30
2+
'Check words: WeCantSpell',Check en-US,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Framework 4.8,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,18.283 ms,0.0397 ms,0.0371 ms,18.209 ms,18.294 ms,1.00
3+
'Check words: NHunspell',Check en-US,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Framework 4.8,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,6.010 ms,0.0079 ms,0.0066 ms,5.995 ms,6.010 ms,0.33

artifacts/bench/results/WeCantSpell.Hunspell.Benchmarks.NHunspell.Suites.CheckEnUsSuite-report.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang='en'>
33
<head>
44
<meta charset='utf-8' />
5-
<title>WeCantSpell.Hunspell.Benchmarks.NHunspell.Suites.CheckEnUsSuite-20250303-081858</title>
5+
<title>WeCantSpell.Hunspell.Benchmarks.NHunspell.Suites.CheckEnUsSuite-20250910-212917</title>
66

77
<style type="text/css">
88
table { border-collapse: collapse; display: block; width: 100%; overflow: auto; }
@@ -13,19 +13,19 @@
1313
</head>
1414
<body>
1515
<pre><code>
16-
BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.3194)
17-
AMD Ryzen 7 5800H with Radeon Graphics, 1 CPU, 16 logical and 8 physical cores
18-
[Host] : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256
19-
Check en-US : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256
16+
BenchmarkDotNet v0.15.2, Windows 11 (10.0.26100.6584/24H2/2024Update/HudsonValley)
17+
AMD Ryzen 7 5800H with Radeon Graphics 3.20GHz, 1 CPU, 16 logical and 8 physical cores
18+
[Host] : .NET Framework 4.8.1 (4.8.9310.0), X64 RyuJIT VectorSize=256
19+
Check en-US : .NET Framework 4.8.1 (4.8.9310.0), X64 RyuJIT VectorSize=256
2020
</code></pre>
2121
<pre><code>Job=Check en-US
2222
</code></pre>
2323

2424
<table>
2525
<thead><tr><th>Method </th><th>Mean</th><th>Error</th><th>StdDev</th><th>Min</th><th>Median</th><th>Ratio</th>
2626
</tr>
27-
</thead><tbody><tr><td>&#39;Check words: WeCantSpell&#39;</td><td>19.807 ms</td><td>0.0601 ms</td><td>0.0562 ms</td><td>19.677 ms</td><td>19.803 ms</td><td>1.00</td>
28-
</tr><tr><td>&#39;Check words: NHunspell&#39;</td><td>5.969 ms</td><td>0.0083 ms</td><td>0.0077 ms</td><td>5.956 ms</td><td>5.967 ms</td><td>0.30</td>
27+
</thead><tbody><tr><td>&#39;Check words: WeCantSpell&#39;</td><td>18.283 ms</td><td>0.0397 ms</td><td>0.0371 ms</td><td>18.209 ms</td><td>18.294 ms</td><td>1.00</td>
28+
</tr><tr><td>&#39;Check words: NHunspell&#39;</td><td>6.010 ms</td><td>0.0079 ms</td><td>0.0066 ms</td><td>5.995 ms</td><td>6.010 ms</td><td>0.33</td>
2929
</tr></tbody></table>
3030
</body>
3131
</html>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
```
22
3-
BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.3194)
4-
AMD Ryzen 7 5800H with Radeon Graphics, 1 CPU, 16 logical and 8 physical cores
5-
[Host] : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256
6-
Suggest en-US : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256
3+
BenchmarkDotNet v0.15.2, Windows 11 (10.0.26100.6584/24H2/2024Update/HudsonValley)
4+
AMD Ryzen 7 5800H with Radeon Graphics 3.20GHz, 1 CPU, 16 logical and 8 physical cores
5+
[Host] : .NET Framework 4.8.1 (4.8.9310.0), X64 RyuJIT VectorSize=256
6+
Suggest en-US : .NET Framework 4.8.1 (4.8.9310.0), X64 RyuJIT VectorSize=256
77
88
Job=Suggest en-US
99
1010
```
1111
| Method | Mean | Error | StdDev | Min | Median | Ratio | RatioSD |
1212
|----------------------------- |--------:|---------:|---------:|--------:|--------:|------:|--------:|
13-
| &#39;Suggest words: WeCantSpell&#39; | 3.470 s | 0.0041 s | 0.0037 s | 3.464 s | 3.470 s | 1.00 | 0.00 |
14-
| &#39;Suggest words: NHunspell&#39; | 7.795 s | 0.1459 s | 0.1293 s | 7.701 s | 7.744 s | 2.25 | 0.04 |
13+
| &#39;Suggest words: WeCantSpell&#39; | 3.595 s | 0.0637 s | 0.0497 s | 3.572 s | 3.578 s | 1.00 | 0.02 |
14+
| &#39;Suggest words: NHunspell&#39; | 8.865 s | 0.1756 s | 0.3211 s | 8.161 s | 8.858 s | 2.47 | 0.09 |
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Method,Job,AnalyzeLaunchVariance,EvaluateOverhead,MaxAbsoluteError,MaxRelativeError,MinInvokeCount,MinIterationTime,OutlierMode,Affinity,EnvironmentVariables,Jit,LargeAddressAware,Platform,PowerPlanMode,Runtime,AllowVeryLargeObjects,Concurrent,CpuGroups,Force,HeapAffinitizeMask,HeapCount,NoAffinitize,RetainVm,Server,Arguments,BuildConfiguration,Clock,EngineFactory,NuGetReferences,Toolchain,IsMutator,InvocationCount,IterationCount,IterationTime,LaunchCount,MaxIterationCount,MaxWarmupIterationCount,MemoryRandomization,MinIterationCount,MinWarmupIterationCount,RunStrategy,UnrollFactor,WarmupCount,Mean,Error,StdDev,Min,Median,Ratio,RatioSD
2-
'Suggest words: WeCantSpell',Suggest en-US,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Framework 4.8,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,3.470 s,0.0041 s,0.0037 s,3.464 s,3.470 s,1.00,0.00
3-
'Suggest words: NHunspell',Suggest en-US,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Framework 4.8,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,7.795 s,0.1459 s,0.1293 s,7.701 s,7.744 s,2.25,0.04
2+
'Suggest words: WeCantSpell',Suggest en-US,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Framework 4.8,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,3.595 s,0.0637 s,0.0497 s,3.572 s,3.578 s,1.00,0.02
3+
'Suggest words: NHunspell',Suggest en-US,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Framework 4.8,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,8.865 s,0.1756 s,0.3211 s,8.161 s,8.858 s,2.47,0.09

artifacts/bench/results/WeCantSpell.Hunspell.Benchmarks.NHunspell.Suites.SuggestEnUsSuite-report.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang='en'>
33
<head>
44
<meta charset='utf-8' />
5-
<title>WeCantSpell.Hunspell.Benchmarks.NHunspell.Suites.SuggestEnUsSuite-20250303-081945</title>
5+
<title>WeCantSpell.Hunspell.Benchmarks.NHunspell.Suites.SuggestEnUsSuite-20250910-212946</title>
66

77
<style type="text/css">
88
table { border-collapse: collapse; display: block; width: 100%; overflow: auto; }
@@ -13,19 +13,19 @@
1313
</head>
1414
<body>
1515
<pre><code>
16-
BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.3194)
17-
AMD Ryzen 7 5800H with Radeon Graphics, 1 CPU, 16 logical and 8 physical cores
18-
[Host] : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256
19-
Suggest en-US : .NET Framework 4.8.1 (4.8.9290.0), X64 RyuJIT VectorSize=256
16+
BenchmarkDotNet v0.15.2, Windows 11 (10.0.26100.6584/24H2/2024Update/HudsonValley)
17+
AMD Ryzen 7 5800H with Radeon Graphics 3.20GHz, 1 CPU, 16 logical and 8 physical cores
18+
[Host] : .NET Framework 4.8.1 (4.8.9310.0), X64 RyuJIT VectorSize=256
19+
Suggest en-US : .NET Framework 4.8.1 (4.8.9310.0), X64 RyuJIT VectorSize=256
2020
</code></pre>
2121
<pre><code>Job=Suggest en-US
2222
</code></pre>
2323

2424
<table>
2525
<thead><tr><th>Method </th><th>Mean</th><th>Error</th><th>StdDev</th><th>Min</th><th>Median</th><th>Ratio</th><th>RatioSD</th>
2626
</tr>
27-
</thead><tbody><tr><td>&#39;Suggest words: WeCantSpell&#39;</td><td>3.470 s</td><td>0.0041 s</td><td>0.0037 s</td><td>3.464 s</td><td>3.470 s</td><td>1.00</td><td>0.00</td>
28-
</tr><tr><td>&#39;Suggest words: NHunspell&#39;</td><td>7.795 s</td><td>0.1459 s</td><td>0.1293 s</td><td>7.701 s</td><td>7.744 s</td><td>2.25</td><td>0.04</td>
27+
</thead><tbody><tr><td>&#39;Suggest words: WeCantSpell&#39;</td><td>3.595 s</td><td>0.0637 s</td><td>0.0497 s</td><td>3.572 s</td><td>3.578 s</td><td>1.00</td><td>0.02</td>
28+
</tr><tr><td>&#39;Suggest words: NHunspell&#39;</td><td>8.865 s</td><td>0.1756 s</td><td>0.3211 s</td><td>8.161 s</td><td>8.858 s</td><td>2.47</td><td>0.09</td>
2929
</tr></tbody></table>
3030
</body>
3131
</html>

0 commit comments

Comments
 (0)