Nilambar Sharma
|
df98093c4d
|
Update profile commands examples (#189)
* Update profile commands examples
* Update orderby argument description in profile commands
* Update profile feature tests
|
2024-04-05 08:37:53 -07:00 |
|
Pascal Birchler
|
26107b5224
|
Improve SQLite compatibility (#187)
|
2023-10-23 13:23:22 -07:00 |
|
Daniel Bachhuber
|
6a84f43d74
|
Remove part of the test condition to fix failing tests (#184)
The `cache_hits` dropped to 1 on trunk, but it's not important that we
test this with a high level of precision
|
2023-09-28 16:51:40 -07:00 |
|
Daniel Bachhuber
|
3d564278ed
|
Reduce test flakiness by dropping assertion (#180)
This value is 12 sometimes, and 13 other times.
|
2023-02-17 10:52:09 -08:00 |
|
Alain Schlesser
|
7d8734288b
|
Adapt test
|
2022-01-06 18:44:42 -06:00 |
|
Alain Schlesser
|
4424e71cf2
|
Replace runcommand in test files
|
2021-04-19 17:48:21 +01:00 |
|
Alain Schlesser
|
d4d002e627
|
Add test requirements
|
2021-04-19 17:46:28 +01:00 |
|
Alain Schlesser
|
0b2b81e862
|
Fix single request tests
|
2021-04-19 14:40:40 +01:00 |
|
Alain Schlesser
|
7b5c5f01f9
|
Replace remaining code references to runcommand namespace
|
2021-04-19 14:28:55 +01:00 |
|
Alain Schlesser
|
c79f1a9145
|
Improve brittle tests
|
2020-11-13 09:09:39 +01:00 |
|
Alain Schlesser
|
fc076a2f4a
|
Adapt when statement for broken test
|
2018-08-21 18:53:54 +02:00 |
|
Alain Schlesser
|
31cf44d7b6
|
Remove random callback counts from test to make it more robust
|
2018-08-21 18:52:40 +02:00 |
|
Sidsector9
|
60bd8d5cd0
|
GH#36 Added functional test
|
2017-10-11 15:44:08 +05:30 |
|
Sidsector9
|
292a4566f1
|
GH#36 Added feature for eval and file-eval
|
2017-10-11 14:39:22 +05:30 |
|
Sidsector9
|
cb164727b5
|
GH#36 Moved function to correct file
|
2017-10-11 13:27:14 +05:30 |
|
Daniel Bachhuber
|
3a475d7b66
|
This test also needs to be disabled for PHP 7
See #126
|
2017-02-07 08:11:06 -08:00 |
|
Daniel Bachhuber
|
a106a066d7
|
Update hook count for Twenty Seventeen
|
2017-02-07 08:10:53 -08:00 |
|
Daniel Bachhuber
|
ed26b4ce6b
|
Disable these tests on PHP 7, which aren't functional
See #126
|
2017-02-07 08:08:46 -08:00 |
|
Daniel Bachhuber
|
b35ee4e6e6
|
Update test that fails every time I add a new feature
|
2016-11-14 06:41:41 -08:00 |
|
Daniel Bachhuber
|
fefcc60b0d
|
Use --hook[=<hook>] to profile all hooks, or callbacks to spec hook
|
2016-11-14 06:30:19 -08:00 |
|
Daniel Bachhuber
|
f5690b20a4
|
Drop execution time from cache test
Sometimes this rounds to a non-zero value, which causes tests to fail
|
2016-11-03 06:21:17 -07:00 |
|
Daniel Bachhuber
|
bb64f248f9
|
Support for profiling wp_loaded:after
|
2016-10-26 06:54:43 -07:00 |
|
Daniel Bachhuber
|
64afe65175
|
Use an explicit flag to indicate when the total should be displayed
|
2016-10-26 06:38:17 -07:00 |
|
Daniel Bachhuber
|
b9dfb4d67c
|
Ignore total time in this tests, which is going to be variable
|
2016-10-26 06:31:35 -07:00 |
|
Daniel Bachhuber
|
199b515b73
|
Ensure time is rounded when there's no name column present
Also drops the total footer when there's only one item displayed
|
2016-10-26 06:17:12 -07:00 |
|
Daniel Bachhuber
|
e65473afd7
|
Assert --spotlight as an available flag
|
2016-10-26 05:54:26 -07:00 |
|
Daniel Bachhuber
|
c95664f0b6
|
Use --spotlight to filter zero-ish results from the set
|
2016-10-26 05:40:34 -07:00 |
|
Daniel Bachhuber
|
b60edfa0d8
|
Failing test case for profiling muplugins_loaded:before
|
2016-10-19 04:54:58 -07:00 |
|
Daniel Bachhuber
|
0989767e2e
|
Shorten the code location at the point of rendering the loggers
|
2016-10-09 16:15:16 -07:00 |
|
Daniel Bachhuber
|
0a365862d3
|
Use more precise hooks for profiling intermediate stages
|
2016-10-09 15:43:02 -07:00 |
|
Daniel Bachhuber
|
944696431a
|
Put names to the intermediate stages
For the most part, it's `<hook>:before`, except when it's the last hook
in the sequence.
|
2016-10-09 09:05:27 -07:00 |
|
Daniel Bachhuber
|
178e0454b6
|
Use --all to profile callbacks on all hooks
|
2016-10-08 16:18:48 -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
|
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
|
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
|
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
|
c5c9179af5
|
Use --all flag to profile all stages
|
2016-10-07 15:45:48 -07:00 |
|
Daniel Bachhuber
|
f0ad855d0a
|
Keep track of filter depth to appropriately handle recursion
|
2016-10-07 15:27:29 -07:00 |
|
Daniel Bachhuber
|
6e4eecf85c
|
Failing test cause for hooks being called twice
|
2016-10-07 14:45:13 -07:00 |
|
Daniel Bachhuber
|
b352251d80
|
Include callback definition source when profiling hooks
|
2016-10-07 14:20:08 -07:00 |
|
Daniel Bachhuber
|
1025c4b464
|
Failing test case for #46
|
2016-10-07 13:44:45 -07:00 |
|
Daniel Bachhuber
|
0e9528cdcc
|
Support profiling arbitrary file execution
|
2016-10-04 14:38:12 -07:00 |
|
Daniel Bachhuber
|
8a29fd7e57
|
Support profiling the shutdown hook
|
2016-10-04 14:10:27 -07:00 |
|
Daniel Bachhuber
|
c206a27eea
|
Use wp profile eval to profile arbitrary code execution
|
2016-10-04 12:57:10 -07:00 |
|
Daniel Bachhuber
|
6e685729a6
|
Fix test setup for assertion
|
2016-10-04 07:27:31 -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
|
b22d0f85c7
|
Split wp profile into wp profile stage and wp profile hook
|
2016-10-04 06:47:01 -07:00 |
|