Skip to content

Commit d480e12

Browse files
committed
nuget cleanup
1 parent c4d5637 commit d480e12

File tree

4 files changed

+36
-28
lines changed

4 files changed

+36
-28
lines changed

src/Slugify.Core/Slugify.Core.csproj

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,20 @@
22
<PropertyGroup>
33
<AssemblyTitle>Slugify Core</AssemblyTitle>
44

5-
<VersionPrefix>4.0.0</VersionPrefix>
5+
<VersionPrefix>4.0.1</VersionPrefix>
66
<TargetFramework>netstandard2.0</TargetFramework>
77
<AssemblyName>Slugify.Core</AssemblyName>
88
<PackageId>Slugify.Core</PackageId>
99
<PackageTags>URL;Slug;Web;Slugify</PackageTags>
10-
<PackageReleaseNotes>
11-
3.0.0 - Much improved performance and memory usage. Config file renamed. Potentially some breaking changes but none we're aware of
12-
2.4.0 - NetStandard 2.0 support only
13-
2.3.0 - ISlugHelper interface added. Thanks @jcharlesworthuk
14-
2.2.2 - NetStandard 2.0
15-
2.2.1 - NuGet package updates
16-
2.2.0 - Minor tweaks
10+
<PackageReleaseNotes>4.0.0 - Bug fix relase from 3.0.0
11+
3.0.0 - Much improved performance and memory usage. Config file renamed. Potentially some breaking changes but none we're aware of
12+
2.4.0 - NetStandard 2.0 support only
13+
2.3.0 - ISlugHelper interface added. Thanks @jcharlesworthuk
14+
2.2.2 - NetStandard 2.0
15+
2.2.1 - NuGet package updates
16+
2.2.0 - Minor tweaks
1717
</PackageReleaseNotes>
1818
<PackageProjectUrl>https://github.com/ctolkien/Slugify</PackageProjectUrl>
19-
<License>http://opensource.org/licenses/MIT</License>
2019
<PackageIcon>icon.png</PackageIcon>
2120
<RepositoryType>git</RepositoryType>
2221
<RepositoryUrl>https://github.com/ctolkien/Slugify</RepositoryUrl>
@@ -30,13 +29,22 @@ With default settings, you will get an hyphenized, lowercase, alphanumeric versi
3029
<EmbedUntrackedSources>true</EmbedUntrackedSources>
3130
<IncludeSymbols>true</IncludeSymbols>
3231
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
32+
<PackageReadmeFile>README.md</PackageReadmeFile>
33+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
34+
<EnableNETAnalyzers>True</EnableNETAnalyzers>
3335

3436
</PropertyGroup>
3537

3638
<!-- Deterministic builds -->
3739
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
3840
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
3941
</PropertyGroup>
42+
<ItemGroup>
43+
<None Include="..\..\README.md">
44+
<Pack>True</Pack>
45+
<PackagePath>\</PackagePath>
46+
</None>
47+
</ItemGroup>
4048

4149
<ItemGroup>
4250
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
``` ini
22

3-
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.18363.778 (1909/November2018Update/19H2)
3+
BenchmarkDotNet=v0.13.5, OS=Windows 11 (10.0.22621.1265/22H2/2022Update/SunValley2)
44
Intel Core i9-9900K CPU 3.60GHz (Coffee Lake), 1 CPU, 16 logical and 8 physical cores
5-
.NET Core SDK=3.1.201
6-
[Host] : .NET Core 3.1.3 (CoreCLR 4.700.20.11803, CoreFX 4.700.20.12001), X64 RyuJIT
7-
DefaultJob : .NET Core 3.1.3 (CoreCLR 4.700.20.11803, CoreFX 4.700.20.12001), X64 RyuJIT
5+
.NET SDK=7.0.200
6+
[Host] : .NET 6.0.14 (6.0.1423.7309), X64 RyuJIT AVX2
7+
DefaultJob : .NET 6.0.14 (6.0.1423.7309), X64 RyuJIT AVX2
88

99

1010
```
11-
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
12-
|--------- |---------:|---------:|---------:|------:|----------:|------:|------:|----------:|
13-
| Baseline | 42.32 ms | 0.045 ms | 0.040 ms | 1.00 | 3750.0000 | - | - | 30.57 MB |
14-
| Improved | 26.14 ms | 0.323 ms | 0.287 ms | 0.62 | 2562.5000 | - | - | 20.6 MB |
11+
| Method | Mean | Error | StdDev | Ratio | Gen0 | Allocated | Alloc Ratio |
12+
|--------- |---------:|---------:|---------:|------:|----------:|----------:|------------:|
13+
| Baseline | 28.87 ms | 0.441 ms | 0.412 ms | 1.00 | 2718.7500 | 21.8 MB | 1.00 |
14+
| Improved | 23.64 ms | 0.206 ms | 0.193 ms | 0.82 | 593.7500 | 4.85 MB | 0.22 |
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Method,Job,AnalyzeLaunchVariance,EvaluateOverhead,MaxAbsoluteError,MaxRelativeError,MinInvokeCount,MinIterationTime,OutlierMode,Affinity,EnvironmentVariables,Jit,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,MinIterationCount,MinWarmupIterationCount,RunStrategy,UnrollFactor,WarmupCount,Mean,Error,StdDev,Ratio,Gen 0,Gen 1,Gen 2,Allocated
2-
Baseline,DefaultJob,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Core 3.1,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,42.32 ms,0.045 ms,0.040 ms,1.00,3750.0000,0.0000,0.0000,30.57 MB
3-
Improved,DefaultJob,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET Core 3.1,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,26.14 ms,0.323 ms,0.287 ms,0.62,2562.5000,0.0000,0.0000,20.6 MB
1+
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,Ratio,Gen0,Allocated,Alloc Ratio
2+
Baseline,DefaultJob,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET 6.0,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,28.87 ms,0.441 ms,0.412 ms,1.00,2718.7500,21.8 MB,1.00
3+
Improved,DefaultJob,False,Default,Default,Default,Default,Default,Default,1111111111111111,Empty,RyuJit,Default,X64,8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c,.NET 6.0,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,23.64 ms,0.206 ms,0.193 ms,0.82,593.7500,4.85 MB,0.22

