Diana Clarke created ARROW-11746:
------------------------------------

             Summary: [Developer][Archery] Fix prefer real time check
                 Key: ARROW-11746
                 URL: https://issues.apache.org/jira/browse/ARROW-11746
             Project: Apache Arrow
          Issue Type: Bug
          Components: Archery, Developer Tools
            Reporter: Diana Clarke
            Assignee: Diana Clarke


Google Benchmark adds {{/real_time}} to the end of the benchmark name to 
indicate if the {{real_time}} observation should be preferred over the 
{{cpu_time}} observation.

[https://github.com/google/benchmark/blob/af72911f2fe6b8114564614d2db17a449f8c4af0/src/benchmark_register.cc#L222]

Example: {{AllocateDeallocate<Jemalloc>/size:1048576/real_time}}

Archery is looking for {{"/realtime"}}, not {{"/real_time"}} though.

{code}
 @property
 def is_realtime(self):
     """ Indicate if the preferred value is realtime instead of cputime. """
     return self.name.find("/realtime") != -1
{code}



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

Reply via email to