Skip to content

Commit

Permalink
change for throughput faq
Browse files Browse the repository at this point in the history
Signed-off-by: Prati28 <sankhepratiksha3@gmail.com>
  • Loading branch information
psankhe28 committed Nov 16, 2024
1 parent 3fd4c0c commit e0e6a55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/getting-started/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ There is another configuration file, namely `./config/default.yaml`, containing
## **IV. Other Questions Related to Caliper**

**Q:** How can I calculate the throughput (TPS)?
**A:** Caliper will record the submitting time and committing time (the time when the Tx is committed on the ledger or when the failure occurred) for each Tx. So the send rate is calculated by `(Succ+Fail) / (last submitting time - first submitting time)`. The throughput is calculated by `Succ/(last committing time - first submitting time)`, here only successful committed Txs will be calculated.
**A:** Caliper will record the submitting time and committing time (the time when the Tx is committed on the ledger or when the failure occurred) for each Tx. The throughput is calculated by `Succ+Fail/(last committing time - first submitting time)`. This means both successful and failed transactions are included in the throughput calculation.


## V. **Other Questions Related to the Backend Blockchain System**

Expand Down

0 comments on commit e0e6a55

Please sign in to comment.