Add tracelite profiling hooks and production gate#109
Draft
danReynolds wants to merge 1 commit into
Draft
Conversation
Owner
Author
|
Updated this PR with the second parity slice for tracelite-as-profile-replacement:
Local validation:
CI for head c581acd is green: Tests, generated benchmark freshness, and raw-profile-JSON guard all passed. Remaining migration blocker is not raw signal capture anymore. It is export/workflow compatibility: tracelite still needs a workload-summary JSON/report path for old fields like noop-floor subtraction, work_us, RSS deltas, and many-streams fanout-delta tables before we delete the old profile JSON/diff machinery. |
Owner
Author
|
Parity update after a519408:
This closes the parity gap I found earlier: remaining follow-up is migration cleanup, not signal/export discovery. |
0cc7bf9 to
4b6e915
Compare
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
RESQLITE_PROFILE+RESQLITE_TRACELITE, with no runtime attach unless a trace region is configured.trace_sqlitenative-asset hook support plus a CI smoke fixture that verifies the embedded sqlite3mc shim/runtime path without requiring a sibling tracelite checkout.benchmark/profile/run_tracelite_profile.dart, the parity workflow that creates a tracelite region, runs the legacy profile harness with tracing enabled, exportsworkload-summaryand graph data, validates the graph-data bundle, and writes a parity diff against the legacy profile JSON.benchmark/run_tracelite.dart, the resqlite pre-publish gate overtracelite suite-history, scoped to the calibrated measured-elapsed release gate and optional dashboard graph-data export.docs/.TRACELITE_REGIONare present.Notes
point-selectandkeyed-pk-subscriptionsremain diagnostic for the release gate until their current variance fits below the 50% threshold ceiling.Validation
/Users/dan/Coding/flutter_arm64/bin/dart pub get/Users/dan/Coding/flutter_arm64/bin/dart run build_runner build --delete-conflicting-outputs/Users/dan/Coding/flutter_arm64/bin/dart analyze/Users/dan/Coding/flutter_arm64/bin/dart test --timeout 60s/Users/dan/Coding/flutter_arm64/bin/dart test test/tracelite_profile_test.dart test/tracelite_profile_workflow_test.dart test/tracelite_benchmark_workflow_test.dart/Users/dan/Coding/flutter_arm64/bin/dart run tool/trace_sqlite_smoke.dart/Users/dan/Coding/flutter_arm64/bin/dart run benchmark/check_generated_data.dart/Users/dan/Coding/flutter_arm64/bin/dart run benchmark/check_experiment_signals.dartnode -e "const fs=require('fs');const html=fs.readFileSync('docs/benchmarks/index.html','utf8');const scripts=[...html.matchAll(/<script>([\\s\\S]*?)<\\/script>/g)].map(m=>m[1]).join('\\n');new Function(scripts);console.log('dashboard script syntax ok')"/Users/dan/Coding/flutter_arm64/bin/dart run benchmark/profile/run_tracelite_profile.dart --tracelite-root=/Users/dan/Coding/tracelite --dart=/Users/dan/Coding/flutter_arm64/bin/dart --label=codex-production-readiness-smoke --out-dir=/tmp/resqlite-tracelite-profile-production-readiness --graph-data-dir=/tmp/resqlite-tracelite-profile-production-pagesparity-diff.txtreported 0 deltas for workload timings, memory deltas, SQLite diagnostics, and noop floors between legacy profile JSON and tracelite workload summary.tracelite validate-graph-datapassed;index.jsonreported 4workload_summaryrows, 41workload_operationsrows, and 132workload_memoryrows./Users/dan/Coding/flutter_arm64/bin/dart benchmark/run_tracelite.dart --tracelite-root=/Users/dan/Coding/tracelite --dart=/Users/dan/Coding/flutter_arm64/bin/dart --label=codex-gate-smoke --out-dir=/tmp/resqlite-tracelite-gate-smoke-real --graph-data-dir=/tmp/resqlite-tracelite-gate-smoke-pages --runs=1 --interfaces=resqlite --policy-peers=resqlite --policy-scenarios=narrow-batch-insert --policy-metric=measured_elapsed_ns --min-repetitions=1 --max-repetitions=2 --target-rse-percent=100 --threshold-floor-percent=5 --threshold-ceiling-percent=100 --noise-gate-floor-percent=5 --noise-gate-ceiling-percent=100 --no-strictsuite-historycompleted with run statusok, policy statusready, and graph-data export wrote 1400scenario_seriesrows plus 10peer_summaryrows.