example.scenario.js.system.weighted_load_test.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongoose-base Show documentation
Show all versions of mongoose-base Show documentation
Mongoose is a high-load storage performance testing tool
var cmd_1 = new java.lang.ProcessBuilder()
.command("/bin/sh", "-c", "rm -f weighted-load.csv")
.inheritIO()
.start();
cmd_1.waitFor();
PreconditionLoad
.config({
"load" : {
"op" : {
"limit" : {
"count" : 10000
}
},
"step" : {
"limit" : {
"size" : "1GB",
"time" : 10
}
}
},
"item" : {
"output" : {
"file" : "weighted-load.csv"
}
}
})
.run();
WeightedLoad
.config({
"load" : {
"step" : {
"limit" : {
"time" : 50
}
}
}
})
.append({
"load" : {
"op" : {
"weight" : 20
}
},
"item" : {
"output" : {
"path" : ITEM_OUTPUT_PATH
}
}
})
.append({
"load" : {
"op" : {
"recycle" : true,
"type" : "read",
"weight" : 80
}
},
"item" : {
"input" : {
"file" : "weighted-load.csv"
}
}
})
.run();
© 2015 - 2025 Weber Informatics LLC | Privacy Policy