tests/Slugify.Core.Benchmarks/BenchmarkDotNet.Artifacts/results/Slugify.Core.Benchmarks.SlugifyBenchmarks-report.html

Lines changed: 8 additions & 8 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>Slugify.Core.Benchmarks.SlugifyBenchmarks-20200430-175237</title>
5+
<title>Slugify.Core.Benchmarks.SlugifyBenchmarks-20230222-214936</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.12.1, OS=Windows 10.0.18363.778 (1909/November2018Update/19H2)
16+
BenchmarkDotNet=v0.13.5, OS=Windows 11 (10.0.22621.1265/22H2/2022Update/SunValley2)
1717
Intel Core i9-9900K CPU 3.60GHz (Coffee Lake), 1 CPU, 16 logical and 8 physical cores
18-
.NET Core SDK=3.1.201
19-
[Host] : .NET Core 3.1.3 (CoreCLR 4.700.20.11803, CoreFX 4.700.20.12001), X64 RyuJIT
20-
DefaultJob : .NET Core 3.1.3 (CoreCLR 4.700.20.11803, CoreFX 4.700.20.12001), X64 RyuJIT
18+
.NET SDK=7.0.200
19+
[Host] : .NET 6.0.14 (6.0.1423.7309), X64 RyuJIT AVX2
20+
DefaultJob : .NET 6.0.14 (6.0.1423.7309), X64 RyuJIT AVX2
2121
</code></pre>
2222
<pre><code></code></pre>
2323

2424
<table>
25-
<thead><tr><th>Method</th><th>Mean</th><th>Error</th><th>StdDev</th><th>Ratio</th><th>Gen 0</th><th>Gen 1</th><th>Gen 2</th><th>Allocated</th>
25+
<thead><tr><th>Method</th><th>Mean</th><th>Error</th><th>StdDev</th><th>Ratio</th><th>Gen0</th><th>Allocated</th><th>Alloc Ratio</th>
2626
</tr>
27-
</thead><tbody><tr><td>Baseline</td><td>42.32 ms</td><td>0.045 ms</td><td>0.040 ms</td><td>1.00</td><td>3750.0000</td><td>-</td><td>-</td><td>30.57 MB</td>
28-
</tr><tr><td>Improved</td><td>26.14 ms</td><td>0.323 ms</td><td>0.287 ms</td><td>0.62</td><td>2562.5000</td><td>-</td><td>-</td><td>20.6 MB</td>
27+
</thead><tbody><tr><td>Baseline</td><td>28.87 ms</td><td>0.441 ms</td><td>0.412 ms</td><td>1.00</td><td>2718.7500</td><td>21.8 MB</td><td>1.00</td>
28+
</tr><tr><td>Improved</td><td>23.64 ms</td><td>0.206 ms</td><td>0.193 ms</td><td>0.82</td><td>593.7500</td><td>4.85 MB</td><td>0.22</td>
2929
</tr></tbody></table>
3030
</body>
3131
</html>

0 commit comments

Comments
 (0)