repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into feature/task-functions
[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 ecc39a1c92be59327bd6b7d9d141c8bbf485b4be..ff13bc9ecd2ad04fb034bab8a622198ad748e10a 100644
(file)
--- a/
benchmarks/versus-external-pools/functions/function-to-bench.js
+++ b/
benchmarks/versus-external-pools/functions/function-to-bench.js
@@
-6,8
+6,8
@@
* @returns {*} The result.
*/
const functionToBench = data => {
* @returns {*} The result.
*/
const functionToBench = data => {
- const crypto = require('crypto')
- const fs = require('fs')
+ const crypto = require('
node:
crypto')
+ const fs = require('
node:
fs')
const TaskTypes = {
CPU_INTENSIVE: 'CPU_INTENSIVE',
IO_INTENSIVE: 'IO_INTENSIVE'
const TaskTypes = {
CPU_INTENSIVE: 'CPU_INTENSIVE',
IO_INTENSIVE: 'IO_INTENSIVE'