Skip to content

Improve fragment bundle - #9

Merged
xinz merged 1 commit into
mainfrom
optimize
Sep 9, 2026
Merged

xinz merged 1 commit into
mainfrom
optimize

Conversation

@xinz

@xinz xinz commented Sep 9, 2026 •

Copy link
Copy Markdown
Owner

Improve fragment bundle:

  1. Void repeated descendant metadata indexing in fragment bundling;
  2. Improve fallback-anchor accumulation;
  3. Skip identity-only external-reference rewrites.

Synthetic bundling benchmarks—not general validation speedups:

Workload Before After
Nested schema, depth 400 43.67 ms 0.49 ms
2,000 repeated anchor candidates 32.88 ms 0.87 ms
Identity-alias payload, size 2,000 12.95 ms 0.69 ms
Actual-redirect payload, size 2,000 15.95 ms 16.03 ms

1. Void repeated descendant metadata indexing in fragment bundling;
2. Improve fallback-anchor accumulation;
3. Skip identity-only external-reference rewrites.
@xinz xinz changed the title Continue refactoring for performance optimization Improve fragment bundle Sep 9, 2026
@xinz
xinz merged commit 9273dc7 into main Sep 9, 2026
1 check passed
@xinz
xinz deleted the optimize branch September 9, 2026 16:08
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