prefetch 8.2.1
- stats for the application compiled with SDK 8.2.1 andcolors-with-fetch.js
prefetch 9.2.2
- SDK 9.2.2 andcolors-with-fetch.js
named 9.2.2
- SDK 9.2.2 andcolors-only-name.js
constant 8.2.1
- one color in constant string (no semantic colors), SDK 8.2.1constnat 9.2.2
- one color in constant string (no semantic colors), SDK 9.2.2
Note: named color were added in TIMOB-27895 (SDK 9.1.0)
Click to open
parse
:- Read
semantics.colors.json
- parse it
- fetch each color with
Ti.UI.fetchSemanticColor
- Read
create
:Ti.UI.create*
layout
: firstpostlayout
event on the window
Click to open
Collected with command:
adb shell 'am dumpheap PID /data/local/tmp/dump.hprof'
Note: in SDK 8.2.1 for Android Ti.UI.fetchSemanticColor
returns string
value; in 9.2.2 - ColorProxy (?)