Skip to content

Is a wasm-bindgen-bench crate possible today? #828

Open
@chinedufn

Description

@chinedufn

I know that you can write your own test runners, but could you also do this:

#[wasm_bindgen_bench]
fn my_benchmark() {
  // ...
}

?


The impetus here is me working on a renderer and wanted an easily compare potential performance enhancements in real browsers.

Something like this would make that trivial... but I don't know if this is even technically possible at this time?

Cheers!

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