1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-07-31 21:59:25 -04:00

Add extra timing debug.

Issue: #1162
This commit is contained in:
Dave Davenport 2020-08-19 22:44:55 +02:00
parent 802a9489e7
commit 4f1169e326

View file

@ -1110,15 +1110,19 @@ int main ( int argc, char *argv[] )
} }
rofi_view_workers_initialize (); rofi_view_workers_initialize ();
TICK_N ( "Workers initialize" );
rofi_icon_fetcher_init ( ); rofi_icon_fetcher_init ( );
TICK_N ( "Icon fetcher initialize" );
// Create pid file // Create pid file
int pfd = create_pid_file ( pidfile ); int pfd = create_pid_file ( pidfile );
TICK_N ( "Pid file created" );
if ( pfd < 0 ) { if ( pfd < 0 ) {
cleanup (); cleanup ();
return EXIT_FAILURE; return EXIT_FAILURE;
} }
textbox_setup (); textbox_setup ();
TICK_N ( "Text box setup" );
if ( !display_late_setup () ) { if ( !display_late_setup () ) {
g_warning ( "Failed to properly finish display setup" ); g_warning ( "Failed to properly finish display setup" );