fixed result calculation; added ops/s value
parent
397dab18da
commit
887126fbf8
|
@ -224,15 +224,15 @@ CONSTANT: DOC-LARGE H{ { "base_url" "http://www.example.com/test-me" }
|
||||||
[ index>> bchar ] keep
|
[ index>> bchar ] keep
|
||||||
lasterror>> bchar
|
lasterror>> bchar
|
||||||
trial-size ] dip
|
trial-size ] dip
|
||||||
1000000 / /i
|
1000000000 / [ /i ] [ result get batch>> [ [ batch-size /i ] dip ] when /i ] 2bi
|
||||||
"%-18s: {batch:%s,index:%s;errchk:%s} %10s docs/s"
|
"%-18s: {batch:%s,index:%s;errchk:%s} %10s docs/s %10s ops/s"
|
||||||
sprintf print flush ;
|
sprintf print flush ;
|
||||||
|
|
||||||
: print-separator ( -- )
|
: print-separator ( -- )
|
||||||
"----------------------------------------------------------------" print flush ; inline
|
"---------------------------------------------------------------------------------" print flush ; inline
|
||||||
|
|
||||||
: print-separator-bold ( -- )
|
: print-separator-bold ( -- )
|
||||||
"================================================================" print flush ; inline
|
"=================================================================================" print flush ; inline
|
||||||
|
|
||||||
: print-header ( -- )
|
: print-header ( -- )
|
||||||
trial-size
|
trial-size
|
||||||
|
|
Loading…
Reference in New Issue