jecsand838 opened a new pull request, #8025: URL: https://github.com/apache/arrow-rs/pull/8025
# Which issue does this PR close? - Part of https://github.com/apache/arrow-rs/issues/4886 # Rationale for this change This change introduces a comprehensive benchmark suite for the `arrow-avro` decoder. Having robust benchmarks is crucial for several reasons: - It allows for the measurement and tracking of decoding performance over time. - It helps identify performance regressions or improvements as the codebase evolves. - It provides a standardized way to evaluate the impact of optimizations and new features. # What changes are included in this PR? This PR adds a new benchmark file: `arrow-avro/benches/decoder.rs`. The key components of this new file are: - **Comprehensive Type Coverage**: Adds benchmark scenarios for a wide range of data types, including: - Primitive types (`Int32`, `Int64`, `Float32`, `Float64`, `Boolean`) - Binary and String types (`Binary(Bytes)`, `String`, `StringView`) - Logical types (`Date32`, `TimeMillis`, `TimeMicros`, `TimestampMillis`, `TimestampMicros`, `Decimal128`, `UUID`, `Interval`, `Enum`) - Complex types (`Map`, `Array`, `Nested(Struct)`) - `FixedSizeBinary` - A `Mixed` schema with multiple fields - Update to criterion 7.0.0 - Made `mod schema` public # Are these changes tested? These changes are covered by the benchmark tests themselves. # Are there any user-facing changes? N/A -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
