perf: remove unneeded branching in message handling code
[poolifier.git] / benchmarks / internal / thread-worker.mjs
index 855ba62225e50513a1375eb84806a4c077cf61e2..f88cf076268cbff5f600a44eebc9bad7c64b0687 100644 (file)
@@ -9,7 +9,7 @@ const taskFunction = (data) => {
   data = data || {}
   data.function = data.function || TaskFunctions.jsonIntegerSerialization
   const res = executeTaskFunction(data)
-  debug === true && console.debug('This is the main thread ' + isMainThread)
+  debug === true && console.debug(`This is the main thread ${isMainThread}`)
   return res
 }