Repository navigation
Conversation
Contributor
Author
|
Closing in favor of #3840, which covers the same routine-listing performance fix and also addresses long parameter signatures, case-sensitive schema filtering, and MariaDB package filtering. The measurements and reproduction notes here remain available as supporting evidence. Keeping the branch and commits for reference. |
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
Test plan
MySQL 5.6.51, three databases, 503 routines in the selected database, three rounds using the actual Swift builders and merge:
All 503 rows match on both servers, including no-argument routines and same-name procedures/functions. A separate fixture checks case-distinct schema signatures. MariaDB used the same probe with its image/platform/readiness marker substituted. With 9 routines, the extra read costs more: 0.147–0.174 s versus 0.080–0.100 s. Timings include Docker CLI overhead, not UI rendering.
Reproduce:
python3 apple/scripts/probes/check-mysql-routine-listing.py --base c8512d092. It removes its container and volume.136 MySQLCore tests pass in an isolated SwiftPM harness using the repository's module sources, test sources and compiler settings. The catalog regression test fails with the old routineList implementation restored in a separate copy.
MySQLDriver unsigned build and lint pass. A native plugin smoke test fetched 503 routines in 84 ms; the server log records exactly two catalog reads, then one SHOW CREATE only when explicitly requested. Independent Codex review found no remaining actionable issues.
Local Xcode 26.3: the normal package test command stops before tests at unchanged TabularSorter.swift:168; full app build lacks upstream signing profiles. AllPlugins stops at unchanged SQLitePlugin.swift:190–192 (closure captures backend before declaration). No claim of reproducing an indefinite UI freeze.
Fixes #3835