| # Licensed to the Apache Software Foundation (ASF) under one | |
| # or more contributor license agreements. See the NOTICE file | |
| # distributed with this work for additional information | |
| # regarding copyright ownership. The ASF licenses this file | |
| # to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance | |
| # with the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, | |
| # software distributed under the License is distributed on an | |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| # KIND, either express or implied. See the License for the | |
| # specific language governing permissions and limitations | |
| # under the License. | |
| [package] | |
| name = "datafusion-benchmarks" | |
| description = "DataFusion Benchmarks" | |
| version = { workspace = true } | |
| edition = { workspace = true } | |
| authors = { workspace = true } | |
| homepage = { workspace = true } | |
| repository = { workspace = true } | |
| license = { workspace = true } | |
| rust-version = { workspace = true } | |
| publish = false | |
| # Note: add additional linter rules in lib.rs. | |
| # Rust does not support workspace + new linter rules in subcrates yet | |
| # https://github.com/rust-lang/cargo/issues/13157 | |
| [lints] | |
| workspace = true | |
| [features] | |
| ci = [] | |
| default = ["mimalloc"] | |
| snmalloc = ["snmalloc-rs"] | |
| mimalloc_extended = ["libmimalloc-sys/extended"] | |
| [dependencies] | |
| arrow = { workspace = true } | |
| async-trait = "0.1" | |
| bytes = { workspace = true } | |
| clap = { version = "4.6.0", features = ["derive", "env", "string"] } | |
| criterion = { workspace = true, features = ["async_tokio", "html_reports"] } | |
| datafusion = { workspace = true, default-features = true } | |
| datafusion-common = { workspace = true, default-features = true } | |
| datafusion-common-runtime = { workspace = true } | |
| env_logger = { workspace = true } | |
| futures = { workspace = true } | |
| libmimalloc-sys = { version = "0.1", optional = true } | |
| log = { workspace = true } | |
| mimalloc = { version = "0.1", optional = true, default-features = false } | |
| object_store = { workspace = true } | |
| parquet = { workspace = true, default-features = true } | |
| rand = { workspace = true } | |
| regex.workspace = true | |
| serde = { version = "1.0.228", features = ["derive"] } | |
| serde_json = { workspace = true } | |
| snmalloc-rs = { version = "0.7", optional = true } | |
| tokio = { workspace = true, features = ["rt-multi-thread", "parking_lot"] } | |
| tokio-util = { version = "0.7.17" } | |
| toml = "1.1.3" | |
| [dev-dependencies] | |
| datafusion-proto = { workspace = true, features = ["parquet"] } | |
| tempfile = { workspace = true } | |
| tokio = { workspace = true, features = ["test-util"] } | |
| [[bench]] | |
| harness = false | |
| name = "sql" | |
| [[bench]] | |
| harness = false | |
| name = "parquet_pruning_setup_cache" |