hermione-trace-tools

1.0.0 • Public • Published

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 }
});

Dependents (0)

Package Sidebar

Install

npm i hermione-trace-tools

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

6.54 kB

Total Files

7

Last publish

Collaborators

  • sergcen