-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Query API] Clean-Up Query Definitions (#1065)
* refactor: basic SupportedQueries registry structure * feat: allow registering an ascii summarizer for a query directly * refactor: include query schemas in query definitions * feat-fix: fixed meta queries being included in print * refactor: move query defs into their own files
- Loading branch information
Showing
11 changed files
with
212 additions
and
138 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
0fb4c89
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"artificial" Benchmark Suite
Retrieve AST from R code
242.58943245454546
ms (104.56651762412716
)246.50067822727272
ms (108.0778534921102
)0.98
Normalize R AST
17.73581309090909
ms (32.527363715907676
)17.822801272727272
ms (32.47501104567212
)1.00
Produce dataflow information
39.703889909090904
ms (86.37101360427793
)40.41399131818182
ms (86.99830114822697
)0.98
Total per-file
824.6891270454545
ms (1494.9985372112235
)829.6500495454545
ms (1498.0426737610057
)0.99
Static slicing
2.052650232245993
ms (1.2133766800485262
)2.0971564864344034
ms (1.2085738336418979
)0.98
Reconstruct code
0.2312634388241616
ms (0.17675075091119086
)0.24421041798721546
ms (0.1931884846808244
)0.95
Total per-slice
2.298858309335852
ms (1.278605960482032
)2.356082671207842
ms (1.2841644653561477
)0.98
failed to reconstruct/re-parse
0
#0
#1
times hit threshold
0
#0
#1
reduction (characters)
0.7869360165281424
#0.7869360165281424
#1
reduction (normalized tokens)
0.7639690077689504
#0.7639690077689504
#1
memory (df-graph)
95.46617542613636
KiB (244.77619956879823
)95.46617542613636
KiB (244.77619956879823
)1
This comment was automatically generated by workflow using github-action-benchmark.
0fb4c89
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"social-science" Benchmark Suite
Retrieve AST from R code
252.41028164
ms (47.04610482443627
)239.76002830000002
ms (44.476154875177215
)1.05
Normalize R AST
19.7371189
ms (15.699432895929682
)19.04045506
ms (14.770405721401682
)1.04
Produce dataflow information
77.00090884000001
ms (92.01566709180948
)74.39786466
ms (87.80796950166253
)1.03
Total per-file
7835.06353164
ms (29166.121590012757
)7666.33215246
ms (28737.408915639426
)1.02
Static slicing
16.162837690289233
ms (44.61512226720604
)15.907723437298863
ms (43.83669809749617
)1.02
Reconstruct code
0.29575570313164307
ms (0.1673812060121803
)0.2509487217116593
ms (0.14943631432024615
)1.18
Total per-slice
16.467127194681055
ms (44.64656827987436
)16.166379499642126
ms (43.873427530614464
)1.02
failed to reconstruct/re-parse
0
#0
#1
times hit threshold
0
#0
#1
reduction (characters)
0.8712997340230448
#0.8712997340230448
#1
reduction (normalized tokens)
0.8102441553774778
#0.8102441553774778
#1
memory (df-graph)
99.8990234375
KiB (113.72812769327498
)99.8990234375
KiB (113.72812769327498
)1
This comment was automatically generated by workflow using github-action-benchmark.