[libcxx] Add support for benchmark tests using Google Benchmark.
Summary:
This patch does the following:
1. Checks in a copy of the Google Benchmark library into the libc++ repo under `utils/google-benchmark`.
2. Teaches libc++ how to build Google Benchmark against both (A) in-tree libc++ and (B) the platforms native STL.
3. Allows performance benchmarks to be built as part of the libc++ build.
Building the benchmarks (and Google Benchmark) is off by default. It must be enabled using the CMake option `-DLIBCXX_INCLUDE_BENCHMARKS=ON`. When this option is enabled the tests under `libcxx/benchmarks` can be built using the `libcxx-benchmarks` target.
On Linux platforms where libstdc++ is the default STL the CMake option `-DLIBCXX_BUILD_BENCHMARKS_NATIVE_STDLIB=ON` can be used to build each benchmark test against libstdc++ as well. This is useful for comparing performance between standard libraries.
Support for benchmarks is currently very minimal. They must be manually run by the user and there is no mechanism for detecting performance regressions.
Known Issues:
* `-DLIBCXX_INCLUDE_BENCHMARKS=ON` is only supported for Clang, and not GCC, since the `-stdlib=libc++` option is needed to build Google Benchmark.
Reviewers: danalbert, dberlin, chandlerc, mclow.lists, jroelofs
Subscribers: chandlerc, dberlin, tberghammer, danalbert, srhines, hfinkel
Differential Revision: https://reviews.llvm.org/D22240
llvm-svn: 276049
2016-07-20 07:07:03 +08:00
|
|
|
# People who have agreed to one of the CLAs and can contribute patches.
|
|
|
|
# The AUTHORS file lists the copyright holders; this file
|
|
|
|
# lists people. For example, Google employees are listed here
|
|
|
|
# but not in AUTHORS, because Google holds the copyright.
|
|
|
|
#
|
|
|
|
# Names should be added to this file only after verifying that
|
|
|
|
# the individual or the individual's organization has agreed to
|
|
|
|
# the appropriate Contributor License Agreement, found here:
|
|
|
|
#
|
|
|
|
# https://developers.google.com/open-source/cla/individual
|
|
|
|
# https://developers.google.com/open-source/cla/corporate
|
|
|
|
#
|
|
|
|
# The agreement for individuals can be filled out on the web.
|
|
|
|
#
|
|
|
|
# When adding J Random Contributor's name to this file,
|
|
|
|
# either J's name or J's organization's name should be
|
|
|
|
# added to the AUTHORS file, depending on whether the
|
|
|
|
# individual or corporate CLA was used.
|
|
|
|
#
|
|
|
|
# Names should be added to this file as:
|
|
|
|
# Name <email address>
|
|
|
|
#
|
|
|
|
# Please keep the list sorted.
|
|
|
|
|
|
|
|
Albert Pretorius <pretoalb@gmail.com>
|
|
|
|
Arne Beer <arne@twobeer.de>
|
|
|
|
Billy Robert O'Neal III <billy.oneal@gmail.com> <bion@microsoft.com>
|
|
|
|
Chris Kennelly <ckennelly@google.com> <ckennelly@ckennelly.com>
|
|
|
|
Christopher Seymour <chris.j.seymour@hotmail.com>
|
|
|
|
David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
|
|
|
|
Dominic Hamon <dma@stripysock.com>
|
|
|
|
Eric Fiselier <eric@efcs.ca>
|
|
|
|
Eugene Zhuk <eugene.zhuk@gmail.com>
|
|
|
|
Evgeny Safronov <division494@gmail.com>
|
|
|
|
Felix Homann <linuxaudio@showlabor.de>
|
|
|
|
Ismael Jimenez Martinez <ismael.jimenez.martinez@gmail.com>
|
2017-04-18 15:17:20 +08:00
|
|
|
Joao Paulo Magalhaes <joaoppmagalhaes@gmail.com>
|
[libcxx] Add support for benchmark tests using Google Benchmark.
Summary:
This patch does the following:
1. Checks in a copy of the Google Benchmark library into the libc++ repo under `utils/google-benchmark`.
2. Teaches libc++ how to build Google Benchmark against both (A) in-tree libc++ and (B) the platforms native STL.
3. Allows performance benchmarks to be built as part of the libc++ build.
Building the benchmarks (and Google Benchmark) is off by default. It must be enabled using the CMake option `-DLIBCXX_INCLUDE_BENCHMARKS=ON`. When this option is enabled the tests under `libcxx/benchmarks` can be built using the `libcxx-benchmarks` target.
On Linux platforms where libstdc++ is the default STL the CMake option `-DLIBCXX_BUILD_BENCHMARKS_NATIVE_STDLIB=ON` can be used to build each benchmark test against libstdc++ as well. This is useful for comparing performance between standard libraries.
Support for benchmarks is currently very minimal. They must be manually run by the user and there is no mechanism for detecting performance regressions.
Known Issues:
* `-DLIBCXX_INCLUDE_BENCHMARKS=ON` is only supported for Clang, and not GCC, since the `-stdlib=libc++` option is needed to build Google Benchmark.
Reviewers: danalbert, dberlin, chandlerc, mclow.lists, jroelofs
Subscribers: chandlerc, dberlin, tberghammer, danalbert, srhines, hfinkel
Differential Revision: https://reviews.llvm.org/D22240
llvm-svn: 276049
2016-07-20 07:07:03 +08:00
|
|
|
JianXiong Zhou <zhoujianxiong2@gmail.com>
|
|
|
|
Jussi Knuuttila <jussi.knuuttila@gmail.com>
|
|
|
|
Kaito Udagawa <umireon@gmail.com>
|
|
|
|
Kai Wolf <kai.wolf@gmail.com>
|
|
|
|
Lei Xu <eddyxu@gmail.com>
|
|
|
|
Matt Clarkson <mattyclarkson@gmail.com>
|
2017-04-18 15:17:20 +08:00
|
|
|
Maxim Vafin <maxvafin@gmail.com>
|
2016-11-05 08:30:27 +08:00
|
|
|
Nick Hutchinson <nshutchinson@gmail.com>
|
[libcxx] Add support for benchmark tests using Google Benchmark.
Summary:
This patch does the following:
1. Checks in a copy of the Google Benchmark library into the libc++ repo under `utils/google-benchmark`.
2. Teaches libc++ how to build Google Benchmark against both (A) in-tree libc++ and (B) the platforms native STL.
3. Allows performance benchmarks to be built as part of the libc++ build.
Building the benchmarks (and Google Benchmark) is off by default. It must be enabled using the CMake option `-DLIBCXX_INCLUDE_BENCHMARKS=ON`. When this option is enabled the tests under `libcxx/benchmarks` can be built using the `libcxx-benchmarks` target.
On Linux platforms where libstdc++ is the default STL the CMake option `-DLIBCXX_BUILD_BENCHMARKS_NATIVE_STDLIB=ON` can be used to build each benchmark test against libstdc++ as well. This is useful for comparing performance between standard libraries.
Support for benchmarks is currently very minimal. They must be manually run by the user and there is no mechanism for detecting performance regressions.
Known Issues:
* `-DLIBCXX_INCLUDE_BENCHMARKS=ON` is only supported for Clang, and not GCC, since the `-stdlib=libc++` option is needed to build Google Benchmark.
Reviewers: danalbert, dberlin, chandlerc, mclow.lists, jroelofs
Subscribers: chandlerc, dberlin, tberghammer, danalbert, srhines, hfinkel
Differential Revision: https://reviews.llvm.org/D22240
llvm-svn: 276049
2016-07-20 07:07:03 +08:00
|
|
|
Oleksandr Sochka <sasha.sochka@gmail.com>
|
|
|
|
Pascal Leroy <phl@google.com>
|
|
|
|
Paul Redmond <paul.redmond@gmail.com>
|
|
|
|
Pierre Phaneuf <pphaneuf@google.com>
|
|
|
|
Radoslav Yovchev <radoslav.tm@gmail.com>
|
2017-04-18 15:17:20 +08:00
|
|
|
Ray Glover <ray.glover@uk.ibm.com>
|
[libcxx] Add support for benchmark tests using Google Benchmark.
Summary:
This patch does the following:
1. Checks in a copy of the Google Benchmark library into the libc++ repo under `utils/google-benchmark`.
2. Teaches libc++ how to build Google Benchmark against both (A) in-tree libc++ and (B) the platforms native STL.
3. Allows performance benchmarks to be built as part of the libc++ build.
Building the benchmarks (and Google Benchmark) is off by default. It must be enabled using the CMake option `-DLIBCXX_INCLUDE_BENCHMARKS=ON`. When this option is enabled the tests under `libcxx/benchmarks` can be built using the `libcxx-benchmarks` target.
On Linux platforms where libstdc++ is the default STL the CMake option `-DLIBCXX_BUILD_BENCHMARKS_NATIVE_STDLIB=ON` can be used to build each benchmark test against libstdc++ as well. This is useful for comparing performance between standard libraries.
Support for benchmarks is currently very minimal. They must be manually run by the user and there is no mechanism for detecting performance regressions.
Known Issues:
* `-DLIBCXX_INCLUDE_BENCHMARKS=ON` is only supported for Clang, and not GCC, since the `-stdlib=libc++` option is needed to build Google Benchmark.
Reviewers: danalbert, dberlin, chandlerc, mclow.lists, jroelofs
Subscribers: chandlerc, dberlin, tberghammer, danalbert, srhines, hfinkel
Differential Revision: https://reviews.llvm.org/D22240
llvm-svn: 276049
2016-07-20 07:07:03 +08:00
|
|
|
Shuo Chen <chenshuo@chenshuo.com>
|
|
|
|
Yusuke Suzuki <utatane.tea@gmail.com>
|
|
|
|
Tobias Ulvgård <tobias.ulvgard@dirac.se>
|
|
|
|
Zbigniew Skowron <zbychs@gmail.com>
|
|
|
|
Dominik Czarnota <dominik.b.czarnota@gmail.com>
|