generated from napi-rs/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: the quality of toDataURL should between 0 and 1
- Loading branch information
1 parent
82ee1c5
commit 27e87df
Showing
2 changed files
with
6 additions
and
4 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
27e87df
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
24
ops/sec (±0.49%
)26
ops/sec (±0.36%
)1.08
Draw house#node-canvas
26
ops/sec (±0.3%
)21
ops/sec (±0.28%
)0.81
Draw house#@napi-rs/skia
23
ops/sec (±0.12%
)23
ops/sec (±0.18%
)1
Draw gradient#skia-canvas
23
ops/sec (±0.05%
)25
ops/sec (±0.03%
)1.09
Draw gradient#node-canvas
25
ops/sec (±0.46%
)21
ops/sec (±0.19%
)0.84
Draw gradient#@napi-rs/skia
22
ops/sec (±0.19%
)22
ops/sec (±0.19%
)1
This comment was automatically generated by workflow using github-action-benchmark.