Repository navigation
perf(autocomplete): run completion requests off the main thread with no wait before them - #4601
Merged
Merged
Conversation
…no wait before them The request slept 50 ms, then ran analysis, candidate collection and every catalog read on the main actor. The provider is now Sendable with an @Concurrent session, the wait is gone, an open popup runs one refresh at a time and asks again for the newest caret, the trace begins on the key, and the per-key prefix read and trigger check stop copying the document. Closes #4539
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
LargeValueFunctionsin its curated metadata, replacingbinaryLengthFunction. KingbaseES keeps reading every value whole.varchar(255), stays a plain column. SQLite does not enforce declared sizes, so there it is deferred too.CASEexpression. Without it, external masking hid the whole column.Left for later, posted on #4525: query tabs, SQLite
readValueson macOS, and the head and cut flag in the columnar store (#4521).Test plan
UnloadedValuePlanTests: the select list per engine (MySQL text, PostgreSQL text, jsonb and bytea, SQLite text), which types are deferred, declared sizes, the fold keeping heads and the table's types, deferred origins.UnloadedValueWriteTests: an edit next to a cut text writes only the edited column by key, and loading the text replaces its head in the pre-image, for an update and for a delete.GridFindEngineTests: Replace All leaves a cut value alone.TableRowsUnloadedValueTests: the grid shows a cut text's head with an ellipsis.ConnectionEditorEngineIssueTestschanged on purpose: PostgreSQL now has the limit row, so the "engine without the row" case uses SQL Server.UnloadedValueReaderTests,UnloadedValueLoadTests,UnloadedValueExportTests,UnloadedValueFirstLoadTests,ColumnCatalogLoadTests,TableRowsSparseStateTests,DataGridEditingTests,InlineEditEligibilityTests,MaskingGridTests,MaskingExportTestsandSaveAttributionTests: all pass.big_cellstables.Closes #4525