# 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
Specify the path to parquet file via FILE
environment variable, e.g.
FILE=data/k8slog1.parquet \
RUSTFLAGS='-C target-cpu=native' \
cargo bench
- Ask someone nicely 😉
- Generate a parquet file with
tustvold/access-log-gen