Commit graph

772 commits

Author SHA1 Message Date
Ismael d577987fd7 changed indentation 2016-05-23 20:40:41 +02:00
Ismael ea69a84790 fix 2016-05-23 20:34:54 +02:00
Ismael fed9b6f211 refactor least square .h 2016-05-23 20:34:01 +02:00
Ismael 266addc3f5 fixed last_benchmark_instance 2016-05-23 20:21:34 +02:00
Ismael ac05c04533 refactor MinimalLEastSq 2016-05-23 20:12:54 +02:00
Ismael 5e52d2d6c0 refactor fitting curve 2016-05-23 19:19:29 +02:00
Ismael 5f9823bd92 fixed non-const reference arguments 2016-05-23 18:51:29 +02:00
Ismael 8afbf0ed38 reworked comment for complexity report 2016-05-21 16:45:45 +02:00
Ismael 07efafbf5c Update Readme 2016-05-21 16:34:12 +02:00
Ismael dc667d0486 Added asymptotic complexity to Readme 2016-05-21 12:40:27 +02:00
Ismael 5812d545ef Added range multiplier to Readme 2016-05-21 12:16:40 +02:00
Ismael 290bd60289 Refactor for pull request 2016-05-21 11:51:42 +02:00
Ismael 2e5c397b48 implemented complexity reporting 2016-05-21 08:55:43 +02:00
Ismael 872ff01a49 addaptation of minimal_leastsq library 2016-05-20 16:49:39 +02:00
Ismael b73dc22944 implemented Complexity for O(1) 2016-05-18 21:25:00 +02:00
Ismael 27f0baa190 Added test file and Complexity() interface 2016-05-18 19:59:34 +02:00
Dominic Hamon 0a60062b3e Merge pull request #212 from ismaelJimenez/master
added option to change range multiplier
2016-05-16 09:37:08 -07:00
Ismael d2103de3d3 Modified check for range multiplier 2016-05-16 18:17:11 +02:00
Ismael c60eefdbb7 added option to change range multiplier 2016-05-14 15:56:34 +02:00
Dominic Hamon 360e66c1c4 Merge pull request #210 from BillyONeal/travis-init
Mark sudo: required for Travis
2016-05-11 12:07:59 -07:00
Billy Robert O'Neal III fa0e7ef8c6 Mark sudo: required for Travis
Google Benchmark's Travis build currently requires "sudo" to install newer
versions of CMake and similar. See this for more details:

https://docs.travis-ci.com/user/workers/container-based-infrastructure/

Since Google Benchmark was put into Travis before 2015-01-01, it gets the
standard infrastructure implicitly, so sudo works. But anyone who forks this
repository and tries to add Travis.CI (so they can see if the build works
before creating a PR) gets broken builds before this change.
2016-05-11 12:01:03 -07:00
Dominic Hamon 336fd111f5 Merge pull request #208 from BillyONeal/msvc-cli-warnings
Fix MSVC++ command line warnings and support RELWITHDEBINFO / MINSIZEREL builds
2016-05-11 09:20:54 -07:00
Dominic Hamon 539da11250 Merge pull request #209 from BillyONeal/fix-appveyor
Fix appveyor's older MSVC++ builds by working around 2015 Update 2 bugfix
2016-05-11 09:06:55 -07:00
Billy Robert O'Neal III df9ab80113 Use nanoseconds instead of duration<double, milli>
MSVC++ before 2015 Update 2 has a bug in sleep_for where it tries to
implicitly += the input with a nanoseconds variable. Work around this by
using nanoseconds directly (which can be implicitly +='d with
chrono::nanoseconds).
2016-05-10 18:02:02 -07:00
Billy Robert O'Neal III 09edc486b8 Added GCC/Clang support for other rel configs 2016-05-10 16:47:06 -07:00
Billy Robert O'Neal III d89ab075fd Added support for CMake's other rel configs
In addition to release, CMake supports RELWITHDEBINFO and MINSIZEREL
build configurations. In particular, debug info is necessary for many
profilers to do anything useful, making RELWITHDEBINFO important here.

