Made a new SectionProfileCallback class that extends ScopedCallback
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 17 Dec 2014 21:16:06 +0000 (13:16 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 17 Dec 2014 21:16:06 +0000 (13:16 -0800)
commit626aede99bf83733d1aeb4dfd636129494d2888e
tree8c31f0699c0bd5bfaae0f6d1d15948c7d0b6928b
parent2ce435465a2ee296656329cd97699d445e3b939a
Made a new SectionProfileCallback class that extends ScopedCallback

* This is now used by SectionProfiler and avoids the high overhead of call_user_func_array().

Change-Id: I7ff2c9a35c7cd8ee462f2368b655e766ad33dd63
autoload.php
includes/libs/ScopedCallback.php
includes/profiler/ProfilerStub.php
includes/profiler/SectionProfiler.php