diff --git a/static-caches-profiling.php b/static-caches-profiling.php new file mode 100644 index 0000000000..d05c339d5c --- /dev/null +++ b/static-caches-profiling.php @@ -0,0 +1,22 @@ +setSitePath('sites/default'); +Settings::initialize($kernel->getAppRoot(), $kernel->getSitePath(), $autoloader); +$kernel->boot(); + +foreach (range(1, 1000) as $load_count) { + $node_1 = Node::load(1); +}