DescriptionBenchmarking suggests that replacing some of the conversions from float to int with direct floating-point comparisons in computeTypeMask() is a significant win (up to 40%?).
In practice, we see a 10-15% speedup in this function (the current most expensive Skia function) in Chrome on the FishIETank demo.
The remainder of the function looks like it ought to be amenable to similar speedups, but we haven't found a rewrite that behaves well in benchmarking yet.
Patch Set 1 #Patch Set 2 : Change constant to work in Fixed as well as Float #MessagesTotal messages: 4
|