Skip to content

Commit

Permalink
Add full page indexes to Parquet writer benchmarks (#11955)
Browse files Browse the repository at this point in the history
Adds `statistics_freq::STATISTICS_COLUMN` to list of parquet writer options to benchmark.  This should have been included in #11302.

Authors:
  - Ed Seidl (https://github.com/etseidl)

Approvers:
  - Nghia Truong (https://github.com/ttnghia)
  - Karthikeyan (https://github.com/karthikeyann)

URL: #11955
  • Loading branch information
etseidl authored Nov 2, 2022
1 parent 49fc3c7 commit 856ac3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/benchmarks/io/parquet/parquet_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ NVBENCH_DECLARE_ENUM_TYPE_STRINGS(
case cudf::io::statistics_freq::STATISTICS_NONE: return "STATISTICS_NONE";
case cudf::io::statistics_freq::STATISTICS_ROWGROUP: return "STATISTICS_ROWGROUP";
case cudf::io::statistics_freq::STATISTICS_PAGE: return "STATISTICS_PAGE";
case cudf::io::statistics_freq::STATISTICS_COLUMN: return "STATISTICS_COLUMN";
default: return "Unknown";
}
},
Expand Down Expand Up @@ -201,6 +202,7 @@ using compression_list =

using stats_list = nvbench::enum_type_list<cudf::io::STATISTICS_NONE,
cudf::io::STATISTICS_ROWGROUP,
cudf::io::STATISTICS_COLUMN,
cudf::io::STATISTICS_PAGE>;

NVBENCH_BENCH_TYPES(BM_parq_write_encode, NVBENCH_TYPE_AXES(d_type_list))
Expand Down

0 comments on commit 856ac3f

Please sign in to comment.