Skip to content

Commit

Permalink
Remove some unused dependencies (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpschorr authored Oct 7, 2024
1 parent 010602f commit ee329ce
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion extension/partiql-extension-ddl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ time = { version = "0.3", features = ["formatting", "parsing", "serde"] }
indexmap = "2.5"

[dev-dependencies]
criterion = "0.5"

[features]
default = []
2 changes: 0 additions & 2 deletions extension/partiql-extension-ion-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ ordered-float = "4"
itertools = "0.13"
unicase = "2.7"
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }
rust_decimal_macros = "1.36"
ion-rs_old = { version = "0.18", package = "ion-rs" }
ion-rs = { version = "1.0.0-rc.7", features = ["experimental"] }
time = { version = "0.3", features = ["macros"] }
Expand All @@ -42,7 +41,6 @@ zstd = "0.13"
flate2 = "1.0"

[dev-dependencies]
criterion = "0.5"
partiql-parser = { path = "../../partiql-parser", version = "0.11.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.11.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.11.*" }
Expand Down
1 change: 0 additions & 1 deletion extension/partiql-extension-ion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ thiserror = "1.0"
delegate = "0.13"

[dev-dependencies]
criterion = "0.5"

[features]
default = []
1 change: 0 additions & 1 deletion extension/partiql-extension-value-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ bench = false
[dependencies]
partiql-value = { path = "../../partiql-value", version = "0.11.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.11.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.11.*" }

ordered-float = "4"
unicase = "2.6"
Expand Down
2 changes: 0 additions & 2 deletions partiql-ast-passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ partiql-catalog = { path = "../partiql-catalog", version = "0.11.*" }
partiql-common = { path = "../partiql-common", version = "0.11.*" }
partiql-types = { path = "../partiql-types", version = "0.11.*" }

assert_matches = "1"
fnv = "1"
indexmap = "2.5"
thiserror = "1.0"

[dev-dependencies]
partiql-parser = { path = "../partiql-parser", version = "0.11.*" }

[features]
default = []
1 change: 0 additions & 1 deletion partiql-conformance-test-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ edition.workspace = true
bench = false

[dependencies]
walkdir = "2.5"
ion-rs_old = { version = "0.18", package = "ion-rs" }
codegen = "0.2"
Inflector = "0.11"
Expand Down
2 changes: 0 additions & 2 deletions partiql-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ partiql-common = { path = "../partiql-common", version = "0.11.*" }
thiserror = "1.0"

num-traits = "0.2"
num-bigint = "0.4"
bigdecimal = "0.4"
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }

bitflags = "2"
Expand Down
3 changes: 0 additions & 3 deletions partiql-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ bench = false

[dependencies]
partiql-common = { path = "../partiql-common", version = "0.11.*" }
ordered-float = "4"
itertools = "0.13"
unicase = "2.7"

miette = { version = "7", features = ["fancy"] }
thiserror = "1"
Expand All @@ -34,4 +32,3 @@ indexmap = "2.5"
derivative = "2.2"

[dev-dependencies]
criterion = "0.5"
3 changes: 0 additions & 3 deletions partiql-value/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ rust_decimal = { version = "1.36.0", default-features = false, features = ["std"
rust_decimal_macros = "1.36"

time = { version = "0.3", features = ["macros"] }
once_cell = "1"
regex = "1.10"

serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
criterion = "0.5"

[features]
default = []
Expand Down

1 comment on commit ee329ce

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PartiQL (rust) Benchmark

Benchmark suite Current: ee329ce Previous: 010602f Ratio
arith_agg-avg 813580 ns/iter (± 2581) 772643 ns/iter (± 10671) 1.05
arith_agg-avg_distinct 874135 ns/iter (± 9462) 862425 ns/iter (± 11947) 1.01
arith_agg-count 834378 ns/iter (± 16561) 825442 ns/iter (± 17609) 1.01
arith_agg-count_distinct 868442 ns/iter (± 17108) 859663 ns/iter (± 4161) 1.01
arith_agg-min 839033 ns/iter (± 2413) 830355 ns/iter (± 3355) 1.01
arith_agg-min_distinct 877366 ns/iter (± 2075) 864502 ns/iter (± 4879) 1.01
arith_agg-max 843249 ns/iter (± 3262) 833467 ns/iter (± 5425) 1.01
arith_agg-max_distinct 884298 ns/iter (± 4461) 869713 ns/iter (± 4344) 1.02
arith_agg-sum 840443 ns/iter (± 2392) 827695 ns/iter (± 3084) 1.02
arith_agg-sum_distinct 874763 ns/iter (± 6113) 864752 ns/iter (± 9317) 1.01
arith_agg-avg-count-min-max-sum 989994 ns/iter (± 4709) 976093 ns/iter (± 3970) 1.01
arith_agg-avg-count-min-max-sum-group_by 1269607 ns/iter (± 14409) 1246191 ns/iter (± 16318) 1.02
arith_agg-avg-count-min-max-sum-group_by-group_as 1866397 ns/iter (± 32696) 1861769 ns/iter (± 23192) 1.00
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct 1304722 ns/iter (± 17259) 1236558 ns/iter (± 12999) 1.06
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by 1579541 ns/iter (± 8088) 1548479 ns/iter (± 12188) 1.02
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by-group_as 2174657 ns/iter (± 9232) 2168209 ns/iter (± 14688) 1.00
parse-1 6550 ns/iter (± 23) 5962 ns/iter (± 15) 1.10
parse-15 51925 ns/iter (± 142) 50695 ns/iter (± 82) 1.02
parse-30 100620 ns/iter (± 278) 98934 ns/iter (± 534) 1.02
compile-1 4303 ns/iter (± 69) 4375 ns/iter (± 22) 0.98
compile-15 32957 ns/iter (± 148) 33993 ns/iter (± 134) 0.97
compile-30 68246 ns/iter (± 972) 69493 ns/iter (± 330) 0.98
plan-1 67789 ns/iter (± 258) 70211 ns/iter (± 529) 0.97
plan-15 1064079 ns/iter (± 14587) 1091456 ns/iter (± 21025) 0.97
plan-30 2133480 ns/iter (± 10208) 2182836 ns/iter (± 12737) 0.98
eval-1 13005971 ns/iter (± 128446) 13461740 ns/iter (± 154819) 0.97
eval-15 89519147 ns/iter (± 401778) 90893714 ns/iter (± 444501) 0.98
eval-30 172390848 ns/iter (± 2300370) 174500670 ns/iter (± 499618) 0.99
join 9920 ns/iter (± 21) 9924 ns/iter (± 78) 1.00
simple 2618 ns/iter (± 6) 2509 ns/iter (± 15) 1.04
simple-no 487 ns/iter (± 1) 450 ns/iter (± 0) 1.08
numbers 48 ns/iter (± 0) 48 ns/iter (± 0) 1
parse-simple 932 ns/iter (± 6) 923 ns/iter (± 6) 1.01
parse-ion 2730 ns/iter (± 4) 2787 ns/iter (± 32) 0.98
parse-group 8067 ns/iter (± 17) 8032 ns/iter (± 19) 1.00
parse-complex 20886 ns/iter (± 51) 21034 ns/iter (± 47) 0.99
parse-complex-fexpr 28417 ns/iter (± 316) 28762 ns/iter (± 164) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.