Daniel Bachhuber
b317d5b118
Merge pull request #93 from runcommand/23-callback-count
...
Indicate callback count when profiling a stage
2016-10-08 06:01:56 -07:00
Daniel Bachhuber
67f7050cda
Merge pull request #92 from runcommand/registered-commands
...
Ensure we only register specific methods as commands
2016-10-07 16:23:03 -07:00
Daniel Bachhuber
7be192206e
Indicate callback count when profiling a stage
2016-10-07 16:18:04 -07:00
Daniel Bachhuber
b5946648b7
Ensure we only register specific methods as commands
2016-10-07 16:02:26 -07:00
Daniel Bachhuber
bd11205e6c
Assert hooks for each stage
2016-10-07 15:58:08 -07:00
Daniel Bachhuber
c24c302f4f
Use --all flag to profile all stages
2016-10-07 15:45:48 -07:00
Daniel Bachhuber
5d4d6450ce
Keep track of filter depth to appropriately handle recursion
2016-10-07 15:27:29 -07:00
Daniel Bachhuber
c399e86283
Failing test cause for hooks being called twice
2016-10-07 14:45:13 -07:00
Daniel Bachhuber
99914b71b2
Include callback definition source when profiling hooks
2016-10-07 14:20:08 -07:00
Daniel Bachhuber
543453a998
Failing test case for #46
2016-10-07 13:44:45 -07:00
Daniel Bachhuber
6572e96664
Support profiling arbitrary file execution
2016-10-04 14:38:12 -07:00
Daniel Bachhuber
072d80e2d6
Support profiling the shutdown
hook
2016-10-04 14:10:27 -07:00
Daniel Bachhuber
3ff6ba0229
Use wp profile eval
to profile arbitrary code execution
2016-10-04 12:57:10 -07:00
Daniel Bachhuber
d83d6438c4
Fix test setup for assertion
2016-10-04 07:27:31 -07:00
Daniel Bachhuber
d49fc950f4
Failing test case for https://github.com/runcommand/sparks/issues/22
2016-10-04 07:17:24 -07:00
Daniel Bachhuber
7e05977968
Split wp profile
into wp profile stage
and wp profile hook
2016-10-04 06:47:01 -07:00
Daniel Bachhuber
a52759f301
Update test suite to actually handle WP_VERSION
2016-09-27 06:17:48 -07:00
Daniel Bachhuber
b991373784
Fix profiling of early hooks
...
When we throw an Exception to bail out of the call, this means the rest
of the bootstrap code hasn't executed, and important things aren't set
up. Instead, we need to summarize early.
2016-09-23 06:33:30 -07:00
Daniel Bachhuber
8f06175f3f
Rename profile hook feature file
2016-09-23 06:21:55 -07:00
Daniel Bachhuber
033d53aaaf
Ensure the last step to a stage is logged appropriately
2016-09-08 17:42:58 -07:00
Daniel Bachhuber
bdf94d8b1f
Fix bottom of the table when there aren't any items displayed
...
The cells need to be filled in appropriately
2016-09-08 06:15:10 -07:00
Daniel Bachhuber
c1d7639e9b
Catch hook Exceptions incrementally
...
This permits our output buffering to work as expected.
2016-09-08 06:02:48 -07:00
Daniel Bachhuber
0fed2f3392
Update test for true output representation
2016-09-08 05:49:18 -07:00
Daniel Bachhuber
f548144ab2
Bail early when there aren't any hook callbacks to run
2016-09-08 05:43:42 -07:00
Daniel Bachhuber
5a3748b62b
Register some basic hooks for the template stage
2016-08-30 06:57:55 -07:00
Daniel Bachhuber
3c8216563e
Remove the standard WP load test
2016-08-30 05:30:18 -07:00
Daniel Bachhuber
e94903dc2d
Add the feature file, which is necessary for the tests
2016-08-30 05:15:13 -07:00
Daniel Bachhuber
e830c5e08f
Use Circle to run test suite
2016-08-24 11:57:09 -07:00
Daniel Bachhuber
717ea43c89
Initial commit
2016-07-25 07:36:55 -07:00