Skip to content

Add an option to introduce an artificial delay between iterations #92

Closed as not planned
@dead-claudia

Description

@dead-claudia

I'd like to migrate away from the unmaintained Benchmark.js to this, and while this has almost everything I need, I need a way to introduce artificial delay, because I want to make sure it's actually tracking a fresh new frame each time.

That uses a fairly arbitrary delay, but ideally, this delay would be a function so I could pass it a () => new Promise(resolve => requestAnimationFrame(resolve)) function instead (as that's what I really need in practice).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions