[PATCH] D47675: [test-suite][RFC] Using Google Benchmark Library on Harris Kernel

Pankaj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 13:14:22 PDT 2018


proton updated this revision to Diff 152363.
proton added a comment.

Formatted using clang format

Results
-------

**With Polly:**

| BENCHMARK                  | Time      | CPU       | Iteration | Throughput  |
| -------------------------- | --------- | --------- | --------- | ----------- |
| BENCHMARK_HARRIS/256/256   | 769 us    | 768 us    | 911       | 330.508MB/s |
| BENCHMARK_HARRIS/512/512   | 4001 us   | 3996 us   | 177       | 252.207MB/s |
| BENCHMARK_HARRIS/1024/1024 | 25690 us  | 25650 us  | 28        | 156.553MB/s |
| BENCHMARK_HARRIS/2048/2048 | 118023 us | 117830 us | 6         | 136.054MB/s |
|

**Without Polly:**

| BENCHMARK                  | Time     | CPU      | Iteration | Throughput  |
| -------------------------- | -------- | -------- | --------- | ----------- |
| BENCHMARK_HARRIS/256/256   | 626 us   | 625 us   | 1135      | 406.15MB/s  |
| BENCHMARK_HARRIS/512/512   | 3074 us  | 3068 us  | 229       | 328.51MB/s  |
| BENCHMARK_HARRIS/1024/1024 | 17121 us | 17086 us | 42        | 235.022MB/s |
| BENCHMARK_HARRIS/2048/2048 | 64207 us | 64077 us | 11        | 250.189MB/s |
|


https://reviews.llvm.org/D47675

Files:
  MicroBenchmarks/CMakeLists.txt
  MicroBenchmarks/harris/CMakeLists.txt
  MicroBenchmarks/harris/harris.h
  MicroBenchmarks/harris/harris.reference_output
  MicroBenchmarks/harris/harrisKernel.cpp
  MicroBenchmarks/harris/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47675.152363.patch
Type: text/x-patch
Size: 17725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/da27aa3f/attachment.bin>


More information about the llvm-commits mailing list