didn't mean to commit the granular bootstrap tracing...
This commit is contained in:
parent
aac9cf1fe0
commit
45fc6758f0
1 changed files with 0 additions and 20 deletions
20
index.php
20
index.php
|
@ -100,37 +100,17 @@ require_once "core/util.php";
|
||||||
global $cache, $config, $database, $user, $page, $_tracer;
|
global $cache, $config, $database, $user, $page, $_tracer;
|
||||||
_sanitise_environment();
|
_sanitise_environment();
|
||||||
$_tracer->begin("Bootstrap");
|
$_tracer->begin("Bootstrap");
|
||||||
$_tracer->begin("Load core");
|
|
||||||
_load_core_files();
|
_load_core_files();
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("Cache");
|
|
||||||
$cache = new Cache(CACHE_DSN);
|
$cache = new Cache(CACHE_DSN);
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("Database");
|
|
||||||
$database = new Database(DATABASE_DSN);
|
$database = new Database(DATABASE_DSN);
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("DatabaseConfig");
|
|
||||||
$config = new DatabaseConfig($database);
|
$config = new DatabaseConfig($database);
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("ExtensionInfo");
|
|
||||||
ExtensionInfo::load_all_extension_info();
|
ExtensionInfo::load_all_extension_info();
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("Extension");
|
|
||||||
Extension::determine_enabled_extensions();
|
Extension::determine_enabled_extensions();
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("Load extension");
|
|
||||||
require_all(zglob("ext/{".Extension::get_enabled_extensions_as_string()."}/main.php"));
|
require_all(zglob("ext/{".Extension::get_enabled_extensions_as_string()."}/main.php"));
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("Load theme");
|
|
||||||
_load_theme_files();
|
_load_theme_files();
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("Page");
|
|
||||||
$page = new Page();
|
$page = new Page();
|
||||||
$_tracer->end();
|
|
||||||
$_tracer->begin("Load Event Listeners");
|
|
||||||
_load_event_listeners();
|
_load_event_listeners();
|
||||||
$_tracer->end();
|
$_tracer->end();
|
||||||
$_tracer->end();
|
|
||||||
|
|
||||||
|
|
||||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
|
||||||
|
|
Reference in a new issue