From e0e6a55d4df2bf02de7be84384fb906e6535c1cb Mon Sep 17 00:00:00 2001 From: Prati28 Date: Sat, 16 Nov 2024 23:32:51 +0530 Subject: [PATCH 1/3] change for throughput faq Signed-off-by: Prati28 --- docs/source/getting-started/faq.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/getting-started/faq.md b/docs/source/getting-started/faq.md index 57f30d107..73560dfac 100644 --- a/docs/source/getting-started/faq.md +++ b/docs/source/getting-started/faq.md @@ -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** From dc4e4964a793cb2dbad6c44c4df6a9e478cbbe8f Mon Sep 17 00:00:00 2001 From: Prati28 Date: Fri, 22 Nov 2024 16:19:01 +0530 Subject: [PATCH 2/3] changed faq Signed-off-by: Prati28 --- docs/source/getting-started/faq.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/getting-started/faq.md b/docs/source/getting-started/faq.md index 73560dfac..a1a0d54e0 100644 --- a/docs/source/getting-started/faq.md +++ b/docs/source/getting-started/faq.md @@ -23,8 +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. 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. - +**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. ## V. **Other Questions Related to the Backend Blockchain System** From c6ba5b17d320f24e249187da32f230f3ede8b969 Mon Sep 17 00:00:00 2001 From: Prati28 Date: Fri, 22 Nov 2024 22:48:10 +0530 Subject: [PATCH 3/3] changes 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 a1a0d54e0..5a71b3165 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+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**