Author | SHA1 | Message | Date |
---|---|---|---|
zhangzheng | c6c0b52d0c |
tools/tm-bench: bounds check for txSize and improving test cases (#2410)
Fixes #2409 |
6 years ago |
ValarDragon | 99e582d79a |
crypto: Refactor to move files out of the top level directory
Currently the top level directory contains basically all of the code for the crypto package. This PR moves the crypto code into submodules in a similar manner to what `golang/x/crypto` does. This improves code organization. Ref discussion: https://github.com/tendermint/tendermint/pull/1966 Closes #1956 |
6 years ago |
ValarDragon | 1dbe7b7e68 |
tools/tmbench: Improve accuracy with large tx sizes.
At larger tx sizes (e.g. > 10000) we were spending non-neglible amounts of time in tx creation, due to making the final bytes random. The slower the send loop, the less accurate it is at measuring the time tendermint took. (As we can't reach the promised contract of the given rate) There really isn't much need for that randomness, so this PR makes it such that only the txNumber gets bumped between txs from the same connection, thereby improving sendloop speed and accuracy. |
6 years ago |