refactor: strict mode in js files
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 26 Jun 2023 11:30:18 +0000 (13:30 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 26 Jun 2023 11:30:18 +0000 (13:30 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
benchmarks/versus-external-pools/dynamic-worker-nodes.js
benchmarks/versus-external-pools/fixed-worker-nodes.js
benchmarks/versus-external-pools/functions/function-to-bench.js
benchmarks/versus-external-pools/workers/worker-nodes/function-to-bench-worker.js

index fffa55948228696811dd1961f306df2241c44ae2..6a55aaf917cfe2d93f4417415bc3c31171113e6f 100644 (file)
@@ -1,3 +1,4 @@
+'use strict'
 // IMPORT LIBRARIES
 const WorkerNodes = require('worker-nodes')
 // FINISH IMPORT LIBRARIES
index 641afd77ecf430efbedd2fd089452496c75f008e..e70e61c8a0b8861644440fc6358be0d6f42ab445 100644 (file)
@@ -1,3 +1,4 @@
+'use strict'
 // IMPORT LIBRARIES
 const WorkerNodes = require('worker-nodes')
 // FINISH IMPORT LIBRARIES
index 74a07d1ef1ac4f410e8fada4679f1ed64d3bcac1..6a05cb629ad7bdcc816d393215bb6ae5d80a48d5 100644 (file)
@@ -1,3 +1,4 @@
+'use strict'
 /**
  * The worker function to execute during pools benchmarks.
  * NOTE: This function requires to be self-contained, thread-safe and re-entrant.
index 3f3fc2311fe37c5e96bd807301995d36fe6b2ba4..9fa8b4724ab6c2ccae93ede2074cf236e15dce2d 100644 (file)
@@ -1,2 +1,3 @@
+'use strict'
 const functionToBench = require('../../functions/function-to-bench')
 module.exports = functionToBench