sunchao / parquet-rs

Apache Parquet implementation in Rust
Apache License 2.0
149 stars 20 forks source link

Add benchmark for file reader #147

Closed sadikovi closed 6 years ago

sadikovi commented 6 years ago

This PR adds benchmark for file reader/record iterator. We test 10k-v2.parquet file. Current results on my machine are:

running 1 test
test record_reader_10k_collect ... bench:  45,931,668 ns/iter (+/- 13,826,371) = 14 MB/s

This benchmark is the first step towards understanding the read performance problem, which is tracked in #140.

This PR depends on #146 work, otherwise it fails with not being able to read fixed length byte arrays.

sadikovi commented 6 years ago

@sunchao could you please review? Thanks!

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 587


Totals Coverage Status
Change from base Build 580: 0.0%
Covered Lines: 11389
Relevant Lines: 11932

💛 - Coveralls