More Profiler class refactoring
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 14 Apr 2014 20:30:58 +0000 (13:30 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 21 Apr 2014 17:54:51 +0000 (10:54 -0700)
commit9c586d6361de91c9ca7b675afb674bb215f8d546
tree64de2ce1f2641b0cd405471190c7e1ea9956aca2
parent41f934253859255618703ed4facb7a76dff89727
More Profiler class refactoring

* Factored a ProfilerStandard class out of Profiler
* Profiler is now an abstract base class
* For b/c, using Profiler as the profiler switches to ProfilerStub
  to avoid trying to instantiate an abstract class
* Also factored out a small TransactionProfiler class
* Fixed fatal in "new ProfilerStub()" line in getInstance();
  Profiler has long since type hinted $params as an array
* Removed bogus debug var usage left in ProfilerMwprof::getRawData()
* Removed useless mTimeMetric stuff

Change-Id: I854dabba6c8b1fb7d92baca59ebd4af25878d11d
includes/AutoLoader.php
includes/profiler/Profiler.php
includes/profiler/ProfilerMwprof.php
includes/profiler/ProfilerSimpleDB.php
includes/profiler/ProfilerSimpleText.php
includes/profiler/ProfilerSimpleTrace.php
includes/profiler/ProfilerSimpleUDP.php
includes/profiler/ProfilerStandard.php [new file with mode: 0644]