You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
profile('+ vs *',()=>{letrandomNumbers;constsum=([a,b])=>a+b;constmult=([a,b])=>a*b;profile('with numbers',()=>{prepare(()=>{randomNumbers[0]=Math.random();randomNumbers[1]=Math.random();});execute('sum',sum);execute('multiply',mult);});profile('with strings',()=>{prepare(()=>{randomNumbers[0]=Math.random().toString();randomNumbers[1]=Math.random().toString();});execute('sum',sum);execute('multiply',mult);});/* With test data prepare(() => getTestData()); execute('sum', (testData) => { const sum = testData[0] + testData[1]; }); */});
The text was updated successfully, but these errors were encountered:
f-masche
changed the title
Create a well defined API for writing profiles
Create a well defined format for writing profiles
Feb 16, 2017
f-masche
changed the title
Create a well defined format for writing profiles
Create a defined format for writing profiles
Feb 16, 2017
Inspiration: Mocha
The text was updated successfully, but these errors were encountered: