Skip to content

[00038] Add JsonPatch.Net as fourth competitor in JsonApplyBenchmarks#14

Merged
rorychatt merged 1 commit into
mainfrom
plan-00038-Ivy.NativeJsonDiff
Apr 12, 2026
Merged

[00038] Add JsonPatch.Net as fourth competitor in JsonApplyBenchmarks#14
rorychatt merged 1 commit into
mainfrom
plan-00038-Ivy.NativeJsonDiff

Conversation

@rorychatt

Copy link
Copy Markdown
Collaborator

Summary

Added JsonPatch.Net (Json.Patch) as a fourth competitor in JsonApplyBenchmarks.cs, alongside NativeJsonDiff, JsonDiffPatchDotNet, and SystemTextJsonDiffPatch. The library was already a dependency and used in diff benchmarks — this adds the apply-patch benchmark using the same RFC 6902 patch format as NativeJsonDiff.

API Changes

None. This adds a benchmark method only — no public API changes.

Files Modified

  • Benchmarks: src/Ivy.NativeJsonDiff.Benchmarks/Benchmarks/JsonApplyBenchmarks.cs — Added using Json.Patch;, two new fields (_oldNodeForPatchNet, _patchNetPatch), setup logic in GlobalSetup(), and the JsonPatchNet() benchmark method.

Commits

  • b01851a [00038] Add JsonPatch.Net as fourth competitor in JsonApplyBenchmarks

@rorychatt
rorychatt merged commit a82b217 into main Apr 12, 2026
1 of 2 checks passed
@rorychatt
rorychatt deleted the plan-00038-Ivy.NativeJsonDiff branch April 12, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant