DescriptionSkPDF: speed up SkPDFShader generation.
Stop using SkString::append() when SkDynamicMemoryWStream
works better.
Also add a bench to prove that this speeds things up:
before:
micros bench
59.33 ? PDFShader nonrendering
after:
micros bench
34.55 ? PDFShader nonrendering
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1833793002
Committed: https://skia.googlesource.com/skia/+/d11c7268a2a4303e842f4ba16da98fcd0a2b7555
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|