Add ProfilerExcimer
authorTim Starling <tstarling@wikimedia.org>
Wed, 28 Nov 2018 03:36:22 +0000 (14:36 +1100)
committerTim Starling <tstarling@wikimedia.org>
Fri, 7 Dec 2018 00:42:59 +0000 (11:42 +1100)
commit6373e3d1d4100482feab0e63a65d188062127a31
treeee4dfa37529821809a4f99b4ed117c2f05a9717d
parent04813650040bce661fcbb625cafcb7e3f34a49eb
Add ProfilerExcimer

Add a Profiler subclass for the new excimer extension. Since it does not
provide function counts, it's a little bit awkward to return it in the
format required by getFunctionStats(), but getOutput() works quite well.

Fix totally broken ProfilerOutputDb, the first parameter to the
onTransactionCommitOrIdle callback is not a Database. It is in the
second parameter, but most callers do not use it.

Change-Id: Icb20f3a5b0b09ff2905f1711f3681c398aa026e2
Depends-On: I6a9ccf5a12ef998e029033adf08af95c42fb7f8e
autoload.php
includes/profiler/ProfilerExcimer.php [new file with mode: 0644]
includes/profiler/output/ProfilerOutputDb.php
tests/phan/config.php
tests/phan/stubs/excimer.php [new file with mode: 0644]