-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search by name using per-kind tables for Hack
Summary: Kind-oriented search for Hack. This will speed up the main source of slow queries for Hack. Reviewed By: phlalx Differential Revision: D66800015 fbshipit-source-id: 52009316fc1e5e7d833761cc63ab0aceaa572c50
- Loading branch information
1 parent
5efc1bb
commit 1a4844f
Showing
72 changed files
with
1,846 additions
and
1,479 deletions.
There are no files selected for viewing
5 changes: 2 additions & 3 deletions
5
glean/lang/codemarkup/tests/hack/cases/xrefs/search_insensitive_exact_exactkind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.NameLowerCase.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByLowerCaseName.6": 1, | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
5 changes: 2 additions & 3 deletions
5
glean/lang/codemarkup/tests/hack/cases/xrefs/search_insensitive_exact_nokind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.NameLowerCase.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByLowerCaseName.6": 1, | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
5 changes: 2 additions & 3 deletions
5
glean/lang/codemarkup/tests/hack/cases/xrefs/search_insensitive_prefix_exactkind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.NameLowerCase.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByLowerCaseName.6": 1, | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
7 changes: 3 additions & 4 deletions
7
glean/lang/codemarkup/tests/hack/cases/xrefs/search_insensitive_prefix_exactkindplus.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 2, | ||
"hack.DeclarationSpan.6": 2, | ||
"hack.NameLowerCase.6": 2, | ||
"hack.QName.6": 2 | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.SearchClassByLowerCaseName.6": 1, | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
5 changes: 2 additions & 3 deletions
5
glean/lang/codemarkup/tests/hack/cases/xrefs/search_insensitive_prefix_nokind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.NameLowerCase.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByLowerCaseName.6": 1, | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_exact.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_exact_exactkind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
6 changes: 2 additions & 4 deletions
6
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_exact_exactkindplus.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 2, | ||
"hack.DeclarationSpan.6": 2, | ||
"hack.Name.6": 2, | ||
"hack.QName.6": 2 | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_exact_lang.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_exact_lang_dontcare.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_exact_lang_exact_kind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_exact_multilang.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_exact_nokind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_prefix_exactkind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
6 changes: 2 additions & 4 deletions
6
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_prefix_exactkindplus.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 2, | ||
"hack.DeclarationSpan.6": 2, | ||
"hack.Name.6": 2, | ||
"hack.QName.6": 2 | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
4 changes: 1 addition & 3 deletions
4
glean/lang/codemarkup/tests/hack/cases/xrefs/search_sensitive_prefix_nokind.perf
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
{ | ||
"@generated": null, | ||
"facts_searched": { | ||
"hack.ClassDeclaration.6": 1, | ||
"hack.DeclarationSpan.6": 1, | ||
"hack.Name.6": 1, | ||
"hack.QName.6": 1 | ||
"hack.SearchClassByName.6": 1 | ||
}, | ||
"full_scans": [ ] | ||
} |
Oops, something went wrong.