File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
4
4
5
+ # 1.23.2 - unreleased
6
+ - Changed stopwatch category from default to "httplug", so it's more prominent on Execution timeline view
7
+
5
8
# 1.23.1 - 2021-10-13
6
9
- Fix issue with whitespaces in URL when URL in tab was copied
7
10
- Fixed dark mode compatiblity, making some previously invisible elements visible
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ class ProfileClient implements HttpClient, HttpAsyncClient
52
52
*/
53
53
private $ eventNames = [];
54
54
55
+ private const STOPWATCH_CATEGORY = 'httplug ' ;
56
+
55
57
/**
56
58
* @param HttpClient|HttpAsyncClient $client The client to profile. Client must implement HttpClient or
57
59
* HttpAsyncClient interface.
@@ -85,7 +87,7 @@ public function sendAsyncRequest(RequestInterface $request)
85
87
}
86
88
87
89
$ this ->collectRequestInformations ($ request , $ stack );
88
- $ event = $ this ->stopwatch ->start ($ this ->getStopwatchEventName ($ request ));
90
+ $ event = $ this ->stopwatch ->start ($ this ->getStopwatchEventName ($ request ), self :: STOPWATCH_CATEGORY );
89
91
90
92
$ onFulfilled = function (ResponseInterface $ response ) use ($ event , $ stack ) {
91
93
$ this ->collectResponseInformations ($ response , $ event , $ stack );
@@ -128,7 +130,7 @@ protected function doSendRequest(RequestInterface $request)
128
130
}
129
131
130
132
$ this ->collectRequestInformations ($ request , $ stack );
131
- $ event = $ this ->stopwatch ->start ($ this ->getStopwatchEventName ($ request ));
133
+ $ event = $ this ->stopwatch ->start ($ this ->getStopwatchEventName ($ request ), self :: STOPWATCH_CATEGORY );
132
134
133
135
try {
134
136
$ response = $ this ->client ->sendRequest ($ request );
You can’t perform that action at this time.
0 commit comments