Commit Graph

25 Commits

Author SHA1 Message Date
Hans Dembinski
92a873c746
Faster linearize (#230)
* introduce offset for faster linearization of non-growing axes
* added traits::is_inclusive and constexpr bool inclusive() methods for builtin axes
* bug fixes for fill method when weight array is used with non-inclusive axis and when growing axes are used
* bug fix of axis::options::test(...)
* coverage tested with gcc-8, updated CONTRIBUTING.md with coverage info
2019-10-06 23:03:45 +02:00
Hans Dembinski
2a58a88390 avoid usage errors 2019-08-24 11:25:37 +02:00
Hans Dembinski
016532f011
Histogram fill method (#54)
huge refactor, various speed improvements, potential for further improvements and parallelization
2019-08-19 23:55:43 +02:00
Hans Dembinski
df647cf959
update copyright (#55)
* add missing copyright notices
* workaround for xml_iarchive bug to handle XML with comments
* fixing min/max according to boost guidelines
2019-08-19 16:53:27 +02:00
Hans Dembinski
8a6c97a2df fix for update feature [ci skip] 2019-06-08 23:49:07 +02:00
Hans Dembinski
14c9998870 plot with update 2019-06-04 23:39:52 +02:00
Hans Dembinski
3b687db2bc update fill benchmarks 2019-06-04 10:22:57 +02:00
Hans Dembinski
badcd1c115 simpler and faster benchmarks 2019-06-04 01:21:31 +02:00
Hans Dembinski
5f3f9d8fd7
Benchmark improvements and scripts to research history
* allow benchmarks to run in isolation, new scripts to run historic benchmarks
* make sure variant is never trivial in tests and benchmarks
2019-06-02 19:46:57 +02:00
Hans Dembinski
237bf234c5 simplications to linearize and benchmarking 2019-05-30 19:36:02 +02:00
Hans Dembinski
c4c6d90c21 improved benchmarks, turn off asserts 2019-05-30 13:49:26 +02:00
Hans Dembinski
a1c76d2b0a
generate random numbers outside benchmark loop (#195) 2019-05-29 22:26:11 +02:00
Hans Dembinski
4d383fae1b enable "unsafe" math optimizations in benchmarks 2019-05-28 23:15:44 +02:00
Hans Dembinski
7a55bf0e29 move throw_exception implementation to test and benchmark folders 2019-05-28 23:15:17 +02:00
Hans Dembinski
e2f19062ab use DoNotOptimize everywhere (no effect, but just in case) 2019-05-28 22:53:11 +02:00
Hans Dembinski
ecd142080d
speed improvements for 1d and 2d histograms
* rename get_size to axes_rank and move axes buffer to axes.hpp
* added fill experiments
* faster and simpler fill_impl
* faster specializations for linearize_value
2019-05-26 23:51:15 +02:00
Hans Dembinski
cf9520bdfa make benchmarks compile with -O3 -march=native -fno-exceptions and -fno-rtti 2019-05-15 21:53:32 +02:00
Hans Dembinski
af77b6af07
Decouple tests and benchmarks, turn off warnings for tests with some external boost libs
- Tests and benchmarks now only include the headers they really need.
- Warnings turned off for tests that compile with external boost libs that are not warning free
2019-05-12 13:33:54 +02:00
Hans Dembinski
5ef6a39945
Fix range iterator
* InputIterator concept requires that the decrement of a postfix-incremented iterator is valid, now it is
* added detached_accessor to that end
* update benchmark plot, better docs
2019-05-10 00:00:33 +02:00
Hans Dembinski
e75aa6b210
Google benchmark and benchmark improvements
* fetching google benchmark with cmake
* use new thread-safe accumulator in histogram_parallel_filling
* update boost, root and gsl benchmarks to use google benchmark
2019-05-03 22:06:01 +02:00
Hans Dembinski
2568a68f76
msvc fixes, simplification and bug-fixes of mp_int, more test coverage (#159)
* fixes broken msvc build
* smaller xml files for testing serialization
* fixing many warnings on msvc
* bug-fixes to mp_int regarding operators and new tests to check their behavior 
* don't expect iterable histogram::at to have size method
* build benchmarks in release mode
* test everything by default when b2 is run on project directory
* more test coverage
2019-02-18 10:04:27 +01:00
Hans Dembinski
9abbe46e3d
CI & doc update, removed multiprecision::cpp_int, simpler axis implementation, use_default to set default options
* Travis uses b2 and codecov now
* replacing boost::multiprecision with custom implementation to avoid the dependency
* improved axis implementation: `update` is now a normal method
* introduced use_default tag type to set defaults
* whitespace fixes and doc update
2019-02-17 13:37:50 +01:00
Hans Dembinski
b7b945a0bc fixing the test in both build systems 2019-02-09 15:56:08 +01:00
Hans Dembinski
ddc20134ff fixing benchmark build 2019-02-08 16:26:41 +01:00
Hans Dembinski
e089280a12 moving benchmarks 2019-02-08 15:47:16 +01:00