11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciconst { Worker } = require('worker_threads'); 41cb0ef41Sopenharmony_ciconst path = require('path'); 51cb0ef41Sopenharmony_cinew Worker(path.join(__dirname, 'fibonacci.js'), { 61cb0ef41Sopenharmony_ci execArgv: [ 71cb0ef41Sopenharmony_ci '--cpu-prof', 81cb0ef41Sopenharmony_ci '--cpu-prof-interval', 91cb0ef41Sopenharmony_ci process.env.CPU_PROF_INTERVAL || '100' 101cb0ef41Sopenharmony_ci ] 111cb0ef41Sopenharmony_ci}); 12