Skip to content

Commit

Permalink
v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Havunen committed Nov 14, 2023
1 parent 78cc980 commit 4fda18c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.1.0
- Added .NET 8 target framework

## 3.0.1
- All invalid patch operations now correctly throw JsonPatchTestOperationException and malformed patch documents throw JsonPatchException

Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ This test deserializes a JSON patch document of 8 operations and applies the cha

See [SystemTextJsonPatch.Benchmark](https://github.com/Havunen/SystemTextJsonPatch/tree/main/SystemTextJsonPatch.Benchmark) for more details.

BenchmarkDotNet v0.13.7, Windows 11 (10.0.22621.2134/22H2/2022Update/SunValley2)
BenchmarkDotNet v0.13.10, Windows 11 (10.0.22621.2428/22H2/2022Update/SunValley2)
AMD Ryzen 9 5950X, 1 CPU, 32 logical and 16 physical cores
.NET SDK 8.0.100-preview.7.23376.3
[Host] : .NET 7.0.9 (7.0.923.32018), X64 RyuJIT AVX2
Job-TMETTY : .NET 7.0.9 (7.0.923.32018), X64 RyuJIT AVX2
.NET SDK 8.0.100
[Host] : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX2
Job-NISUXQ : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX2

WarmupCount=2

| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
|-------------------- |-----------:|-----------:|-----------:|-------:|-------:|----------:|
| SystemTextJsonPatch (v3.0.0) | 4.953 us | 0.0277 us | 0.0259 us | 0.2899 | - | 4.83 KB |
| MarvinJsonPatch (v2.2.1) | 909.176 us | 17.4292 us | 18.6490 us | 5.8594 | 3.9063 | 96.14 KB |
| AspNetCoreJsonPatch (v7.0.10) | 24.742 us | 0.3156 us | 0.2952 us | 2.6550 | 0.0610 | 43.61 KB |
| Method | Mean | Error | StdDev | Gen0 | Gen1 | Allocated |
|-------------------- |-----------:|----------:|----------:|-------:|-------:|----------:|
| SystemTextJsonPatch 3.1.0 | 4.043 us | 0.0122 us | 0.0109 us | 0.2899 | - | 4.81 KB |
| MarvinJsonPatch 2.2.1 | 745.778 us | 6.4053 us | 6.2909 us | 3.9063 | 1.9531 | 95.53 KB |
| AspNetCoreJsonPatch 8.0.0 | 16.294 us | 0.0653 us | 0.0611 us | 2.6550 | 0.0610 | 43.61 KB |
4 changes: 2 additions & 2 deletions SystemTextJsonPatch/SystemTextJsonPatch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageTags>aspnetcore;json;jsonpatch;system.text.json;rfc6902;</PackageTags>
<LangVersion>11</LangVersion>
<Version>3.0.1</Version>
<LangVersion>12</LangVersion>
<Version>3.1.0</Version>
<RepositoryUrl>https://github.com/Havunen/SystemTextJsonPatch.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<AnalysisLevel>6.0-all</AnalysisLevel>
Expand Down

0 comments on commit 4fda18c

Please sign in to comment.