hengfeiyang / zn-perf

Apache Parquet search performance experiments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build

# Enable all features supported by the current CPU:
RUSTFLAGS='-C target-cpu=native' cargo build --release

To see the features enabled by this RUSTFLAGS value, type

diff -u <(rustc --print cfg) <(rustc -C target-cpu=native --print cfg)

See also https://crates.io/crates/arrow#performance-tips

How to run benchmarks

Specify the path to parquet file via FILE environment variable, e.g.

FILE=data/k8slog1.parquet \
RUSTFLAGS='-C target-cpu=native' \
cargo bench

How to obtain parquet files

  1. Ask someone nicely 😉
  2. Generate a parquet file with tustvold/access-log-gen

About

Apache Parquet search performance experiments


Languages

Language:Rust 93.9%Language:Shell 6.1%