Skip to content

[00050] Fix VeryLargeStateTree payload size to match documented ~2MB target#17

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

[00050] Fix VeryLargeStateTree payload size to match documented ~2MB target#17
rorychatt merged 1 commit into
mainfrom
plan-00050-Ivy.NativeJsonDiff

Conversation

@rorychatt

Copy link
Copy Markdown
Collaborator

Summary

Increased the skills-per-employee count from 10 to 22 in both the C# GenerateVeryLargeStateTree() method and the Rust generate_very_large_state_tree() benchmark function. This brings the serialized payload size from ~944KB to the documented ~2MB target. Updated the test assertion bounds from 500KB-5MB to 1.5MB-3MB to validate the new size range.

API Changes

None.

Files Modified

  • Generator: src/Ivy.NativeJsonDiff.Benchmarks/TestData/JsonPayloadGenerator.cs — skills loop 10→22, comment updated
  • Tests: src/Ivy.NativeJsonDiff.Tests/JsonPayloadGeneratorTests.cs — assertion bounds tightened to 1.5MB-3MB
  • Rust benchmarks: src/RustServer/benches/diff_bench.rs — skills loop 10→22

Commits

…MB target

Update C# generator, Rust benchmark generator, and test assertions to match
the documented ~2MB payload size target.
@rorychatt
rorychatt merged commit 4e7672f into main Apr 12, 2026
2 checks passed
@rorychatt
rorychatt deleted the plan-00050-Ivy.NativeJsonDiff branch April 12, 2026 11:03
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