Skip to content
Snippets Groups Projects

Major microbenchmark revamp

Merged Hadrien Benjamin Grasland requested to merge hgraslan/acts-core:microbench-tools into master

In microbenchmarks of short-running code like surface intersection, the overhead of the benchmark harness (e.g. random number generation) can easily exceed that of the code under study, and it's hard to reach confidence that the compiler hasn't optimized anything out.

In an attempt to defeat these problems, this MR proposes super-low-overhead primitives for defeating compiler optimizations in microbenchmarks.

Some tests are provided, which also serve as an example-based introduction to what the newly introduced primitives can and can't do.

Finally, existing microbenchmarks are also ported to the new primitives, fixing some of their flaws along the way.

Edited by Hadrien Benjamin Grasland

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 2 commits

    • d7dadc65 - Remove commented code which does not compile
    • cecfbcce - Please clang-format

    Compare with previous version

  • mentioned in merge request !734 (merged)

  • added 2 commits

    • 0f809450 - Massive "hard" boundary check speedup
    • 9c46cb1b - Revamp boundary check microbenchmark with proposed tooling + extend it

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading