From 4f1169e3262eff5687d638aea9128ae7a660cd59 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 19 Aug 2020 22:44:55 +0200 Subject: [PATCH] Add extra timing debug. Issue: #1162 --- source/rofi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/rofi.c b/source/rofi.c index 0b47a9c7..68001696 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1110,15 +1110,19 @@ int main ( int argc, char *argv[] ) } rofi_view_workers_initialize (); + TICK_N ( "Workers initialize" ); rofi_icon_fetcher_init ( ); + TICK_N ( "Icon fetcher initialize" ); // Create pid file int pfd = create_pid_file ( pidfile ); + TICK_N ( "Pid file created" ); if ( pfd < 0 ) { cleanup (); return EXIT_FAILURE; } textbox_setup (); + TICK_N ( "Text box setup" ); if ( !display_late_setup () ) { g_warning ( "Failed to properly finish display setup" );