Yibo Cai created ARROW-14269:
--------------------------------

             Summary: [C++] Consolidate utf8 benchmark
                 Key: ARROW-14269
                 URL: https://issues.apache.org/jira/browse/ARROW-14269
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Yibo Cai
            Assignee: Yibo Cai


I find some trivial (and obviously irrelevant) changes to UTF8 validation code 
may cause big variances to benchmark result.
UTF8 validation functions are inlined and called directly in benchmark. The 
compiler may try to optimize them together with the benchmark loop.
Un-inline the benchmark-ed functions makes the result predictable and 
explainable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to