[opensuse-gnome] Main-menu performance
Captain_magnus wrote a patch to improve main-menu's performance (bug #350662), and for some reason I missed it during the main menu bug week. I just resurrected that patch and took some timings. Before Magnus's patch: 12:27:46.0139 (user:0.0480, sys:0.0160) - Main-menu starts up 12:27:46.0356 (user:0.0520, sys:0.0200) - Migrating old configurations 12:27:46.0622 (user:0.0720, sys:0.0200) - Creating user interface for whole applet 12:27:46.0900 (user:0.1000, sys:0.0200) - main_menu_ui_new(): setup_bookmark_agents 12:27:46.1440 (user:0.1400, sys:0.0240) - main_menu_ui_new(): create_panel_button 12:27:46.1483 (user:0.1440, sys:0.0240) - main_menu_ui_new(): create_slab_window 12:27:46.1500 (user:0.1440, sys:0.0240) - main_menu_ui_new(): create_search_section 12:27:46.1511 (user:0.1440, sys:0.0240) - main_menu_ui_new(): create_file_section 12:27:46.1513 (user:0.1440, sys:0.0240) - main_menu_ui_new(): create_user_apps_section 12:27:46.2405 (user:0.2040, sys:0.0240) - main_menu_ui_new(): create_rct_apps_section 12:27:46.2596 (user:0.2120, sys:0.0240) - main_menu_ui_new(): create_user_docs_section 12:27:46.3416 (user:0.2520, sys:0.0320) - main_menu_ui_new(): create_rct_docs_section 12:27:47.0364 (user:0.8200, sys:0.0400) - main_menu_ui_new(): create_user_dirs_section 12:27:47.0562 (user:0.8400, sys:0.0400) - main_menu_ui_new(): create_system_section 12:27:47.0698 (user:0.8440, sys:0.0440) - main_menu_ui_new(): create_status_section 12:27:47.0973 (user:0.8640, sys:0.0440) - main_menu_ui_new(): create_more_buttons 12:27:47.0975 (user:0.8640, sys:0.0440) - main_menu_ui_new(): setup_file_tables 12:27:47.1001 (user:0.8680, sys:0.0440) - main_menu_ui_new(): setup_lock_down 12:27:47.1014 (user:0.8680, sys:0.0440) - main_menu_ui_new(): bind_beagle_search_key 12:27:47.1015 (user:0.8680, sys:0.0440) - main_menu_ui_new(): update_limits 12:27:47.1029 (user:0.8680, sys:0.0440) - main_menu_ui_new(): select_page 12:27:47.1031 (user:0.8680, sys:0.0440) - main_menu_ui_new(): apply_lockdown_settings 12:27:47.4668 (user:1.1600, sys:0.0440) - Showing all widgets in applet 12:27:47.4711 (user:1.1640, sys:0.0440) - Finished initializing applet After Magnus's patch: 12:52:55.8079 (user:0.0440, sys:0.0200) - Main-menu starts up 12:52:55.8126 (user:0.0440, sys:0.0200) - Migrating old configurations 12:52:55.8527 (user:0.0680, sys:0.0240) - Creating user interface for whole applet 12:52:55.8823 (user:0.0920, sys:0.0240) - main_menu_ui_new(): setup_bookmark_agents 12:52:55.9431 (user:0.1240, sys:0.0280) - main_menu_ui_new(): create_panel_button 12:52:55.9480 (user:0.1320, sys:0.0280) - main_menu_ui_new(): create_slab_window 12:52:55.9498 (user:0.1320, sys:0.0280) - main_menu_ui_new(): create_search_section 12:52:55.9509 (user:0.1320, sys:0.0280) - main_menu_ui_new(): create_file_section 12:52:55.9510 (user:0.1320, sys:0.0280) - main_menu_ui_new(): create_user_apps_section 12:52:55.9514 (user:0.1320, sys:0.0280) - main_menu_ui_new(): create_rct_apps_section 12:52:55.9515 (user:0.1320, sys:0.0280) - main_menu_ui_new(): create_user_docs_section 12:52:55.9516 (user:0.1320, sys:0.0280) - main_menu_ui_new(): create_rct_docs_section 12:52:55.9575 (user:0.1360, sys:0.0280) - main_menu_ui_new(): create_user_dirs_section 12:52:55.9577 (user:0.1360, sys:0.0280) - main_menu_ui_new(): create_system_section 12:52:55.9578 (user:0.1360, sys:0.0280) - main_menu_ui_new(): create_status_section 12:52:56.0105 (user:0.1560, sys:0.0320) - main_menu_ui_new(): create_more_buttons 12:52:56.0107 (user:0.1560, sys:0.0320) - main_menu_ui_new(): setup_file_tables 12:52:56.0109 (user:0.1560, sys:0.0320) - main_menu_ui_new(): setup_lock_down 12:52:56.0116 (user:0.1560, sys:0.0320) - main_menu_ui_new(): bind_beagle_search_key 12:52:56.0117 (user:0.1560, sys:0.0320) - main_menu_ui_new(): select_page 12:52:56.0122 (user:0.1560, sys:0.0320) - main_menu_ui_new(): apply_lockdown_settings 12:52:56.3112 (user:0.3360, sys:0.0480) - Showing all widgets in applet 12:52:56.3191 (user:0.3400, sys:0.0480) - Finished initializing applet I.e. startup goes from 1.16 sec down to 0.34 sec. And the patch is tiny! I think we all owe Magnus a big keg of beer :) Federico -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
I.e. startup goes from 1.16 sec down to 0.34 sec. And the patch is tiny! I think we all owe Magnus a big keg of beer :)
Nice one Captain - that's one of my main annoyances so it's fab to see it being sorted. -- James Ogley, openSUSE Member: GNOME Team and Planet SUSE. riggwelter@opensuse.org http://opensuse.org/GNOME http://planetsuse.org openSUSE: Get It, Discover It, Create It at http://www.opensuse.org -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
participants (2)
-
Federico Mena Quintero
-
James Ogley