1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

docs: update Deno.metrics() table data (#9999)

This commit is contained in:
Divy Srivastava 2021-04-04 17:12:31 +05:30 committed by GitHub
parent eed4e29337
commit e33e46e13b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,15 +33,21 @@ Metrics is Deno's internal counter for various statistics.
```shell ```shell
> console.table(Deno.metrics()) > console.table(Deno.metrics())
┌──────────────────┬────────┐ ┌─────────────────────────┬───────────┐
│ (index) │ Values │ │ (idx) │ Values │
├──────────────────┼────────┤ ├─────────────────────────┼───────────┤
│ opsDispatched │ 9 │ │ opsDispatched │ 9 │
│ opsCompleted │ 9 │ │ opsDispatchedSync │ 0 │
│ bytesSentControl │ 504 │ │ opsDispatchedAsync │ 0 │
│ bytesSentData │ 0 │ │ opsDispatchedAsyncUnref │ 0 │
│ bytesReceived │ 856 │ │ opsCompleted │ 9 │
└──────────────────┴────────┘ │ opsCompletedSync │ 0 │
│ opsCompletedAsync │ 0 │
│ opsCompletedAsyncUnref │ 0 │
│ bytesSentControl │ 504 │
│ bytesSentData │ 0 │
│ bytesReceived │ 856 │
└─────────────────────────┴───────────┘
``` ```
### Schematic diagram ### Schematic diagram