Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
Signed-off-by: Prati28 <[email protected]>
  • Loading branch information
psankhe28 committed Nov 22, 2024
1 parent dc4e496 commit c6ba5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/getting-started/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ 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+Fail/(last committing time - first submitting time)`, including both successful and failed transactions. This means both successful and failed transactions are included in the throughput and send rate. calculation.
**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 and the throughput are calculated by `(Succ+Fail) / (last submitting time - first submitting time)`. This means both successful and failed transactions are included in the throughput and send rate calculations.

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

Expand Down

0 comments on commit c6ba5b1

Please sign in to comment.