.
This commit is contained in:
parent
9ad54eff7a
commit
15a09dff95
6 changed files with 59 additions and 75 deletions
|
|
@ -14,9 +14,11 @@ process_count=$1
|
|||
|
||||
npm run build
|
||||
|
||||
mkdir -p logs
|
||||
|
||||
pids=()
|
||||
for i in $(seq 1 $process_count); do
|
||||
node dist/cli.js 2>&1 > "log_${i}.log" &
|
||||
node dist/cli.js 2>&1 > "logs/log_${i}.log" &
|
||||
pids+=($!)
|
||||
done
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ async function runTests(): Promise<void> {
|
|||
const agentCounts = [2, 8];
|
||||
const jitterScaleInSeconds = [0.5, 0, 2];
|
||||
const concurrencies = [16, 1];
|
||||
const iterations = [50, 200];
|
||||
const iterations = [200];
|
||||
const doDeletes = [true, false];
|
||||
|
||||
for (const agentCount of agentCounts) {
|
||||
|
|
@ -101,7 +101,7 @@ async function runTests(): Promise<void> {
|
|||
for (const jitter of jitterScaleInSeconds) {
|
||||
for (const iteration of iterations) {
|
||||
for (const deleteFiles of doDeletes) {
|
||||
for (let i = 0; i < 20; i++) {
|
||||
for (let i = 0; i < 3; i++) {
|
||||
await runTest({
|
||||
agentCount,
|
||||
concurrency,
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@ module.exports = {
|
|||
rules: [
|
||||
{
|
||||
test: /\.ts$/,
|
||||
use: "ts-loader",
|
||||
exclude: /node_modules/
|
||||
use: "ts-loader"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue