Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOptimize clipper: SIMD, reuse allocations, use slices #5
Conversation
|
Not really sure if that second commit helps anything |
|
Added some benchmarks based on real world data. Before:
After:
The poly test has large variance, but multiple runs confirm an improvement. |
73d3b47
to
056d9e7
|
With the shared clip buffers:
We still do some cloning. I think we can reduce some of that with some magic. |
|
With the shared result buffer:
|
|
We should probably do some manual profiling of each step before merging. I'm not sure if all of these really end up optimizing it in actual usage. The numbers from testing on Servo looked promising, but they varied a lot. |
|
Thanks! |
Optimize clipper: SIMD, reuse allocations, use slices
|
Final numbers post rebase:
... I don't know how that happened. Perhaps SIMD got faster (more platform-specific specialization?), or one of our other crates. shrug |
Make `MixBlendMode` hashable.
Added mask image and border corner tests
Manishearth commentedOct 3, 2015
More to come, possibly
r? @glennw