Hi there,
Just trying to work out exactly why my composer occasionaly decides it
just won't launch [ in the past related to thinking it can't contact
gconf ]. I did:
export ORBIT2_DEBUG=traces:timings
killall -9 gconfd-2
gconftool-2 --spawn
To get gconfd-2 to run with the orbit debugging, I append the trace I
got.
Either way; why it does it twice I don't know; perhaps there is some
over-conservative GConf client handling going on; either way - even if
it only happens once, we seem to take ~300ms to get the keys, seemingly
because we do lots of roundtrips.
I believe we want to use:
void gconf_client_add_dir (GConfClient* client,
const gchar* dir,
GConfClientPreloadType
preload,
GError** err);
with GCONF_CLIENT_PRELOAD_ONELEVEL, which should mean that all
subsequent accesses to this directory result in pure in-process calls,
and that it does coherency via notifications [ which I assume we catch
anyway ].
Should knock a chunk of time off startup, and thus C-n -> composer
latency.
HTH,
Michael.
p17700 1033387674.612996 : ([0x805a268])->ping () =>; 0x4524
1033387674.613078
p17700 1033387674.614156 : ([0x805a268])->add_client ([0x8060e10], )
1033387674.614632
p17700 1033387674.615689 : ([0x805a268])->get_default_database () =>;
[0x80601c0] 1033387674.615804
p17700 1033387674.617274 : ([0x80601c0])->add_listener
('/GNOME/Documents/HTML_Editor', [0x8060e10], ) =>; 0x25000001
1033387674.617915
p17700 1033387674.619207 : ([0x80601c0])->all_dirs
('/GNOME/Documents/HTML_Editor', ) out: (seq[0]={ } ) 1033387674.621523
p17700 1033387674.622891 : ([0x80601c0])->all_entries_with_schema_name
('/GNOME/Documents/HTML_Editor', 'C', , , , , ) out: (seq[1]={
'keybindings_theme' }, seq[1]={ { d=2 v='emacs' } }, seq[1]={ '' },
seq[1]={ 0 }, seq[1]={ 1 } ) 1033387674.623484
p17700 1033387674.625387 : ([0x80601c0])->add_listener ('/GNOME/Spell',
[0x8060e10], ) =>; 0x26000002 1033387674.625821
p17700 1033387674.626869 : ([0x80601c0])->all_dirs ('/GNOME/Spell', )
out: (seq[0]={ } ) 1033387674.628064
p17700 1033387674.629268 : ([0x80601c0])->all_entries_with_schema_name
('/GNOME/Spell', 'C', , , , , ) out: (seq[1]={ 'language' }, seq[1]={ {
d=2 v='' } }, seq[1]={ '' }, seq[1]={ 0 }, seq[1]={ 1 } )
1033387674.629721
p17700 1033387674.631052 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/magic_links', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.631480
p17700 1033387674.632741 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/magic_smileys', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.633143
p17700 1033387674.634243 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/animations', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.634636
p17700 1033387674.635784 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_variable', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.636182
p17700 1033387674.637285 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_fixed', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.637679
p17700 1033387674.640223 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_variable_size', 'C', 0, , , ) =>; {
d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.644192
p17700 1033387674.645121 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_fixed_size', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.649066
p17700 1033387674.649981 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_variable_points', 'C', 0, , , ) =>;
{ d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.653872
p17700 1033387674.654790 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_fixed_points', 'C', 0, , , ) =>; {
d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.658888
p17700 1033387674.659855 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_variable_print', 'C', 0, , , ) =>; {
d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.663773
p17700 1033387674.664690 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_fixed_print', 'C', 0, , , ) =>; {
d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.667852
p17700 1033387674.668613 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_variable_size_print', 'C', 0, , , )
=>; { d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.669100
p17700 1033387674.670150 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_fixed_size_print', 'C', 0, , , ) =>;
{ d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.670628
p17700 1033387674.671668 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_variable_print_points', 'C', 0, , ,
) =>; { d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.672145
p17700 1033387674.673185 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/font_fixed_print_points', 'C', 0, , , )
=>; { d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.673659
p17700 1033387674.674690 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/live_spell_check', 'C', 0, , , ) =>; {
d=0 v=0x0 } out: ('', 0, 1 ) 1033387674.675165
p17700 1033387674.676199 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/link_color', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.676669
p17700 1033387674.677698 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/alink_color', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.678210
p17700 1033387674.679250 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Documents/HTML_Editor/vlink_color', 'C', 0, , , ) =>; { d=0
v=0x0 } out: ('', 0, 1 ) 1033387674.679729
p17700 1033387674.680730 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Spell/spell_error_color_red', 'C', 0, , , ) =>; { d=0 v=0x0 }
out: ('', 0, 1 ) 1033387674.681199
p17700 1033387674.682183 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Spell/spell_error_color_green', 'C', 0, , , ) =>; { d=0 v=0x0 }
out: ('', 0, 1 ) 1033387674.682655
p17700 1033387674.683640 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Spell/spell_error_color_blue', 'C', 0, , , ) =>; { d=0 v=0x0 }
out: ('', 0, 1 ) 1033387674.684110
p17700 1033387674.909343 : ([0x805a268])->ping () =>; 0x4524
1033387674.909418
p17700 1033387674.910527 : ([0x805a268])->add_client ([0x8062df8], )
1033387674.910997
p17700 1033387674.912147 : ([0x805a268])->get_default_database () =>;
[0x80601c0] 1033387674.912245
...
p17700 1033387674.959427 : ([0x80601c0])->lookup_with_schema_name
('/GNOME/Spell/spell_error_color_blue', 'C', 0, , , ) =>; { d=0 v=0x0 }
out: ('', 0, 1 ) 1033387674.959823
--
[EMAIL PROTECTED] <><, Pseudo Engineer, itinerant idiot
_______________________________________________
evolution-hackers maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers