unknown hace 3 años
padre
commit
5c084437c0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/java-script/hw.js

+ 1 - 1
src/java-script/hw.js

@@ -116,8 +116,8 @@ async function speedTest(getPromise, count, parallel = 1) {
     }
     return arr;
   }
-  const arr = await makeIterable(getPromise, count, parallel);
   let duration = performance.now();
+  const arr = await makeIterable();
   await Promise.all(
     arr.map(
       async el => await Promise.all(el.map(async () => await getPromise())),