[PATCH] D48879: [XRay][test-suite] Benchmarks for profiling mode implementation

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 3 06:38:38 PDT 2018


dberris created this revision.
dberris added reviewers: kpw, eizan.
Herald added a subscriber: mgorny.

This patch adds microbenchmarks for the XRay Profiling Mode
implementation to the test-suite.

The benchmarks included cover:

- Cost of the Profiling Mode runtime handler(s) and underlying implementation details when enabled.

- Different benchmarks for different call stack traces. Initially showing deep and shallow function call stacks.

These microbenchmarks can be used to measure progress on the
optimisation work associated with the profiling mode runtime
implementation going forward. It also allows us to better qualify the
cost of the XRay runtime framework (in particular the trampolines) as we
make improvements to those in the future.

Depends on https://reviews.llvm.org/D48653.


Repository:
  rT test-suite

https://reviews.llvm.org/D48879

Files:
  MicroBenchmarks/XRay/CMakeLists.txt
  MicroBenchmarks/XRay/ProfilingMode/CMakeLists.txt
  MicroBenchmarks/XRay/ProfilingMode/deep-call-bench.cc
  MicroBenchmarks/XRay/ProfilingMode/shallow-call-bench.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48879.153906.patch
Type: text/x-patch
Size: 6297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180703/a82bce25/attachment.bin>


More information about the llvm-commits mailing list