Open stavrosdim opened 2 years ago
I'm guessing the FAQ has never been updated. The code has been that way for a while by the looks of things
I see. Thanks !
@stevedimaras I think this is a documentation bug, many thanks for reporting
re-opening as we still need to fix the documentation here, so will use this issue to track that
Which Caliper version are you using?
v0.5.0
Which Node.JS version are you using?
v10.24.1
Which operating system are you using?
Ubuntu 22.04 LTS
Please provide some context for your error. For example, when did the error occur? What were you trying to achieve, and how?
I was using caliper to benchmark my Hyperledger Fabric network, and i was highly interested in the Throughput (TPS) value. Apparently at the https://hyperledger.github.io/caliper/v0.5.0/caliper-faq/ it is insisted that: "The throughput is calculated by Succ/(last committing time - first submitting time), here only successful committed Txs will be calculated.", however when i run an experiment with zero successful TXs i was still getting a valid Throughput which was odd. So i researched the code and at the file report.js i found out that the Throughput (TPS) value is calculated as (Succ+Fail)/(last committing time - first submitting time). Which is the intended way to caclulate the Throughput ?
What was the observed incorrect behavior?
Positive throughput value with zero successful TXs.
Please provide the error logs and their surroundings.
Please provide your benchmark configuration file content, if possible.
No response
Please provide your network configuration file content, if possible.
No response
Please provide your workload module content, if possible.
No response
Please provide any additional information you deem relevant to the error.
No response