File tree Expand file tree Collapse file tree
SystemTextJsonPatch.Benchmark
SystemTextJsonPatch.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 4.2.0
2+
3+ - Correctly handle key not found exception when applying patch document to dictionary https://github.com/Havunen/SystemTextJsonPatch/pull/40
4+ - Respect STJ options PropertyNameCaseInsensitive setting https://github.com/Havunen/SystemTextJsonPatch/pull/42
5+ - Internal dependencies updated
6+
17## 4.1.0
28
39- Adds .NET 9 support
Original file line number Diff line number Diff line change @@ -67,16 +67,16 @@ This test deserializes a JSON patch document of 8 operations and applies the cha
6767
6868See [ SystemTextJsonPatch.Benchmark] ( https://github.com/Havunen/SystemTextJsonPatch/tree/main/SystemTextJsonPatch.Benchmark ) for more details.
6969
70- BenchmarkDotNet v0.14.0, Windows 11 (10.0.22631.4460/23H2/2023Update/SunValley3 )
70+ BenchmarkDotNet v0.14.0, Windows 11 (10.0.26100.2605 )
7171AMD Ryzen 9 5950X, 1 CPU, 32 logical and 16 physical cores
72- .NET SDK 9.0.100
72+ .NET SDK 9.0.200-preview.0.24575.35
7373 [ Host] : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
74- Job-ZXROHW : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
74+ Job-ZCWSQV : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX2
7575
7676WarmupCount=2
7777
7878| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
7979| -------------------- | -----------:| -----------:| -----------:| -------:| -------:| ----------:|
80- | SystemTextJsonPatch | 3.641 us | 0.0168 us | 0.0149 us | 0.2747 | - | 4.63 KB |
81- | MarvinJsonPatch | 701.319 us | 13.7540 us | 16.8912 us | 3.9063 | 1.9531 | 95.3 KB |
82- | AspNetCoreJsonPatch | 14.871 us | 0.2871 us | 0.2820 us | 2.6245 | 0.0916 | 43.07 KB |
80+ | SystemTextJsonPatch | 3.909 us | 0.0616 us | 0.0576 us | 0.2747 | - | 4.63 KB |
81+ | MarvinJsonPatch | 741.280 us | 14.2699 us | 11.9160 us | 3.9063 | 1.9531 | 95.09 KB |
82+ | AspNetCoreJsonPatch | 15.268 us | 0.2227 us | 0.2084 us | 2.6245 | 0.0916 | 43.07 KB |
Original file line number Diff line number Diff line change 1212 <ItemGroup >
1313 <PackageReference Include =" BenchmarkDotNet" Version =" 0.14.0" />
1414 <PackageReference Include =" Marvin.JsonPatch" Version =" 2.2.1" />
15- <PackageReference Include =" Microsoft.AspNetCore.JsonPatch" Version =" 9.0.0 " />
15+ <PackageReference Include =" Microsoft.AspNetCore.JsonPatch" Version =" 9.0.1 " />
1616 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
1717 </ItemGroup >
1818
Original file line number Diff line number Diff line change 1515
1616 <ItemGroup >
1717 <PackageReference Include =" JUnitTestLogger" Version =" 1.1.0" />
18- <PackageReference Include =" Microsoft.Net.Test.Sdk" Version =" 17.11.1 " />
19- <PackageReference Include =" xunit" Version =" 2.9.2 " />
18+ <PackageReference Include =" Microsoft.Net.Test.Sdk" Version =" 17.12.0 " />
19+ <PackageReference Include =" xunit" Version =" 2.9.3 " />
2020 <!-- use latest NewtonSoft package, hides Microsoft.Net.Test.Sdk -> Microsoft.TestPlatform.TestHost refs NewtonSoft.Json >= 9.0 -->
2121 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
22- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.8.2 " >
22+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.0.1 " >
2323 <PrivateAssets >all</PrivateAssets >
2424 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2525 </PackageReference >
Original file line number Diff line number Diff line change 77 <GenerateDocumentationFile >true</GenerateDocumentationFile >
88 <PackageTags >aspnetcore;json;jsonpatch;system.text.json;rfc6902;</PackageTags >
99 <LangVersion >12</LangVersion >
10- <Version >4.1 .0</Version >
10+ <Version >4.2 .0</Version >
1111 <RepositoryUrl >https://github.com/Havunen/SystemTextJsonPatch.git</RepositoryUrl >
1212 <RepositoryType >git</RepositoryType >
1313 <AnalysisLevel >9.0-all</AnalysisLevel >
3636 </ItemGroup >
3737
3838 <ItemGroup Condition =" '$(targetframework)' == 'netstandard2.0'" >
39- <PackageReference Include =" System.Text.Json" Version =" 9.0.0 " />
39+ <PackageReference Include =" System.Text.Json" Version =" 9.0.1 " />
4040 </ItemGroup >
4141
4242 <ItemGroup >
You can’t perform that action at this time.
0 commit comments