better benchmark name
This commit is contained in:
parent
b9fd904042
commit
038a133b93
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ let
|
||||||
timeIt "typeset":
|
timeIt "typeset":
|
||||||
discard font.typeset(text, bounds = vec2(image.width.float32, 0))
|
discard font.typeset(text, bounds = vec2(image.width.float32, 0))
|
||||||
|
|
||||||
timeIt "rasterize":
|
timeIt "fill text":
|
||||||
image.fill(rgba(255, 255, 255, 255))
|
image.fill(rgba(255, 255, 255, 255))
|
||||||
image.fillText(font, text, bounds = vec2(image.width.float32, 0))
|
image.fillText(font, text, bounds = vec2(image.width.float32, 0))
|
||||||
# mask.fill(0)
|
# mask.fill(0)
|
||||||
|
|
Loading…
Reference in a new issue