Commit Graph

14 Commits

Author SHA1 Message Date
Anton Kaliaev 989ff83c4c
[tm-bench] refactor code
- set ID in RPCRequest
- rename get_deps to get_vendor_deps
2017-10-06 11:38:21 +04:00
Greg Szabo 76da726d2a
Changed transaction message size to 250 bytes 2017-10-06 11:36:50 +04:00
Greg Szabo 279d6a0ebb
Typo fix in transacter.go 2017-10-06 11:36:50 +04:00
Greg Szabo 45a7ae2e62
Fixes to tm-bench transaction content
- Initialize random with current time as seed so transaction messages are different at every run
- Added hash of hostname to make transactions coming from different hosts different in every case
- Added current time to transaction to make sure that messages are different even if random numbers are the same in subsequent runs
- Shortened the transaction size to 64 bytes from the original 250
2017-10-06 11:36:50 +04:00
Anton Kaliaev 42f58ceb4b
[tm-monitor] call latency callback in a separate goroutine 2017-10-06 11:36:49 +04:00
Anton Kaliaev 081bd0805e
[tm-bench] increase pong write timeout by overriding the default handler 2017-10-06 11:36:49 +04:00
Anton Kaliaev 877e8e31f7
[tm-bench] update tm-monitor 2017-10-06 11:36:49 +04:00
Anton Kaliaev 73ced040a3
[tm-bench] updated deps 2017-07-28 18:13:39 -04:00
Anton Kaliaev 08166b05f5
[tm-bench] use plain ws connection instead of go-rpc (Refs #9, Fixes #14)
Also:
- use go-kit/log

Reasoning:
I found that we just don't need this layer of abstraction here. Plus
go-rpc is buggy and lacking proper closing of ws connections.
2017-03-23 19:55:01 +04:00
Anton Kaliaev 14b0589d6b
[tm-bench] nice formatting for error 2017-03-23 19:45:14 +04:00
Anton Kaliaev a6130910bf
use math/rand, no need in crypto 2017-03-17 14:52:14 +04:00
Anton Kaliaev 68b07b9c97
connections flag 2017-03-17 13:13:06 +04:00
Anton Kaliaev 8af2fe79e1
[tm-bench] show basic stats
```
===
Avg block time: 1225.504 ms
Avg tx throughput: 905 per sec
Avg block latency: 6.121 ms
===
```
2017-03-16 20:53:09 +04:00
Anton Kaliaev da08d589b5
[tm-bench] initial commit 2017-03-16 19:01:56 +04:00