All Downloads are FREE. Search and download functionalities are using the official Maven repository.

example.scenario.js.system.circular_append_test.js Maven / Gradle / Ivy

There is a newer version: 4.3.10
Show newest version
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