vmarchaud
0ebf01dc53
perf_hooks: add HttpRequest statistics monitoring #28445
```js
const { PerformanceObserver, performance } = require('perf_hooks');
const http = require('http');
const obs = new PerformanceObserver((items) => {
const entry = items.getEntries()[0];
console.log(entry.name, entry.duration);
});
obs.observe({ entryTypes: ['http'] });
const server = http.Server(function(req, res) {
server.close();
res.writeHead(200);
res.end('hello world\n');
});
server.listen(0, function() {
const req = http.request({
port: this.address().port,
path: '/',
method: 'POST'
}).end();
});
```
PR-URL: https://github.com/nodejs/node/pull/28486
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-07-12 00:36:27 +02:00
..
2019-07-04 16:31:17 -07:00
2019-06-09 11:02:22 +08:00
2019-06-12 19:50:03 -07:00
2019-05-05 14:44:17 -07:00
2019-07-02 00:40:07 +02:00
2019-05-13 12:47:45 +02:00
2019-05-04 21:19:19 -07:00
2019-05-21 15:39:09 -05:00
2019-05-13 19:39:34 +08:00
2019-05-13 19:39:34 +08:00
2019-06-24 13:27:51 -07:00
2019-05-13 19:39:34 +08:00
2019-06-25 18:10:12 +02:00
2019-06-26 16:29:10 +08:00
2019-06-17 10:18:09 +08:00
2019-06-17 10:18:09 +08:00
2019-05-09 08:54:04 -07:00
2019-05-23 07:53:57 -07:00
2019-06-22 13:18:03 -04:00
2019-05-13 19:39:34 +08:00
2019-06-17 10:18:09 +08:00
2019-05-13 19:39:34 +08:00
2019-05-27 14:10:51 -04:00
2019-06-17 10:18:09 +08:00
2019-05-27 14:10:51 -04:00
2019-06-17 10:18:09 +08:00
2019-06-17 10:18:09 +08:00
2019-05-27 14:10:51 -04:00
2019-06-30 13:21:09 -04:00
2019-06-02 15:01:31 +05:30
2019-07-04 07:03:32 +02:00
2019-06-06 19:38:34 -04:00
2019-07-02 01:55:58 +02:00
2019-05-30 08:44:34 +02:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:49 -07:00
2019-06-25 05:37:14 +02:00
2019-06-18 18:42:48 +02:00
2019-06-10 09:56:45 -07:00
2019-05-30 16:39:45 +02:00
2019-05-26 21:17:31 -07:00
2019-06-26 16:20:50 +08:00
2019-06-24 07:23:41 +02:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-05-13 14:26:38 -07:00
2019-05-13 19:39:34 +08:00
2019-06-10 09:14:13 -07:00
2019-06-17 10:18:09 +08:00
2019-06-17 10:18:09 +08:00
2019-06-17 10:18:09 +08:00
2019-06-17 10:18:09 +08:00
2019-06-12 22:01:07 -07:00
2019-06-12 22:01:07 -07:00
2019-06-12 22:01:07 -07:00
2019-05-16 12:50:05 +02:00
2019-05-13 19:39:34 +08:00
2019-05-13 16:07:34 -04:00
2019-05-17 05:39:00 +02:00
2019-05-17 05:39:00 +02:00
2019-05-17 05:39:00 +02:00
2019-06-25 18:07:03 +02:00
2019-05-18 09:15:01 +02:00
2019-05-10 11:39:43 -07:00
2019-06-22 23:17:44 +02:00
2019-06-02 16:18:39 +02:00
2019-05-30 15:02:11 +05:30
2019-06-14 03:24:41 +08:00
2019-06-14 03:24:41 +08:00
2019-05-23 11:28:07 +02:00
2019-07-06 21:12:27 -07:00
2019-05-13 19:39:34 +08:00
2019-06-10 17:16:10 +02:00
2019-05-13 19:39:34 +08:00
2019-05-18 18:31:13 +02:00
2019-07-10 16:22:18 +02:00
2019-05-28 10:59:53 -07:00
2019-05-29 12:26:38 +02:00
2019-05-27 12:06:47 +03:00
2019-05-28 00:33:13 +03:00
2019-06-17 15:29:19 -07:00
2019-06-28 15:20:29 -04:00
2019-05-23 05:35:19 +02:00
2019-05-04 23:11:33 +08:00
2019-05-20 00:05:15 +02:00
2019-07-05 22:36:53 -07:00
2019-07-05 22:36:53 -07:00
2019-05-13 19:39:34 +08:00
2019-06-08 13:35:37 +02:00
2019-07-05 22:36:53 -07:00
2019-05-20 00:05:46 +02:00
2019-06-01 15:18:06 +02:00
2019-05-13 19:39:34 +08:00
2019-07-12 00:36:27 +02:00
2019-07-05 22:36:53 -07:00
2019-05-27 17:43:16 +03:00
2019-07-05 22:36:53 -07:00
2019-05-20 00:05:46 +02:00
2019-06-02 10:17:50 +02:00
2019-05-27 16:33:49 +03:00
2019-05-24 19:26:46 -07:00
2019-06-10 18:23:13 +02:00
2019-07-03 22:17:41 +02:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:57:23 -07:00
2019-06-10 09:56:55 -07:00
2019-06-17 11:58:26 +02:00
2019-06-10 09:56:55 -07:00
2019-05-13 19:39:34 +08:00
2019-06-21 04:10:48 -06:00
2019-06-03 18:15:04 +03:00
2019-05-14 01:34:32 +02:00
2019-05-18 11:08:47 +08:00
2019-05-14 16:13:57 -07:00
2019-05-06 04:57:49 +02:00
2019-05-13 12:40:56 -04:00
2019-05-27 12:35:55 -07:00
2019-06-17 10:18:09 +08:00
2019-06-04 06:02:58 +02:00
2019-07-03 22:29:38 +02:00
2019-07-10 01:32:25 +08:00
2019-07-05 05:55:04 +02:00
2019-05-13 19:39:34 +08:00
2019-05-27 17:12:57 +03:00
2019-07-10 01:32:25 +08:00
2019-05-13 19:39:34 +08:00
2019-05-18 11:08:47 +08:00
2019-06-25 10:37:27 -07:00
2019-06-20 11:02:16 -06:00
2019-07-01 22:07:42 -07:00
2019-07-07 11:29:31 -04:00
2019-06-26 16:34:23 +08:00
2019-07-03 22:04:05 +02:00
2019-05-13 19:39:34 +08:00
2019-05-13 19:39:34 +08:00
2019-05-12 15:04:27 +02:00
2019-05-08 08:15:15 +02:00
2019-05-08 08:15:15 +02:00
2019-05-08 08:15:15 +02:00
2019-05-08 08:15:15 +02:00
2019-05-03 12:14:36 -07:00
2019-07-03 10:54:07 -04:00
2019-06-17 10:18:09 +08:00
2019-05-19 23:37:51 +02:00
2019-06-24 18:34:50 -07:00
2019-06-25 14:46:10 -07:00
2019-05-13 19:39:34 +08:00
2019-05-30 14:35:29 +02:00
2019-06-02 16:56:13 +02:00
2019-07-05 23:16:08 -07:00
2019-06-25 14:46:10 -07:00
2019-06-12 22:01:07 -07:00
2019-06-10 09:56:55 -07:00
2019-06-04 08:07:31 +02:00
2019-05-03 16:12:14 -07:00
2019-05-05 08:23:43 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-05-25 08:50:02 +02:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:57:12 -07:00
2019-06-06 10:18:04 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:57:31 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:56:55 -07:00
2019-05-06 17:19:13 +02:00
2019-06-10 09:57:31 -07:00
2019-05-08 04:59:42 +02:00
2019-06-25 18:13:53 +02:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:57:08 -07:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:57:19 -07:00
2019-05-20 11:09:02 +02:00
2019-06-10 09:56:55 -07:00
2019-06-10 09:57:28 -07:00
2019-05-18 19:46:55 -07:00
2019-06-10 09:57:28 -07:00
2019-05-10 11:25:29 -07:00
2019-06-26 16:13:05 +08:00
2019-05-23 10:37:12 +08:00
2019-06-10 09:57:28 -07:00
2019-06-10 09:56:55 -07:00
2019-07-07 11:55:48 -04:00
2019-05-20 14:20:59 +02:00
2019-06-17 11:49:42 +02:00
2019-06-17 10:18:09 +08:00
2019-05-13 19:39:34 +08:00
2019-05-30 15:25:55 +02:00
2019-06-25 18:09:13 +02:00
2019-05-11 21:35:17 +08:00
2019-06-10 09:57:16 -07:00
2019-05-16 11:55:32 -04:00
2019-06-20 11:55:46 +02:00
2019-06-17 08:27:17 -04:00
2019-06-19 10:05:45 -07:00
2019-06-02 17:50:54 +02:00
2019-06-12 20:56:44 -07:00
2019-05-17 14:01:27 +02:00
2019-06-12 20:56:44 -07:00
2019-07-08 21:03:05 -07:00
2019-05-19 22:01:34 +02:00
2019-06-10 15:22:54 +02:00
2019-06-05 23:23:03 +08:00
2019-06-10 15:41:09 +02:00
2019-06-02 17:50:54 +02:00
2019-07-03 22:13:54 +02:00
2019-06-20 11:27:27 -06:00
2019-05-13 19:39:34 +08:00
2019-06-20 12:54:26 -06:00
2019-06-01 10:01:23 -04:00
2019-05-13 19:39:34 +08:00
2019-05-13 19:39:34 +08:00
2019-05-13 19:39:34 +08:00