-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds
PartiqlShapeBuilder
with NodeId
generation for the `StaticTy…
…pe` (#485) * Adds `NodeId` to the `StaticType` This PR - adds `NodeId` to `StaticType`; this is to be able to use the `id` as a reference to add additional data to the types out of band. - makes `AutoNodeIdGenerator` thread-safe - adds `PartiqlShapeBuilder` and moves some `PartiqlShape` APIs to it; this is to be able to generate unique `NodeId`s for a `PartiqlShape` that includes static types that themselves can include other static types. - adds a static thread safe `shape_builder` function that provides a convenient way for using `PartiqlShapeBuilder` for creating new shapes. - prepends existing type macros with `type` such as `type_int!` to make macro names more friendly. - removes `const` PartiQL types under `partiql-types` in favor of `PartiqlShapeBuilder`. **_The majority of the diffs are related to the macro renames or replacement with the previous `const` types. The main change is in `partiql-types/src/lib.rs` file._**
- Loading branch information
Showing
16 changed files
with
714 additions
and
483 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "partiql-conformance-tests/partiql-tests"] | ||
path = partiql-conformance-tests/partiql-tests | ||
url = git@github.com:partiql/partiql-tests.git | ||
url = https://github.com/partiql/partiql-tests.git |
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.
7203852
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.
PartiQL (rust) Benchmark
arith_agg-avg
761989
ns/iter (± 2584
)775198
ns/iter (± 34461
)0.98
arith_agg-avg_distinct
856629
ns/iter (± 2352
)856544
ns/iter (± 5154
)1.00
arith_agg-count
813071
ns/iter (± 16235
)820861
ns/iter (± 18988
)0.99
arith_agg-count_distinct
849796
ns/iter (± 3499
)852867
ns/iter (± 4970
)1.00
arith_agg-min
817287
ns/iter (± 12938
)827041
ns/iter (± 2639
)0.99
arith_agg-min_distinct
854925
ns/iter (± 1637
)860210
ns/iter (± 10560
)0.99
arith_agg-max
828374
ns/iter (± 15165
)835593
ns/iter (± 3961
)0.99
arith_agg-max_distinct
863610
ns/iter (± 3061
)864949
ns/iter (± 4270
)1.00
arith_agg-sum
817340
ns/iter (± 4491
)824926
ns/iter (± 1621
)0.99
arith_agg-sum_distinct
857382
ns/iter (± 5483
)857067
ns/iter (± 1983
)1.00
arith_agg-avg-count-min-max-sum
962352
ns/iter (± 2579
)968375
ns/iter (± 8380
)0.99
arith_agg-avg-count-min-max-sum-group_by
1184994
ns/iter (± 37004
)1204293
ns/iter (± 13453
)0.98
arith_agg-avg-count-min-max-sum-group_by-group_as
1802258
ns/iter (± 23102
)1801364
ns/iter (± 31255
)1.00
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct
1258025
ns/iter (± 50557
)1229000
ns/iter (± 13263
)1.02
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by
1517674
ns/iter (± 8829
)1508448
ns/iter (± 9427
)1.01
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by-group_as
2111719
ns/iter (± 14340
)2098733
ns/iter (± 10245
)1.01
parse-1
5949
ns/iter (± 77
)5619
ns/iter (± 23
)1.06
parse-15
49885
ns/iter (± 225
)48240
ns/iter (± 118
)1.03
parse-30
100431
ns/iter (± 280
)93707
ns/iter (± 250
)1.07
compile-1
4345
ns/iter (± 30
)4326
ns/iter (± 10
)1.00
compile-15
33556
ns/iter (± 98
)33011
ns/iter (± 270
)1.02
compile-30
69779
ns/iter (± 296
)68472
ns/iter (± 296
)1.02
plan-1
67795
ns/iter (± 269
)66983
ns/iter (± 261
)1.01
plan-15
1047210
ns/iter (± 9506
)1047620
ns/iter (± 5242
)1.00
plan-30
2098549
ns/iter (± 5644
)2101187
ns/iter (± 26131
)1.00
eval-1
12755601
ns/iter (± 45848
)13463456
ns/iter (± 113930
)0.95
eval-15
86481769
ns/iter (± 851403
)91368497
ns/iter (± 276047
)0.95
eval-30
166749677
ns/iter (± 551437
)174268173
ns/iter (± 529438
)0.96
join
9733
ns/iter (± 210
)9998
ns/iter (± 152
)0.97
simple
2478
ns/iter (± 76
)2479
ns/iter (± 11
)1.00
simple-no
435
ns/iter (± 1
)428
ns/iter (± 5
)1.02
numbers
57
ns/iter (± 0
)57
ns/iter (± 0
)1
parse-simple
901
ns/iter (± 4
)717
ns/iter (± 5
)1.26
parse-ion
2510
ns/iter (± 26
)2263
ns/iter (± 5
)1.11
parse-group
7341
ns/iter (± 55
)7145
ns/iter (± 31
)1.03
parse-complex
19828
ns/iter (± 92
)18704
ns/iter (± 58
)1.06
parse-complex-fexpr
27149
ns/iter (± 181
)25839
ns/iter (± 81
)1.05
This comment was automatically generated by workflow using github-action-benchmark.