metrics method

Metrics metrics()

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   │
└─────────────────────────┴────────┘

Implementation

_i4.Metrics metrics() => _i3.callMethod(
      this,
      'metrics',
      [],
    );