Skip to content

Commit

Permalink
fix: throughput faq (#1656)
Browse files Browse the repository at this point in the history
* change for throughput faq

Signed-off-by: Prati28 <[email protected]>

* changed faq

Signed-off-by: Prati28 <[email protected]>

* changes

Signed-off-by: Prati28 <[email protected]>

---------

Signed-off-by: Prati28 <[email protected]>
  • Loading branch information
psankhe28 authored Nov 22, 2024
1 parent 42708e4 commit 19d46db
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/(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. 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 19d46db

Please sign in to comment.