Firebug has a more readable and perhaps more insightful profiler than Chrome:
My reckless use of TaffyDB is the biggest offender, with
isNumeric()
way out of proportion (I mean, is it a number, or isn't it?).
UPDATE:
It appears the horrendous performance suction was caused my ordering of all static data elements:
spells.orderBy({name:"logical"});
feats.orderBy({name:"logical"});
races.orderBy({name:"logical"});
domains.orderBy({name:"logical"});
classs.orderBy({name:"logical"});
schools.orderBy({name:"logical"});
weapons.orderBy({name:"logical"});
armors.orderBy({name:"logical"});
skills.orderBy({name:"logical"});
languages.orderBy({name:"logical"});
deitys.orderBy({name:"logical"});
specials.orderBy({name:"logical"});
favored_enemys.orderBy({name:"logical"});
I found the offending block by starting and stopping the Firebug profiler between breakpoints. It posts the results in the console, in the context of the logging. Just phenomenal tool.
Down to 4 secs:
This doesn't mean it will work on the iPhone, but it can't hurt.