DescriptionStart from scratch on a faster SkFlatDictionary.
This is like codereview.chromium.org/19276003, except it fits in better with the existing code, doesn't leak memory, and because it's back using SkChunkFlatController it's a little faster too, now a win across the board:
Slowdown bench
-1.59% desk_youtubetvbrowse.skp
-2.56% desk_googlehome.skp
-6.40% tabl_androidpolice.skp
-6.45% desk_youtubetvvideo.skp
-6.91% tabl_googlecalendar.skp
...
-29.70% desk_yahoogames.skp
-32.17% desk_googlespreadsheet.skp
-32.23% mobi_wikipedia.skp
-37.16% desk_chalkboard.skp
-41.57% desk_pokemonwiki.skp
Overall slowdown: -22.74%
running bench [640 480] picture_record_recurring_paint_dictionary NONRENDERING: cmsecs = 9.92
running bench [640 480] picture_record_unique_paint_dictionary NONRENDERING: cmsecs = 22.16
running bench [640 480] picture_record_dictionaries NONRENDERING: cmsecs = 9.18
BUG=
Committed: http://code.google.com/p/skia/source/detail?r=10328
Committed: http://code.google.com/p/skia/source/detail?r=10336
Patch Set 1 #Patch Set 2 : fix memory overwrite and tests #
Total comments: 9
Patch Set 3 : tomhudson #
Total comments: 12
Patch Set 4 : reed #Patch Set 5 : init order #Patch Set 6 : sigh, this time be efficient about RAM use #
Total comments: 4
Patch Set 7 : tomhudson #Patch Set 8 : fix windows build by making AllocScratch static #
Total comments: 1
Messages
Total messages: 17 (0 generated)
|