Skip to content

Commit

Permalink
Sim parallel task upd.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed May 13, 2024
1 parent ec66c73 commit e8d2291
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/scripts/actions/test-simulation-parallel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,10 @@ export const actionTestSimulationParallel = async (...args: string[]) => {
MAX_POSITION: maxPosition,
};

const inputs = [
[1, worldConfig, typesConfig, stepsCount],
[2, worldConfig, typesConfig, stepsCount],
[3, worldConfig, typesConfig, stepsCount],
[4, worldConfig, typesConfig, stepsCount],
[5, worldConfig, typesConfig, stepsCount],
[6, worldConfig, typesConfig, stepsCount],
[7, worldConfig, typesConfig, stepsCount],
[8, worldConfig, typesConfig, stepsCount],
];
const inputs = [];
for (let i = 0; i < 100; i++) {
inputs.push([i+1, worldConfig, typesConfig, stepsCount]);
}

const cpuCount = os.cpus().length;
console.log('CPUs:', cpuCount);
Expand Down

0 comments on commit e8d2291

Please sign in to comment.