Repository navigation
xpp-lens 1.3.2 - #3
Merged
Merged
Conversation
- xpp_extensions: the CoC details of each extension class looked up refs by object_id, which has no index - now through file_id (indexed); SalesTable 9.2 s -> 0.5 s warm - partial covering index on members for table relations (xpp_join reads all of them)
- model filters take 'A;B*' lists everywhere (SQL function xl_model) - xpp_find splits 'Table.Extension.Field' after the extension object - xpp_method with only lines shows those lines of the object's file - examples in README, install.ps1 and the CLI help use Contoso
### Fixed - The `model` filter of `xpp_find`, `xpp_refs`, `xpp_changed` and `property=` listings took one name only: a list such as `model="Contoso;Fabrikam*"` matched nothing and the answer was empty. All of them now take names separated by `;` with `*` and `?`, like `xpp_grep` already did. - `xpp_find "Table.Extension.Field"` split the name at the first dot and found nothing; a field added in a named extension (`CustTable.ContosoExtension.MyField`) is now found. - `xpp_method` with only `lines` (no method) returned nothing; it now shows those lines of the object's file and the methods they belong to — the way to read a spot named by a build error or a grep hit. ### Changed - `xpp_extensions` is several times faster for objects with many extension classes (measured warm: `SalesTable` 9.2 s → 0.5 s, `VendTable` 5.1 s → 1.8 s): the Chain of Command details of each extension class were looked up by a column without an index, which read the whole reference table once per extension class. - `xpp_join` reads the table relations from a small index of its own instead of the whole member table (the first call of a server and every CLI call: 1.3 s → 0.65 s); the index is built once, in a few seconds.
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.
Fixed
modelfilter ofxpp_find,xpp_refs,xpp_changedandproperty=listings took one name only: a listsuch as
model="Contoso;Fabrikam*"matched nothing and the answer was empty. All of them now take names separatedby
;with*and?, likexpp_grepalready did.xpp_find "Table.Extension.Field"split the name at the first dot and found nothing; a field added in a namedextension (
CustTable.ContosoExtension.MyField) is now found.xpp_methodwith onlylines(no method) returned nothing; it now shows those lines of the object's file and themethods they belong to — the way to read a spot named by a build error or a grep hit.
Changed
xpp_extensionsis several times faster for objects with many extension classes (measured warm:SalesTable9.2 s → 0.5 s,
VendTable5.1 s → 1.8 s): the Chain of Command details of each extension class were looked upby a column without an index, which read the whole reference table once per extension class.
xpp_joinreads the table relations from a small index of its own instead of the whole member table (the firstcall of a server and every CLI call: 1.3 s → 0.65 s); the index is built once, in a few seconds.