UNPKG

@contrast/route-metrics

Version:

`route-metrics` allows server performance, exclusive of network time, to be compared on a route-by-route basis. It was created to compare server performance with and without `@contrast/agent` being loaded and active.

21 lines (18 loc) 444 B
const m = await import('node:module'); const require = m.createRequire(import.meta.url); // does this get patched because it's being required? const http2 = require('http2'); export default http2; export const { Http2ServerRequest, Http2ServerResponse, connect, constants, createSecureServer, createServer, getDefaultSettings, getPackedSettings, getUnpackedSettings, performServerHandshake, sensitiveHeaders, } = http2;