perf: Evaluator, parser, sort, and strip optimizations (batch 4)#703
perf: Evaluator, parser, sort, and strip optimizations (batch 4)#703He-Pin wants to merge 1 commit intodatabricks:masterfrom
Conversation
Code ReviewI found several correctness issues in this PR: 1.
|
d6b3deb to
ccc2279
Compare
ccc2279 to
017a2b5
Compare
|
Closing: this batch PR has complex merge conflicts with 14+ upstream changes that were merged since it was created. The individual optimizations it contains are covered by separate focused PRs (#691, #692, #693, #694, #697) which have been rebased and are up to date. Batch PRs are harder to review and more fragile during rebases. |
Motivation
Multiple independent micro-optimizations in the evaluator, parser, sort, and strip operations that together provide measurable improvement across benchmarks.
Key Design Decision
Batch together several complementary optimizations:
Modification
Benchmark Results
JMH (JVM, 3 iterations)
Analysis
References
he-pin/sjsonnetjit branch, multiple evaluator optimization commitsResult
Broad -9% to -18% JVM improvement across all key benchmarks via batched micro-optimizations.