Benchmark native backend production query shapes - #345
Draft
chubes4 wants to merge 10 commits into
Draft
Conversation
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
$wpdbimplementation in every decision workloadTracks #232.
Current Evidence
The first valid native custom-drop-in run passed end to end:
ca01608d-ad76-47d5-915a-2c7062f218b8homeboy bench --path <checkout> --placement local --rig mdi-native --scenario boot-timing --iterations 1 --warmup 0boot-timing, sourcein_tree34c5d1cWP_Markdown_Native_WPDB, enforced by fail-closed workload attestationThe workload had no boot phase/shared state and therefore only proves runtime selection and execution, not a meaningful performance comparison. Prior native timings collected before backend attestation are invalid because
WP_SQLite_DBremained active.The concurrent-read source contract is now present at
f4b02ce:$wpdbclass and executes the same boundedwp_usersquerytests/smoke-native-order.phpUpstream Repairs
custom-drop-insetup for pre-installdb.phpmountsexternal-http-loadbenchmark primitive required byconcurrent-readRemaining Work
concurrent-readagainst both attested backends after WP Codebox #2415 is available and Homeboy runtime admission recoversNOT EXISTSsupport before treatingwiki-hierarchyas comparableVerification
WP_Markdown_Native_WPDBandactivate_plugin(): okboot-timingHomeboy run passed with exact workload provenancephp tests/smoke-native-order.phpphp -l tests/bench-fixtures/concurrent-read-endpoint.phphomeboy rig showgit diff --checkAI Assistance
OpenAI GPT-5.6 Sol via OpenCode traced false backend selection and benchmark orchestration failures across MDI, WP Codebox, and Homeboy Extensions; implemented the fixture, attestation, and concurrent request changes; dispatched upstream repairs; and collected the available evidence under my direction.