Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
B
benchmark
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • benchmark
  • Repository

Switch branch/tag
  • benchmark
  • cmake
  • thread_safety_attributes.cpp
Find file
BlameHistoryPermalink
  • Eric Fiselier's avatar
    Adopt new benchmark timing internals. · 7a767012
    Eric Fiselier authored Mar 12, 2015
    This patch adopts a new internal structure for how timings are performed.
    Currently every iteration of a benchmark checks to see if it has been running
    for an appropriate amount of time. Checking the clock introduces noise into
    the timings and this can cause inconsistent output from each benchmark.
    
    Now every iteration of a benchmark only checks an iteration count to see if it
    should stop running. The iteration count is determined before hand by testing
    the benchmark on a series of increasing iteration counts until a suitable count
    is found. This increases the amount of time it takes to run the actual benchmarks
    but it also greatly increases the accuracy of the results.
    
    This patch introduces some breaking changes. The notable breaking changes are:
    1. Benchmarks run on multiple threads no generate a report per thread. Instead
       only a single report is generated.
    2. ::benchmark::UseRealTime() was removed and replaced with State::UseRealTime().
    7a767012
thread_safety_attributes.cpp 79 Bytes
EditWeb IDE
×

Replace thread_safety_attributes.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.