Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a reference decode speed benchmark page #46

Open
jamsinclair opened this issue Jan 7, 2024 · 1 comment
Open

Create a reference decode speed benchmark page #46

jamsinclair opened this issue Jan 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jamsinclair
Copy link
Owner

Inspiration came from recent references to decode speeds in #44 and #43.

We could likely create a simple benchmark script and HTML page that renders the results. This library is not focused on speed, but it would be convenient to compare speeds between decoding with browser image and canvas APIs vs the WASM decode speed.

@jamsinclair jamsinclair added the enhancement New feature or request label Jan 7, 2024
@jamsinclair jamsinclair changed the title Create a reference benchmark page Create a reference decode speed benchmark page Jan 7, 2024
@CodeF53
Copy link

CodeF53 commented Jan 9, 2024

When making this I would use OffscreenCanvas for the VanillaJS side of the benchmark, as I have found using it tends to have slightly faster results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants