'use strict'varfib=require('./fib')varmax=100000000varstart=Date.now()// create a funcion with the typical error
// pattern, that delegates the heavy load
// to something else
functioncreateNoCodeFunction(){/* eslint no-constant-condition: "off" */varnum=100;(function(){if(null){// do nothing
}else{fib(num)}})()}for(vari=0;i<max;i++){createNoCodeFunction()}vartime=Date.now()-startconsole.log('Total time', time)console.log('Total iterations', max)console.log('Iteration/s', max/time*1000)