Comments (4)
As far as i understand the specification http://www.tpc.org/tpc_documents_current_versions/pdf/tpc-c_v5.11.0.pdf, it's much simpler:
The specification says in 5.4 'The reported MQTh is the total number of completed New -Order transactions (see Clause 5.1.2), ...
divided by the elapsed time of the interval. ....
In your test this simply means 'txn_cnt / duration'
Or am i getting something wrong?
from py-tpcc.
@scjoe I haven't worked on this code in almost a decade. Can you provide the line numbers for what you want me to look at?
Also, you are correct that the TPC-C spec says to report NewOrders per minute. Academic papers typically report the total throughput for all five txn types.
The TPC-C spec also says that there is supposed to be a wait time and terminal output, but nobody implements those parts either.
from py-tpcc.
In results.py line 120 the rate per second is calculated. The txn_time is the total of all measurements for a transaction type, e.g. 'new orders'. But because these transactions runs in parallel (at least with more than one client), the calculated rate is not the number of processed transactions per second.
from py-tpcc.
Actually, technically it's correct, even if it's not useful. It's txn per second per thread so of course it'll be lower for multiple threads than for one thread.
from py-tpcc.
Related Issues (9)
- MongoDB API updated HOT 1
- Problems about MongoDB Transaction API HOT 1
- Wrong arguments on the ORDERS table loading for Redis and Cassandra driver
- Which license for this code ? HOT 2
- SyntaxError when running benchmarks HOT 1
- Does py-tpcc support h-store? HOT 2
- AssertionError HOT 1
- Where can I read a document with the benchmark results? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-tpcc.