Skip to content

Commit

Permalink
feat: skia chrome/m99
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Feb 15, 2022
1 parent 4a553c7 commit c0687c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion skia
Submodule skia updated 785 files
1 change: 1 addition & 0 deletions skia-c/skia_c.cpp
Expand Up @@ -507,6 +507,7 @@ extern "C"
c_line_metrics->font_ascent = line_metrics.fAscent + offset;
c_line_metrics->font_descent = line_metrics.fDescent - offset;
}
delete paragraph;
}

void skiac_canvas_reset_transform(skiac_canvas *c_canvas)
Expand Down

1 comment on commit c0687c5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: c0687c5 Previous: 4a553c7 Ratio
Draw house#skia-canvas 19 ops/sec (±0.88%) 22 ops/sec (±0.14%) 1.16
Draw house#node-canvas 20 ops/sec (±1.15%) 23 ops/sec (±0.22%) 1.15
Draw house#@napi-rs/skia 22 ops/sec (±0.92%) 25 ops/sec (±0.11%) 1.14
Draw gradient#skia-canvas 18 ops/sec (±1.33%) 21 ops/sec (±0.7%) 1.17
Draw gradient#node-canvas 20 ops/sec (±1.28%) 22 ops/sec (±0.26%) 1.10
Draw gradient#@napi-rs/skia 22 ops/sec (±1.1%) 24 ops/sec (±0.1%) 1.09

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.