aboutsummaryrefslogtreecommitdiffstats
path: root/src/benchmark/benchmark.h
Commit message (Collapse)AuthorAgeFilesLines
* Shuffle things around. Add NIST X.509 test to build.lloyd2014-01-011-58/+0
|
* Add Threefish-512lloyd2013-12-101-0/+3
|
* Add more generalized runtime performance test, can check AEAD modeslloyd2013-04-171-0/+18
| | | | and for block ciphers will time both encrypt and decrypt.
* Merge fixups. Add locking to default session manager. Use chrono liblloyd2012-02-201-1/+3
| | | | and unique_ptr.
* propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-2/+1
|\ | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-08-041-2/+1
| |\ | | | | | | | | | | | | | | | 717a9d103aa80e6d66c04e3a23cf173aadf56ceb) to branch 'net.randombit.botan.c++0x' (head c9759e8ebc2f360696a11f2d00fc218d7a8bf744)
| | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-171-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | 294e2082ce9231d6165276e2f2a4153a0116aca3) to branch 'net.randombit.botan.c++0x' (head 0b695fad10f924601e07b009fcd781191fafcb28)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-011-2/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | b3515264af291b4785d3d296e2cc0e877ca7816a) to branch 'net.randombit.botan.c++0x' (head 66ca78008f08bb5efc2eca52a3d4501f02ffd736)
| | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-201-4/+4
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b431f4bc404f3ed4a5332b69100ff903fbbb1d6a) to branch 'net.randombit.botan.c++0x' (head a5eb5edada5e025f7c85c096dc59a467cae4aba6)
| | * | | | Use <chrono> in the runtime benchmarking code instead of the locallloyd2009-09-161-25/+1
| | | | | | | | | | | | | | | | | | | | | | | | timers.
* | | | | | s/u32bit/size_t/ in codec and benchmarklloyd2010-10-121-1/+1
| | | | | |
* | | | | | I had this older version of algorithm_benchmark included forlloyd2010-09-161-18/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compatability with 1.8, but actually the signature is completely different anyway because that version took a Timer object, which doesn't exist at all anymore. I suppose I could add an empty Timer class plus subclasses, let someone instantiate it and pass it in, ignoring it, but I'm not feeling this is worth the effort. It would make more sense to add a version with this signature to 1.8, which creates a Default_Benchmark_Timer and uses it.
* | | | / Change the benchmark code to also take a buf_size, instead of using hardcodedlloyd2010-07-301-4/+24
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 16 KiB buffer. Also reorder the parameters to make somewhat more sense, with the first arguments being totally mandatory and the later ones potentially optional. Provide inlined version matching the old interface that just forwards to the new call, marking it as deprecated.
* | | | Use "/*" instead of "/**" in starting comments at the begining of a file.lloyd2010-06-071-1/+1
| |_|/ |/| | | | | | | | | | | This caused Doxygen to think this was markup meant for it, which really caused some clutter in the namespace page.
* | | Consolidate the non-canonical epoch timers, like cpuid and Win32'slloyd2009-12-011-25/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | QueryPerformanceCounter, into an entropy source hres_timer. Its results, if any, do not count as contributing entropy to the poll. Convert the other (monotonic/fixed epoch) timers to a single function get_nanoseconds_clock(), living in time.h, which statically chooses the 'best' timer type (clock_gettime, gettimeofday, std::clock, in that order depending on what is available). Add feature test macros for clock_gettime and gettimeofday. Remove the Timer class and timer.h. Remove the Timer& argument to the algorithm benchmark function.
* | Add missing BOTAN_DLL macros for algorithm_benchmark and SCAN_Namelloyd2009-11-201-5/+5
|/
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-0/+2
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Add Doxygen comment for Timer::clock. Fix @return in benchmark.h and x509_ca.hlloyd2008-11-251-1/+1
|
* Mention ANSI clock seems pretty bogus for benchmarkinglloyd2008-11-211-0/+3
|
* Add a typedef in benchmark.h Default_Benchmark_Timer, which checks availablelloyd2008-11-211-8/+26
| | | | | timer alternatives. I realized otherwise each application would be forced to do the exact same thing, and no reason for that.
* Rename timers.h to timer.hlloyd2008-11-111-1/+1
|
* Add a runtime benchmarking system (for ciphers/hash/MACs)lloyd2008-11-111-0/+36