Beat XP in activity startup time.
|Reported by:||cscott||Owned by:||cjb|
|Priority:||high||Milestone:||8.2.0 (was Update.2)|
|Keywords:||Cc:||mstone, cscott, mtd, marco, tomeu|
|Deployments affected:||Action Needed:||never set|
Measured activity startup time in 650, for Pippy, is 10 seconds. We need to greatly improve this!
First step is to implement a forking python process.
Apparently 'inspect' (used by dbus and telepathy for better traceback) is another bottleneck; use of this package should be changed to lazily load it when an exception is thrown.
A wrapper for 'import foo' which creates a stub object 'foo' which will lazily load the module when foo is first dereferenced should also help.