hermione-trace-tools
v1.0.0
Published
trace tools for hermione tests
Downloads
1
Readme
Hermione-trace-tools
usage:
it(async function () {
const cpuInsructions = await this.browser.getCPUInstructions(
async (makeMark, page) => {
await makeMark('div-render', async () => {
return page.evaluate(() => {
document.body.appendChild(document.createElement('div'));
});
});
}
);
console.log(cpuInsructions); // { 'div-render': 383692 }
});