bd7ed7434a
The previous version accidentally retrieved all values from the in memory glyph cache because it was always measuring the range 1-300. This changes the glyphID to always be an increasing number, which avoids the cache hits. There is now some differences between the font types: - ttf: ~4ms - woff: ~160ms - woff2: ~230ms The high numbers in the woff categories are expected to be fixed by https://skia-review.googlesource.com/c/skia/+/420578 Bug: skia:12112 Change-Id: I52f6f7baf27fc28b99ac65a067142281918d7298 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/421324 Reviewed-by: Kevin Lubick <kjlubick@google.com> |
||
---|---|---|
animations | ||
bazel | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.bazelignore | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.bazel | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
DIR_METADATA | ||
go.mod | ||
go.sum | ||
LICENSE | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt | ||
WORKSPACE.bazel |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.