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

Benchmarks #11

Open
lino-levan opened this issue Oct 24, 2022 · 4 comments
Open

Benchmarks #11

lino-levan opened this issue Oct 24, 2022 · 4 comments

Comments

@lino-levan
Copy link
Contributor

It would be really nice to see some benchmarks in comparison with deno-canvas. If you are accepting PRs, I would love to contribute.

@DjDeveloperr
Copy link
Owner

DjDeveloperr commented Oct 25, 2022

PRs are always welcome! You can uncomment the deno-canvas code in bench/deno.js to compare performance of both of these libraries using deno task bench. Additionally, we should also add more benchmarks which test other APIs such as gradients and images.

@lino-levan
Copy link
Contributor Author

Sounds good, I'll check it out when I get the chance (probably tomorrow)

@lino-levan
Copy link
Contributor Author

lino-levan commented Oct 26, 2022

I found an old video editor project that rendered scenes to images via deno-canvas. I just switched to skia-canvas and it's unbelievable. To render a 5 second video, the old one took 2m 51s (171044ms). Skia-canvas took 41s (40735ms).

@DjDeveloperr
Copy link
Owner

Thats really impressive! How does it compare to Node.js alternatives?

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

No branches or pull requests

2 participants