Skip to content

Commit

Permalink
nuget cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ctolkien committed Feb 22, 2023
1 parent c4d5637 commit d480e12
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 28 deletions.
26 changes: 17 additions & 9 deletions src/Slugify.Core/Slugify.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@
<PropertyGroup>
<AssemblyTitle>Slugify Core</AssemblyTitle>

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

</PropertyGroup>

<!-- Deterministic builds -->
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
``` ini

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


```
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
|--------- |---------:|---------:|---------:|------:|----------:|------:|------:|----------:|
| Baseline | 42.32 ms | 0.045 ms | 0.040 ms | 1.00 | 3750.0000 | - | - | 30.57 MB |
| Improved | 26.14 ms | 0.323 ms | 0.287 ms | 0.62 | 2562.5000 | - | - | 20.6 MB |
| Method | Mean | Error | StdDev | Ratio | Gen0 | Allocated | Alloc Ratio |
|--------- |---------:|---------:|---------:|------:|----------:|----------:|------------:|
| Baseline | 28.87 ms | 0.441 ms | 0.412 ms | 1.00 | 2718.7500 | 21.8 MB | 1.00 |
| Improved | 23.64 ms | 0.206 ms | 0.193 ms | 0.82 | 593.7500 | 4.85 MB | 0.22 |
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
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
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
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
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
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
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang='en'>
<head>
<meta charset='utf-8' />
<title>Slugify.Core.Benchmarks.SlugifyBenchmarks-20200430-175237</title>
<title>Slugify.Core.Benchmarks.SlugifyBenchmarks-20230222-214936</title>

<style type="text/css">
table { border-collapse: collapse; display: block; width: 100%; overflow: auto; }
Expand All @@ -13,19 +13,19 @@
</head>
<body>
<pre><code>
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.18363.778 (1909/November2018Update/19H2)
BenchmarkDotNet=v0.13.5, OS=Windows 11 (10.0.22621.1265/22H2/2022Update/SunValley2)
Intel Core i9-9900K CPU 3.60GHz (Coffee Lake), 1 CPU, 16 logical and 8 physical cores
.NET Core SDK=3.1.201
[Host] : .NET Core 3.1.3 (CoreCLR 4.700.20.11803, CoreFX 4.700.20.12001), X64 RyuJIT
DefaultJob : .NET Core 3.1.3 (CoreCLR 4.700.20.11803, CoreFX 4.700.20.12001), X64 RyuJIT
.NET SDK=7.0.200
[Host] : .NET 6.0.14 (6.0.1423.7309), X64 RyuJIT AVX2
DefaultJob : .NET 6.0.14 (6.0.1423.7309), X64 RyuJIT AVX2
</code></pre>
<pre><code></code></pre>

<table>
<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>
<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>
</tr>
</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>
</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>
</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>
</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>
</tr></tbody></table>
</body>
</html>

0 comments on commit d480e12

Please sign in to comment.