mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
This commit is contained in:
commit
d4c0974ee8
|
@ -54,8 +54,8 @@ const optsDefault = {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
function gnuplot() {
|
||||
executeExternalAndWait("/bin/bash", "gnuplot out/documents.plot");
|
||||
executeExternalAndWait("/bin/bash", "gnuplot out/datafiles.plot");
|
||||
executeExternalAndWait("gnuplot", "out/documents.plot");
|
||||
executeExternalAndWait("gnuplot", "out/datafiles.plot");
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -408,17 +408,17 @@ plot \
|
|||
statistics(opts);
|
||||
|
||||
// wait for a while
|
||||
let n = 60;
|
||||
let cc = 60;
|
||||
|
||||
if (opts.duration < 5) {
|
||||
n = 6;
|
||||
cc = 6;
|
||||
} else if (opts.duration < 10) {
|
||||
n = 12;
|
||||
cc = 12;
|
||||
} else if (opts.duration < 60) {
|
||||
n = 24;
|
||||
cc = 24;
|
||||
}
|
||||
|
||||
for (let i = 0; i < n; ++i) {
|
||||
for (let i = 0; i < cc; ++i) {
|
||||
statistics(opts);
|
||||
|
||||
if (opts.gnuplot) {
|
||||
|
|
Loading…
Reference in New Issue