Skip to content

Commit bcb70e5

Browse files
authored
Large cleanup of unnecessary and unused TPCC code (yugabyte#71)
Remove a ton of dead code, replace custom utilities with already included library utilities, and fix a bunch of IntelliJ generated warnings.
1 parent e699bc6 commit bcb70e5

File tree

104 files changed

+716
-15053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+716
-15053
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
target
12
build/
23
lib/
34
results/

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ A utility script (./tpccbenchmark) is provided for running the benchmark. The op
5252
--clear <arg> Clear all records in the database for this
5353
benchmark
5454
--create <arg> Initialize the database for this benchmark
55-
--dialects-export <arg> Export benchmark SQL to a dialects file
5655
--execute <arg> Execute the benchmark workload
5756
-h,--help Print this help
5857
--histograms Print txn histograms

src/com/oltpbenchmark/BenchmarkState.java

+2-7
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,12 @@ public long getTestStartNs() {
3838
}
3939

4040
private final CountDownLatch startBarrier;
41-
private AtomicInteger notDoneCount;
41+
private final AtomicInteger notDoneCount;
4242

4343
// Protected by this
4444

4545
/**
46-
*
47-
* @param numThreads
48-
* number of threads involved in the test: including the
49-
* master thread.
50-
* @param rateLimited
51-
* @param queueLimit
46+
* @param numThreads number of threads involved in the test: including the master thread.
5247
*/
5348
public BenchmarkState(int numThreads) {
5449
startBarrier = new CountDownLatch(numThreads);

0 commit comments

Comments
 (0)