Skip to content

Alloc speed check reported timings seem problematic #802

@vkarak

Description

@vkarak

Using Clang 7 and -O0 I get negative timings:

==============================================================================
PERFORMANCE REPORT
------------------------------------------------------------------------------
AllocSpeedTest_no
- tresa:login
   - PrgEnv-clang
      * time: 0.441987 s
------------------------------------------------------------------------------
AllocSpeedTest_2M
   - PrgEnv-clang
      * time: -0.332334 s
------------------------------------------------------------------------------

Using -O3, I get zero seconds.

clang version 7.0.1 (tags/RELEASE_701/final)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions