Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Decimal benchmark mixes +-*/ operations in one test loop[1]. Divide always dominates the result. It's ~6x slower than multiplication, let alone addition.
It's better to test division, multiplication, addition/subtraction separately to get more reasonable results.
[1] https://github.com/apache/arrow/blob/master/cpp/src/arrow/util/decimal_benchmark.cc#L141-L145
Attachments
Issue Links
- links to