@W-23599590 Add CLI runner to DataWeave native benchmark harness - #143
Merged
Conversation
mlischetti
reviewed
Jul 27, 2026
mlischetti
approved these changes
Jul 27, 2026
mlischetti
requested changes
Jul 27, 2026
mlischetti
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
benchmarks/runners/cli/) measuring the shippeddwnative CLI binary, completing the cross-surface comparison alongside the Node/Python FFI wrappers and JVM engine baselineBenchmarkHarnessinsidenative-cli(enabled only under-Pbenchmark=true; GraalVM tree-shakes it from the production binary when disabled) with a parent/child READY-marker protocol for truecold-start,first-run, andwarmmetricsbenchmarkCliGradle task auto-discovered by the rootbenchmarkCompareaggregator — no changes to the schema, report, or aggregator requiredTest plan
./gradlew native-cli:test— 7 newBenchmarkHarnessTestScala tests pass./gradlew native-lib:test -PskipNodeTests=false— 2 new JS parity tests (locate.test.mjs,emit.test.mjs) pass without a binary./gradlew native-cli:benchmarkCli -Pbenchmark=true— runs end-to-end, writesbenchmarks/results/cli-<ts>.jsonconforming toschema/result.schema.json./gradlew benchmarkCompare -Pbenchmark=true— unified report includes CLI runner alongside existing three./gradlew build(no-Pbenchmark) — productiondwbinary contains no reachable benchmark code