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.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors or IDEs | ||
# http://editorconfig.org | ||
root = true | ||
|
||
# All files | ||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
# Tab indentation (no size specified) | ||
[Makefile] | ||
indent_style = tab | ||
|
||
[*.{c,h,cpp,hpp}] | ||
indent_size = 2 | ||
|
||
[*.rs] | ||
indent_size = 2 |
62dcf35
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#@napi-rs/skia
21
ops/sec (±0.9%
)25
ops/sec (±0.04%
)1.19
Draw house#node-canvas
22
ops/sec (±1.31%
)21
ops/sec (±0.41%
)0.95
Draw gradient#@napi-rs/skia
20
ops/sec (±0.51%
)24
ops/sec (±0.03%
)1.20
Draw gradient#node-canvas
21
ops/sec (±1.73%
)20
ops/sec (±0.41%
)0.95
This comment was automatically generated by workflow using github-action-benchmark.