Skip to content

Conversation

@chaokunyang
Copy link
Collaborator

@chaokunyang chaokunyang commented Feb 4, 2026

Why?

Improve schema evolution/compatible mode throughput by reducing type-meta lookup overhead and enabling fast-path reads when schemas match, and extend benchmarks to cover list workloads.

What does this PR do?

  • C++: optimize compatible-mode type-meta sharing/caching and add a fast-path struct read when schema hashes match; align benchmarks with field tags and compatible mode.
  • Go: speed up compatible-mode type-meta sharing (uintptr key + first-type fast path), cache TypeInfo for struct/pointer fields and typedefs, and extend benchmarks/reporting for list workloads.
  • Rust: add schema hash and fast type/meta lookup caches, use a faster vec reader and type-info path, and tag benchmark models + add a benchmark runner script.

Related issues

#1017
#2906
#2982

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change?
  • Does this PR introduce any binary protocol compatibility change?

Benchmark

@chaokunyang chaokunyang force-pushed the optimize_compatible_mode_perf branch from be58665 to 20ef1d3 Compare February 4, 2026 10: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.

2 participants