generated from napi-rs/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support toDataURL and toDataURLAsync on canvas element
- Loading branch information
1 parent
2673d67
commit 1d8c790
Showing
4 changed files
with
166 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1d8c790
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Draw house#skia-canvas
21.4
ops/sec (±0.43%
)28
ops/sec (±0.13%
)1.31
Draw house#node-canvas
21.9
ops/sec (±0.81%
)21
ops/sec (±0.36%
)0.96
Draw house#@napi-rs/skia
21.2
ops/sec (±0.69%
)25
ops/sec (±0.11%
)1.18
Draw gradient#skia-canvas
19.5
ops/sec (±3.07%
)27
ops/sec (±0.08%
)1.38
Draw gradient#node-canvas
20.1
ops/sec (±1.22%
)21
ops/sec (±0.13%
)1.04
Draw gradient#@napi-rs/skia
19.9
ops/sec (±1.22%
)24
ops/sec (±0.08%
)1.21
This comment was automatically generated by workflow using github-action-benchmark.