repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: update changelog entries
[poolifier.git]
/
examples
/
fixedExample.js
diff --git
a/examples/fixedExample.js
b/examples/fixedExample.js
index 07a57c3ef9c5fc9ff455586498294149bf14ebdb..2c36a7038695e4e4a8a10dae15bc0f748a4b3849 100644
(file)
--- a/
examples/fixedExample.js
+++ b/
examples/fixedExample.js
@@
-10,7
+10,7
@@
const iterations = 1000
for (let i = 1; i <= iterations; i++) {
pool
.execute({})
for (let i = 1; i <= iterations; i++) {
pool
.execute({})
- .then(
res
=> {
+ .then(
()
=> {
resolved++
if (resolved === iterations) {
return console.log('Time take is ' + (Date.now() - start))
resolved++
if (resolved === iterations) {
return console.log('Time take is ' + (Date.now() - start))