mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-26 15:36:33 -06:00
debugging updates
This commit is contained in:
parent
15c9632ad8
commit
f80aab49da
@ -7,6 +7,8 @@ scenarios:
|
||||
schema: run driver=dynamodb tags==block:schema threads==1 cycles==UNDEF
|
||||
rampup: run driver=dynamodb tags==block:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
|
||||
main: run driver=dynamodb tags=='block:main.*' cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||
delete:
|
||||
table: run driver=dynamodb tags==block:delete threads==1 cycles==UNDEF
|
||||
main-read: run driver=dynamodb tags==block:main-read cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||
main-write: run driver=dynamodb tags==block:main-write cycles===TEMPLATE(main-cycles,10000000) threads=auto
|
||||
|
||||
@ -52,3 +54,8 @@ blocks:
|
||||
GetItem: TEMPLATE(table,keyvalue)
|
||||
key:
|
||||
partkey: "{rw_key}"
|
||||
delete:
|
||||
ops:
|
||||
delete-table:
|
||||
DeleteTable: TEMPLATE(table,keyvalue)
|
||||
|
||||
|
@ -127,4 +127,14 @@ public class StmtsDocList implements Iterable<StmtsDoc> {
|
||||
return cfgmodel.asReadOnly();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
int stmtcount = this.rawStmtsDocList.getStmtsDocs().stream().mapToInt(rsd -> rsd.getRawStmtDefs().size()).sum();
|
||||
int docscount = this.rawStmtsDocList.getStmtsDocs().size();
|
||||
sb.append("[" + docscount + "] docs, [" + stmtcount + "] stmts");
|
||||
String names = this.rawStmtsDocList.getStmtsDocs().stream().flatMap(sd -> sd.getRawStmtDefs().stream()).map(d->d.getName()).collect(Collectors.joining(","));
|
||||
sb.append(", names:").append(names);
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user