zkopru-network / stress-test Goto Github PK
View Code? Open in Web Editor NEWA set of images to simulate traffic through a Zkopru instance.
A set of images to simulate traffic through a Zkopru instance.
I wrote a simple stats page for stress testing results.
@wanseob @jchancehud Any suggestions on what metrics should be added here?
Branch : feat/generator
Start DateTime : 2021-09-09 00:00:00 UTC
End DateTime : 2021-09-10 00:38:23 UTC
Duration : 24h 38m 23s
Cpu :
Memory:
Key | Value |
---|---|
Chain ID | 20200406 |
Avg Block Gas Limit | 12000000 |
Avg Gas Price(Wei) | 1 |
Node | Ganache / Hardhat / Geth |
Name | Value |
---|---|
Max Block Size | 200000 |
Max Validation Gas | 6000000 |
Challenge Period | 26523 |
Minimum Stake (Ether) | 32 |
Max Utxo | 65536 |
Name | Address | Max Bytes | Price Multiplier | Max Bid |
---|---|---|---|---|
coordinator_1 | 0x123456789 | 131072 | 48 | 2000 |
coordinator_2 | 0x23456789A | 131072 | 48 | 1000 |
Keys | Value |
---|---|
Average TPS | 15.3 tx/s |
Average Fee per Tx | 1,000,000 |
Last 24 Hours TPS | 10.12 tx/s |
Las 1 Hour TPS | 8.8 tx/s |
Name | Address | Proposed | Processed Tx Count | Total Spent for Bid | Total Earn Fee |
---|---|---|---|---|---|
coordinator_1 | 0x123456789 | 12 | 120 | ||
coordinator_2 | 0x23456789A | 0 | 0 |
Name | Address | Generated Tx | Total Spent Fee (wei) |
---|---|---|---|
wallet_1 | 0x012345678 | 128 | 1280000 |
wallet_2 | 0x023456789 | 21 | 210000 |
Block Number | Txs | Zkopru Related Txs* | Block Hashes |
---|---|---|---|
230 | 12 | 1 | 0xdead |
247 | 12 | 2 | 0xdead |
249 | 14 | 1 | 0xdead |
260 | 16 | 2 | 0xdead |
Propose Number | Duration | Included Transactions | Block Hashes | Layer1 Tx Hash | Proposer |
---|---|---|---|---|---|
1 | 10 | 1 | deaddead | 0x000000000001 | coordinator_1 |
2 | 12 | 2 | deaddead | 0x000000000002 | coordinator_1 |
3 | 14 | 4 | deaddead | 0x000000000003 | coordinator_1 |
4 | 16 | 8 | deaddead | 0x000000000004 | coordinator_1 |
Propose Number | Highest Bidder | Highest Bid Amount | Total Bid Counts |
---|---|---|---|
1 | 0x123456789a | 2000000000 | 2 |
2 | 0x123456789a | 2000000000 | 2 |
3 | 0x123456789a | 2000000000 | 2 |
When starting the test, there are queues, each has a rate of throughput for controlling transactions into the coordinator. the organizer is using the first one as default, the queue has a 0.1 tx/s rate.
That would be better to make it flexible at the starting point.
stress-test/src/organizer/queue.ts
Line 104 in ef1d832
This issue for treat zkopru-network/zkopru#195
Need to support hardhat as test chain (layer1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.