diff options
author | James M Snell <jasnell@gmail.com> | 2020-02-27 13:14:38 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2020-03-02 11:01:00 -0800 |
commit | eb2fe5ff90d68520b148fdc86362c07561c1c635 (patch) | |
tree | 6ad5259a9423f6de5d414abe938576627b9ea432 /node.gyp | |
parent | 0fac393d263fc7e2f4f054c9d4aab0c1c3cf00c8 (diff) | |
download | node-new-eb2fe5ff90d68520b148fdc86362c07561c1c635.tar.gz |
perf,src: add HistogramBase and internal/histogram.js
Separating this out from the QUIC PR to allow it to be separately
reviewed. The QUIC implementation makes use of the hdr_histogram
for dynamic performance monitoring. This introduces a BaseObject
class that allows the internal histograms to be accessed on the
JavaScript side and adds a generic Histogram class that will be
used by both QUIC and perf_hooks (for the event loop delay
monitoring).
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/31988
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -141,6 +141,7 @@ 'lib/internal/fs/watchers.js', 'lib/internal/http.js', 'lib/internal/heap_utils.js', + 'lib/internal/histogram.js', 'lib/internal/idna.js', 'lib/internal/inspector_async_hook.js', 'lib/internal/js_stream_socket.js', @@ -534,6 +535,7 @@ 'src/fs_event_wrap.cc', 'src/handle_wrap.cc', 'src/heap_utils.cc', + 'src/histogram.cc', 'src/js_native_api.h', 'src/js_native_api_types.h', 'src/js_native_api_v8.cc', |