On Sun, 2013-02-10 at 16:53 +0100, ~suv wrote:
On 2013-02-09 14:05 +0100, Tavmjong Bah wrote:
In r12111 I got rid of the construction of a std::map that linked font-family name to an iterator in the GtkTreeModel. It was no longer useful since a map can have only a one to one mapping while a font-family name may now appear twice in the font-family list. This may speed up start up. In r12112 I changed the "tag" used to mark a separator row from "separatoR" to "#". This should speed up start up too but I can't believe it will make that big of a difference.
No significant difference with r12111, r12112 and r12113.
Attached are timed results in detail from
- Ubuntu 12.10 (64bit, VM)
- OS X 10.7.4, X11 backend
- OS X 10.7.4, Quartz backend
(script runs the timed command 10 times, with 10s sleep inbetween)
If no one else can reproduce similar delays (40-50% longer launch times relative to <= r12104), there's probably no reason to further investigate (in this case: sorry for the noise on the list, I'll adjust.)
The thing to do is to try to profile the code to see where the time is being spent. I won't attempt this now as I am planning on some major changes as I try to merge various font handling code.
Tav