MINSIZEREL was added for completeness' sake.
2016-05-10 16:47:06 -07:00
Billy Robert O'Neal III 9bb1ba6b76 Fix clobbering of default CMAKE_CXX_FLAGS_RELEASE
BENCHMARK_ENABLE_LTO=true was completely replacing
CMAKE_CXX_FLAGS_RELEASE; meaning neither CMake's release defaults nor
user customizations were being applied.
2016-05-10 16:47:06 -07:00
Billy Robert O'Neal III 60b5921735 Remove redundant MSVC++ /W3 triggering warnings
This change looks for CMake's default setting for MSVC++, /W3 (and any
other level should that change in the future), and removes it before
adding /W4. This stops the build for MSVC++ emitting warnings about
/W4 overriding /W3 earlier on the command line.
2016-05-10 16:47:06 -07:00
Billy Robert O'Neal III fa8b2d6171 Add myself to the contributors list 2016-05-10 16:46:26 -07:00
Dominic Hamon 354b14d1a0 Merge pull request #199 from jknuuttila/master
Support for manual timing (see issue #198, https://github.com/google/benchmark/issues/198)
2016-05-05 14:07:46 -07:00
Jussi Knuuttila e253a28402 Manual timing support. 2016-05-05 23:24:13 +03:00
Jussi Knuuttila dce2ebb403 Fixed a warning caused by an implicit narrowing cast. 2016-05-05 20:34:44 +03:00
Dominic Hamon 277e7aafe6 Merge pull request #201 from google/200
Only output optional fields if they're set
2016-05-02 12:10:54 -07:00
Dominic Hamon 02f409a71f Only output optional fields if they're set 2016-05-02 12:04:16 -07:00
Dominic Hamon 9fa66eb130 Merge branch 'NewProggie-feature/add-ms-time-report' 2016-05-02 11:17:36 -07:00
Kai Wolf fb733897c5 Remove sleep.h dependency for tests 2016-05-02 19:53:45 +02:00
Kai Wolf f352c30f1c Merge branch 'master' into feature/add-ms-time-report 2016-04-29 21:42:21 +02:00
Dominic Hamon 0500ec0ab8 Merge pull request #174 from alycm/fix-leak
Close a memory leak in configuration code
2016-04-25 09:11:57 -07:00
Dominic Hamon 27f8a62313 Merge pull request #196 from google/iterationdoc
Add section on iterations.
2016-04-20 08:31:33 -07:00
Dominic Hamon d6f96ed639 Add section on iterations.
Also add some subheadings, and fix up the line lengths.

Fixes #194
2016-04-19 09:34:13 -07:00
Dominic Hamon 075a8a6fbf Merge pull request #195 from dvyukov/patch-1
Fix SetLabel usage example
2016-04-18 09:54:56 -07:00
Dmitry Vyukov 838719dc02 Update benchmark_api.h 2016-04-18 14:24:13 +02:00
Kai Wolf 1203b3cbe4 Fix missing <tuple> header in csv/json_reporter 2016-03-30 09:14:04 +02:00
Kai Wolf 1043f45bed Add explanatory comment why src headers are needed in test/CMakeLists.txt 2016-03-29 22:10:07 +02:00
Kai Wolf e6d62fd135 Add GetTimeAndMultiplier to json and csv reporter as well 2016-03-29 20:35:38 +02:00
Kai Wolf 0b4111c3b3 Refactor GetTimeUnitAndMultiplier and add example 2016-03-28 21:32:11 +02:00
Kai Wolf 7c69b36078 Add an additional parameter for time units 2016-03-26 01:04:17 +01:00
Kai Wolf 3a02c462c7 Add myself to the contributors list 2016-03-24 22:34:23 +01:00
Kai Wolf cded70a166 Add optional ms time unit for console reporter
Some benchmarks may run a few milliseconds which makes it kind of hard to visually compare, since the currently only available nanoseconds numbers can get very large in this case. Therefore this commit adds an optional command line flag --benchmark_time_unit which lets the user choose between ns and ms time units for displaying the mean execution time.
2016-03-24 22:18:55 +01:00
Dominic Hamon b2e7340875 Merge pull request #187 from insertinterestingnamehere/libcpp_include_fix
Fix missing include in map_test.cc
2016-02-26 02:39:44 +01:00