From 19d46db21519ccb129d02091cad64d07eacd1b45 Mon Sep 17 00:00:00 2001 From: Pratiksha Sankhe Date: Fri, 22 Nov 2024 23:10:51 +0530 Subject: [PATCH] fix: throughput faq (#1656) * change for throughput faq Signed-off-by: Prati28 * changed faq Signed-off-by: Prati28 * changes Signed-off-by: Prati28 --------- Signed-off-by: Prati28 --- docs/source/getting-started/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/getting-started/faq.md b/docs/source/getting-started/faq.md index a9f7d53ad..294846e66 100644 --- a/docs/source/getting-started/faq.md +++ b/docs/source/getting-started/faq.md @@ -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**