parent
467d8df6db
commit
a1b0a1918d
@ -39,8 +39,12 @@ async function postContracts(runners: Runner[]): Promise<Measurement> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
|
const sizes = [0, 1, 10, 50, 100, 200, 500, 1000]
|
||||||
console.log(`version ${(await axios.get("http://localhost:4010/version")).data.version}`)
|
console.log(`version ${(await axios.get("http://localhost:4010/version")).data.version}`)
|
||||||
console.log("Starting tests");
|
console.log("Starting tests");
|
||||||
|
for (let size of sizes) {
|
||||||
|
console.log((await (await postContracts(generateRunners(size))).toString()))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user