Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/ayonli_jsext/lib.deno.d.ts>Deno.metrics

A JavaScript extension package for building strong and modern applications.
Latest
function Deno.metrics
Deprecated
Deprecated

This will be removed in Deno 2.0.

import { Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { metrics } = Deno;

Receive metrics from the privileged side of Deno. This is primarily used in the development of Deno. Ops, also called bindings, are the go-between between Deno JavaScript sandbox and the rest of Deno.

> console.table(Deno.metrics())
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚         (index)         β”‚ Values β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚      opsDispatched      β”‚   3    β”‚
β”‚    opsDispatchedSync    β”‚   2    β”‚
β”‚   opsDispatchedAsync    β”‚   1    β”‚
β”‚ opsDispatchedAsyncUnref β”‚   0    β”‚
β”‚      opsCompleted       β”‚   3    β”‚
β”‚    opsCompletedSync     β”‚   2    β”‚
β”‚    opsCompletedAsync    β”‚   1    β”‚
β”‚ opsCompletedAsyncUnref  β”‚   0    β”‚
β”‚    bytesSentControl     β”‚   73   β”‚
β”‚      bytesSentData      β”‚   0    β”‚
β”‚      bytesReceived      β”‚  375   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