Skip to content

Improve Parameter Validation By Using SchemaCache#3

Draft
its-hammer-time wants to merge 4 commits intoimplement-radix-tree-for-improved-lookupsfrom
perf/fix-parameter-schema-cache
Draft

Improve Parameter Validation By Using SchemaCache#3
its-hammer-time wants to merge 4 commits intoimplement-radix-tree-for-improved-lookupsfrom
perf/fix-parameter-schema-cache

Conversation

@its-hammer-time
Copy link
Owner

@its-hammer-time its-hammer-time commented Feb 6, 2026

Results
Benchmark Before After Improvement
GET Simple (time) 150.97us 22.33us 85% faster
GET Simple (memory) 116KB 23KB 80% less memory
GET Simple (allocs) 1,563 400 74% fewer allocs
GET w/ Query Params (memory) 162KB 17KB 90% less memory
BulkActions Medium (time) 120.81us 40.33us 67% faster
BulkActions Medium (memory) 101KB 42KB 59% less memory
All success criteria met:
  • Per-request memory reduced by 80%+ for GET requests (target was 50%)
  • Per-request memory reduced by 59%+ for POST requests (target was 30%)
  • All tests pass, no regressions
  • Zero risk: follows existing cache pattern, thread-safe, backward compatible

@its-hammer-time its-hammer-time force-pushed the implement-radix-tree-for-improved-lookups branch from 124aee1 to acfc668 Compare February 23, 2026 20:07
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