Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-12-20 04:40:41 +0300
committerJames M Snell <jasnell@gmail.com>2018-01-02 19:56:30 +0300
commit231b1166cfec42e445613a59286fd7610c0d7481 (patch)
treee13aa1119a6fc0733a44687a598fb672a29435dd /src/node_perf_common.h
parent54062d30cf3550fdb6220fa580724b76da817f32 (diff)
http2: perf_hooks integration
Collect and report basic timing information about `Http2Session` and `Http2Stream` instances. PR-URL: https://github.com/nodejs/node/pull/17906 Refs: https://github.com/nodejs/node/issues/17746 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/node_perf_common.h')
-rw-r--r--src/node_perf_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_perf_common.h b/src/node_perf_common.h
index dc884cac97c..713f126d7f7 100644
--- a/src/node_perf_common.h
+++ b/src/node_perf_common.h
@@ -38,7 +38,8 @@ extern uint64_t performance_v8_start;
V(MARK, "mark") \
V(MEASURE, "measure") \
V(GC, "gc") \
- V(FUNCTION, "function")
+ V(FUNCTION, "function") \
+ V(HTTP2, "http2")
enum PerformanceMilestone {
#define V(name, _) NODE_PERFORMANCE_MILESTONE_##name,