Measure the whole load time not just preparing speed dial markup
This commit is contained in:
parent
5774aa9e81
commit
1cdda41b59
1 changed files with 2 additions and 2 deletions
|
@ -3864,6 +3864,8 @@ midori_view_set_uri (MidoriView* view,
|
||||||
katze_item_set_uri (view->item, "");
|
katze_item_set_uri (view->item, "");
|
||||||
|
|
||||||
data = prepare_speed_dial_html (view);
|
data = prepare_speed_dial_html (view);
|
||||||
|
midori_view_load_alternate_string (view,
|
||||||
|
data, "res:/", "about:blank", NULL);
|
||||||
|
|
||||||
#ifdef G_ENABLE_DEBUG
|
#ifdef G_ENABLE_DEBUG
|
||||||
if (g_getenv ("MIDORI_STARTTIME") != NULL)
|
if (g_getenv ("MIDORI_STARTTIME") != NULL)
|
||||||
|
@ -3872,8 +3874,6 @@ midori_view_set_uri (MidoriView* view,
|
||||||
g_timer_destroy (timer);
|
g_timer_destroy (timer);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
midori_view_load_alternate_string (view,
|
|
||||||
data, "res:/", "about:blank", NULL);
|
|
||||||
g_free (data);
|
g_free (data);
|
||||||
}
|
}
|
||||||
/* This is not prefectly elegant, but creating
|
/* This is not prefectly elegant, but creating
|
||||||
|
|
Loading…
Reference in a new issue