Daniel Bachhuber
|
178e0454b6
|
Use --all to profile callbacks on all hooks
|
2016-10-08 16:18:48 -07:00 |
|
Daniel Bachhuber
|
53b8253b1f
|
Merge pull request #97 from runcommand/23-precise-recursion
Keep track of recursion in a more precise manner
|
2016-10-08 16:10:40 -07:00 |
|
Daniel Bachhuber
|
5f2c0f52cc
|
Keep track of recursion in a more precise manner
|
2016-10-08 16:02:46 -07:00 |
|
Daniel Bachhuber
|
fc99033798
|
Merge pull request #96 from runcommand/23-profile-all-hooks
Omit `<hook>` to profile all called hooks
|
2016-10-08 08:47:46 -07:00 |
|
Daniel Bachhuber
|
59a672b458
|
Update test for new accepted argument
|
2016-10-08 08:24:46 -07:00 |
|
Daniel Bachhuber
|
4e6cc627cf
|
Omit <hook> to profile all called hooks
|
2016-10-08 07:27:46 -07:00 |
|
Daniel Bachhuber
|
5a42410687
|
Merge pull request #95 from runcommand/fix-abspath-relative
Fully resolve `ABSPATH`
|
2016-10-08 07:08:14 -07:00 |
|
Daniel Bachhuber
|
8af2db1892
|
Fully resolve ABSPATH
|
2016-10-08 07:00:05 -07:00 |
|
Daniel Bachhuber
|
dc970ab382
|
Merge pull request #94 from runcommand/abstract-profile-class
Abstract profiler to a dedicated class
|
2016-10-08 06:55:21 -07:00 |
|
Daniel Bachhuber
|
d15f6ac6c9
|
Abstract, to avoid direct manipulation of the global
|
2016-10-08 06:49:28 -07:00 |
|
Daniel Bachhuber
|
8969a5a859
|
Abstract profiler to a dedicated class
|
2016-10-08 06:37:41 -07:00 |
|
Daniel Bachhuber
|
d58d4b0b36
|
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
|
96a386def8
|
WordPress doesn't like this last hook added to shutdown
|
2016-10-08 05:56:25 -07:00 |
|
Daniel Bachhuber
|
69ad3a35cc
|
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
|
e403ef86e0
|
Indicate callback count when profiling a stage
|
2016-10-07 16:18:04 -07:00 |
|
Daniel Bachhuber
|
9a977569b1
|
Merge pull request #91 from runcommand/assert-stage-hooks
Assert hooks for each stage
|
2016-10-07 16:04:50 -07:00 |
|
Daniel Bachhuber
|
a2e8573328
|
Ensure we only register specific methods as commands
|
2016-10-07 16:02:26 -07:00 |
|
Daniel Bachhuber
|
a590f1be0d
|
Assert hooks for each stage
|
2016-10-07 15:58:08 -07:00 |
|
Daniel Bachhuber
|
9dbc52727c
|
Merge pull request #90 from runcommand/23-all-stages
Use --all flag to profile all stages
|
2016-10-07 15:50:35 -07:00 |
|
Daniel Bachhuber
|
c5c9179af5
|
Use --all flag to profile all stages
|
2016-10-07 15:45:48 -07:00 |
|
Daniel Bachhuber
|
d0879c6737
|
Merge pull request #89 from runcommand/hook-count
Hooks should only be called once
|
2016-10-07 15:33:49 -07:00 |
|
Daniel Bachhuber
|
f0ad855d0a
|
Keep track of filter depth to appropriately handle recursion
|
2016-10-07 15:27:29 -07:00 |
|
Daniel Bachhuber
|
1162a866e4
|
Restore existing callbacks on the next hook
While this is less precise, doing so ensures our callbacks aren't called
twice (because they'll be called twice if they're restored to the
array).
|
2016-10-07 14:57:06 -07:00 |
|
Daniel Bachhuber
|
6e4eecf85c
|
Failing test cause for hooks being called twice
|
2016-10-07 14:45:13 -07:00 |
|
Daniel Bachhuber
|
3bdc20be68
|
Merge pull request #88 from runcommand/45-callback-definition
Include callback definition source when profiling hooks
|
2016-10-07 14:36:43 -07:00 |
|
Daniel Bachhuber
|
b352251d80
|
Include callback definition source when profiling hooks
|
2016-10-07 14:20:08 -07:00 |
|
Daniel Bachhuber
|
64f1af250a
|
Merge pull request #87 from runcommand/46-skip-total
Don't include 'total' cell when the name column is omitted
|
2016-10-07 14:05:01 -07:00 |
|
Daniel Bachhuber
|
bf65cfd6f2
|
Don't include 'total' cell when the name column is omitted
|
2016-10-07 13:56:38 -07:00 |
|
Daniel Bachhuber
|
1025c4b464
|
Failing test case for #46
|
2016-10-07 13:44:45 -07:00 |
|
Daniel Bachhuber
|
e82078d3a1
|
Merge pull request #86 from runcommand/37-eval-file
Support profiling arbitrary file execution
|
2016-10-04 14:51:49 -07:00 |
|
Daniel Bachhuber
|
0e9528cdcc
|
Support profiling arbitrary file execution
|
2016-10-04 14:38:12 -07:00 |
|
Daniel Bachhuber
|
cefdfed53f
|
Merge pull request #85 from runcommand/11-shutdown
Support profiling the `shutdown` hook
|
2016-10-04 14:24:11 -07:00 |
|
Daniel Bachhuber
|
8a29fd7e57
|
Support profiling the shutdown hook
|
2016-10-04 14:10:27 -07:00 |
|
Daniel Bachhuber
|
4f77537f12
|
Merge pull request #84 from runcommand/32-profile-eval
Use `wp profile eval` to profile arbitrary code execution
|
2016-10-04 13:21:34 -07:00 |
|
Daniel Bachhuber
|
c206a27eea
|
Use wp profile eval to profile arbitrary code execution
|
2016-10-04 12:57:10 -07:00 |
|
Daniel Bachhuber
|
da150e2cb8
|
Merge pull request #83 from runcommand/22-trailingslash
Trailingslash provided URL to avoid canonical redirect
|
2016-10-04 08:05:10 -07:00 |
|
Daniel Bachhuber
|
6e685729a6
|
Fix test setup for assertion
|
2016-10-04 07:27:31 -07:00 |
|
Daniel Bachhuber
|
ee16b7982a
|
Trailingslash provided URL to avoid canonical redirect
|
2016-10-04 07:18:01 -07:00 |
|
Daniel Bachhuber
|
8fe2681eef
|
Failing test case for https://github.com/runcommand/sparks/issues/22
|
2016-10-04 07:17:24 -07:00 |
|
Daniel Bachhuber
|
8050917a52
|
Merge pull request #82 from runcommand/23-split-stage-hook
Split `wp profile` into `wp profile stage` and `wp profile hook`
|
2016-10-04 07:06:40 -07:00 |
|
Daniel Bachhuber
|
87b192afa3
|
Regenerate README for command split
|
2016-10-04 06:49:18 -07:00 |
|
Daniel Bachhuber
|
b22d0f85c7
|
Split wp profile into wp profile stage and wp profile hook
|
2016-10-04 06:47:01 -07:00 |
|
Daniel Bachhuber
|
5aa47ad6f5
|
Merge pull request #81 from runcommand/fix-installing-purchase-link
Fix purchase link in Installing section
|
2016-10-04 06:44:19 -07:00 |
|
Daniel Bachhuber
|
4dd5a19043
|
Fix purchase link in Installing section
$49 is now $129
|
2016-10-04 06:23:01 -07:00 |
|
Daniel Bachhuber
|
2108258a98
|
Merge pull request #80 from runcommand/end-early-access
End early access; use common premium support stub
|
2016-10-04 06:17:56 -07:00 |
|
Daniel Bachhuber
|
ba76b51509
|
End early access; use common premium support stub
|
2016-09-30 06:49:10 -07:00 |
|
Daniel Bachhuber
|
f1eee81f84
|
Merge pull request #79 from runcommand/really-late-hook
Ensure last callback is extremely late
|
2016-09-28 05:39:13 -07:00 |
|
Daniel Bachhuber
|
290b7ff1a0
|
Ensure last callback is extremely late
|
2016-09-28 05:27:58 -07:00 |
|
Daniel Bachhuber
|
7afe3e4aea
|
Merge pull request #78 from runcommand/fix-variable-76
Fix incorrect variable
|
2016-09-28 05:19:34 -07:00 |
|
Daniel Bachhuber
|
b6c5ddb2a5
|
Fix incorrect variable
|
2016-09-28 05:12:54 -07:00 |
|