aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-09-29Merge pull request #4459Riccardo Spagni1-4/+4
bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero) 3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero) a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero) 1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero) fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero) 2e2139ff epee: do not propagate exception through dtor (moneromooo-monero) 0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero) 1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero) 418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero) ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero) 6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero) 53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero) e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero) 661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero) 5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero) 7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero) a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero) d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero) 02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero) c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
2018-09-11bulletproofs: speed up the latest changes a bitmoneromooo-monero2-0/+6
2018-09-11performance_tests: add padded bulletproof constructionmoneromooo-monero2-2/+14
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2-19/+22
2018-09-11bulletproofs: reject points not in the main subgroupmoneromooo-monero2-0/+3
2018-09-11Add Pippenger cache and limit Straus cache sizemoneromooo-monero2-9/+135
2018-09-11performance_tests: add stats and loop count multiplier optionsmoneromooo-monero2-317/+409
Stats are: min, median, standard deviation
2018-09-11performance_tests: add aggregated bulletproof tx verificationmoneromooo-monero2-0/+81
2018-09-11Pippenger multiexpmoneromooo-monero2-1/+146
Based on sarang's python code
2018-09-11performance_tests: document the tested bulletproof layoutsmoneromooo-monero1-8/+8
2018-09-11Bulletproof aggregated verification and testsmoneromooo-monero1-1/+1
Also constrains bulletproofs to simple rct, for simplicity
2018-09-11performance_tests: add signature generation/verificationmoneromooo-monero3-0/+72
2018-09-11bulletproofs: add aggregated verificationmoneromooo-monero3-0/+51
Ported from sarang's java code
2018-09-11make straus cached mode thread safe, and add tests for itmoneromooo-monero2-1/+13
2018-09-11bulletproofs: add multi output bulletproofs to rctmoneromooo-monero1-1/+1
2018-09-11performance_tests: add tx checking tests with more than 2 outputsmoneromooo-monero2-12/+23
2018-09-11performance_tests: add a --verbose flag, and default to tersemoneromooo-monero2-121/+135
2018-09-11add Straus multiexpmoneromooo-monero3-0/+97
2018-09-11performance_tests: add crypto opsmoneromooo-monero3-0/+133
2018-09-11performance_tests: add bulletproofsmoneromooo-monero3-0/+73
2018-09-11performance_tests: add RingCT MLSAG gen/ver testsmoneromooo-monero1-0/+10
2018-09-11performance_tests: add (Borromean) range proofsmoneromooo-monero3-0/+68
2018-09-11performance_tests: don't override log level to 0moneromooo-monero1-1/+0
2018-08-23add and use constant time 32 byte equality functionmoneromooo-monero2-0/+78
2018-07-07core_tests: add --filter to select which tests to runmoneromooo-monero1-20/+1
2018-03-27performance_tests: fix subaddress expansion test not expandingmoneromooo-monero1-1/+1
2018-03-14keypair::generate: always require hw::device to avoid possible mistakestoffu1-1/+1
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm3-4/+5
The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
2018-02-16Merge pull request #3226Riccardo Spagni1-1/+1
e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero) 2e3e90ac pass large parameters by const ref, not value (moneromooo-monero) 61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero) 9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero) 8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero) 9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero) 24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero) f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero) c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero) fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero) 03887f11 keccak: fix sanity check bounds test (moneromooo-monero) ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero) bece67f9 miner: restore std::cout precision after modification (moneromooo-monero) 1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
2018-02-07Fix coverity issues in performance_tests/main.cpph9087141241-0/+2
2018-02-02performance_tests: remove add_arg call stray extra parammoneromooo-monero1-1/+1
Coverity 182572
2018-01-27Merge pull request #3185Riccardo Spagni1-8/+8
fccd1df1 performance_tests: fix build after merging two conflicting patches (moneromooo-monero)
2018-01-26Readd copyright starting datexmr-eric2-2/+2
2018-01-26Update 2018 copyrightxmr-eric20-20/+20
2018-01-26performance_tests: fix build after merging two conflicting patchesmoneromooo-monero1-8/+8
2018-01-25Merge pull request #3064Riccardo Spagni2-63/+108
62c45c0d performance_tests: add a --filter option to select what to run (moneromooo-monero)
2018-01-25Merge pull request #3042Riccardo Spagni2-0/+97
ed215d34 performance_tests: add RingCT MLSAG gen/ver tests (moneromooo-monero)
2018-01-04performance_tests: add a --filter option to select what to runmoneromooo-monero2-63/+108
Removes a good bit of annoyance running those
2017-12-31performance_tests: add RingCT MLSAG gen/ver testsmoneromooo-monero2-0/+97
2017-12-18performance_tests: add a test for subaddress expansionmoneromooo-monero3-0/+70
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+1
2017-12-08add bulletproofs from v7 on testnetmoneromooo-monero1-1/+1
2017-11-14make this build on SunOS/SolarisPavel Maryanov1-2/+2
2017-11-14Merge pull request #2696Riccardo Spagni1-0/+2
937e7f8a Initialize openssl on startup (moneromooo-monero)
2017-10-21Initialize openssl on startupmoneromooo-monero1-0/+2
2017-10-17core_tests: fix for subaddress patchkenshi841-1/+1
2017-10-16performance_tests: add master spend pubkey to subaddress hashtablekenshi841-0/+1
2017-10-15performance_tests: fix build after subaddress patchmoneromooo-monero1-1/+4
2017-10-07Subaddresseskenshi846-7/+18
2017-10-02Merge pull request #2518Riccardo Spagni2-2/+2
6a0fb301 performance_tests: adjust some iterations down a bit (moneromooo-monero)
2017-09-25performance_tests: add a test for is_out_to_acc_precompmoneromooo-monero2-0/+23
2017-09-24performance_tests: adjust some iterations down a bitmoneromooo-monero2-2/+2
2017-05-23changed crypto to cncrypto so it generated libcncryptoGentian1-1/+1
fix a cmakelist
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni16-16/+16
2017-02-12tests: fixup include paths after cryptonote_core splitmoneromooo-monero1-1/+1
2017-02-12Merge pull request #1706Riccardo Spagni4-4/+132
7403e56f performance_tests: report small time per call in microseconds (moneromooo-monero) cadada2d performance_tests: add tests for sc_reduce32 and cn_fast_hash (moneromooo-monero) 962c72b6 performance_tests: initialize logging at startup (moneromooo-monero)
2017-02-10performance_tests: report small time per call in microsecondsmoneromooo-monero1-3/+13
This is to not report quick operations as 0 milliseconds
2017-02-10performance_tests: add tests for sc_reduce32 and cn_fast_hashmoneromooo-monero3-1/+116
2017-02-10performance_tests: initialize logging at startupmoneromooo-monero1-0/+3
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi8413-25/+25
2017-01-16Change logging to easylogging++moneromooo-monero1-0/+1
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
2016-12-15Preliminary support for DragonFly BSDAntonio Huete Jimenez1-2/+2
- It builds but no further testing has been done.
2016-11-04performance_tests: re-enable them...moneromooo-monero1-2/+0
I think I'm the only one to review things here...
2016-10-26tests: add performance test for keypair::generatemoneromooo-monero3-0/+56
2016-10-08tests: add performance test for ge_frombytes_vartimemoneromooo-monero3-0/+73
At luigi1111's request
2016-10-08tests: add performance tests for rct signaturesmoneromooo-monero6-36/+69
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-2/+1
Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
2016-08-28New "Halfway RingCT" outputs for coinbase transactionsmoneromooo-monero1-0/+1
When RingCT is enabled, outputs from coinbase transactions are created as a single output, and stored as RingCT output, with a fake mask. Their amount is not hidden on the blockchain itself, but they are then able to be used as fake inputs in a RingCT ring. Since the output amounts are hidden, their "dustiness" is not an obstacle anymore to mixing, and this makes the coinbase transactions a lot smaller, as well as helping the TXO set to grow more slowly. Also add a new "Null" type of rct signature, which decreases the size required when no signatures are to be stored, as in a coinbase tx.
2016-08-28add rct to the protocolmoneromooo-monero1-1/+1
It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
2016-02-22move g_test_dbg_lock_sleep from a global to a function level staticmoneromooo-monero1-2/+0
This avoids the need to define that variable in every program which uses epee.
2016-01-21OpenBSD support for Monero.me0wmix1-2/+2
2015-12-31updated copyright yearRiccardo Spagni15-15/+15
2015-02-242014 network limit 1.3 fix log/path/data +utilsrfree2monero1-0/+2
+toc -doc -drmonero Fixed the windows path, and improved logging and data (for graph) logging, fixed some locks and added more checks. Still there is a locking error, not added by my patches, but present in master version (locking of map/list of peers).
2015-01-02year updated in licenseRiccardo Spagni15-15/+15
2014-10-24cmake: fix up link linesBen Boeckel1-1/+2
2014-10-24cmake: support 2.8.7Ben Boeckel1-1/+1
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
2014-10-23cmake: put each test executable in its own directoryBen Boeckel1-0/+60
2014-09-11cpu affinity fixes in performance tests for FreeBSDfluffypony1-2/+2
2014-07-23License updated to BSD 3-clausefluffypony14-42/+406
2014-05-25extra filesmydesktop1-0/+45
2014-05-250.8.8updatemydesktop1-0/+3
2014-05-03initial [broken] updatemydesktop3-3/+3
2014-04-30mac osx building fixesmydesktop1-1/+1
2014-04-30various fixes to allow mac osx compilationmydesktop1-2/+6
2014-04-02json rpc for wallet and bugfixAntonio Juarez2-4/+2
2014-03-03moved all stuff to githubAntonio Juarez13-0/+630