repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump expect from 29.0.3 to 29.1.0 (#571)
[poolifier.git]
/
benchmarks
/
versus-external-pools
/
functions
/
function-to-bench.js
diff --git
a/benchmarks/versus-external-pools/functions/function-to-bench.js
b/benchmarks/versus-external-pools/functions/function-to-bench.js
index 0c9738e62282d1486ea57141332761a0fd9705e9..565f811219cbccea2cdb1991b1c8a9a337fa9618 100644
(file)
--- a/
benchmarks/versus-external-pools/functions/function-to-bench.js
+++ b/
benchmarks/versus-external-pools/functions/function-to-bench.js
@@
-1,7
+1,7
@@
module.exports = function (data) {
module.exports = function (data) {
- if (
data.taskType === 'CPU_INTENSIVE'
) {
- // CPU
I
ntensive task
- for (let i = 0; i <
=
5000; i++) {
+ if (
data.taskType === 'CPU_INTENSIVE'
) {
+ // CPU
i
ntensive task
+ for (let i = 0; i < 5000; i++) {
const o = {
a: i
}
const o = {
a: i
}