example.scenario.js.system.circular_append_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
new java.lang.ProcessBuilder()
.command("sh", "-c", "rm -f " + ITEM_LIST_FILE_0 + " " + ITEM_LIST_FILE_1)
.start()
.waitFor();
PreconditionLoad
.config(
{
"item": {
"data" : {
"size": ITEM_DATA_SIZE
},
"output": {
"file": ITEM_LIST_FILE_0
}
},
"load": {
"op": {
"limit": {
"count": BASE_ITEMS_COUNT
}
}
}
}
)
.run();
Load
.config(
{
"item": {
"data": {
"ranges": {
"fixed": "-" + ITEM_DATA_SIZE + "-"
}
},
"input": {
"file": ITEM_LIST_FILE_0
},
"output": {
"file": ITEM_LIST_FILE_1
}
},
"load": {
"op": {
"recycle": true,
"type": "update",
"limit": {
"count": ~~(BASE_ITEMS_COUNT * APPEND_COUNT)
}
}
}
}
)
.run();
© 2015 - 2025 Weber Informatics LLC | Privacy Policy