summaryrefslogtreecommitdiff
path: root/website/manual.md
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-03-20 12:39:47 -0400
committerGitHub <noreply@github.com>2019-03-20 12:39:47 -0400
commit9444bd71a0b9165ef1a900f19b08a88592d2bb5c (patch)
treed48f8bf5a8d21b3646adddc20fa279532b359efd /website/manual.md
parent842627d6b905f71aea821c426a886022b07270a5 (diff)
Website and manual improvements (#1967)
Diffstat (limited to 'website/manual.md')
-rw-r--r--website/manual.md21
1 files changed, 13 insertions, 8 deletions
diff --git a/website/manual.md b/website/manual.md
index 8d0dacabc..41a1b7026 100644
--- a/website/manual.md
+++ b/website/manual.md
@@ -148,10 +148,8 @@ submodule. However, you need to install separately:
3. Python 2.
[Not 3](https://github.com/denoland/deno/issues/464#issuecomment-411795578).
-Extra steps for Mac users:
-
-1. [XCode](https://developer.apple.com/xcode/)
-2. Openssl 1.1: `brew install openssl@1.1` (TODO: shouldn't be necessary)
+Extra steps for Mac users: install [XCode](https://developer.apple.com/xcode/)
+:(
Extra steps for Windows users:
@@ -606,10 +604,17 @@ close(3);
Metrics is deno's internal counters for various statics.
-```ts
-const { metrics } = Deno;
-console.log(metrics());
-// output like: { opsDispatched: 1, opsCompleted: 1, bytesSentControl: 40, bytesSentData: 0, bytesReceived: 176 }
+```shellsession
+> console.table(Deno.metrics())
+┌──────────────────┬────────┐
+│ (index) │ Values │
+├──────────────────┼────────┤
+│ opsDispatched │ 9 │
+│ opsCompleted │ 9 │
+│ bytesSentControl │ 504 │
+│ bytesSentData │ 0 │
+│ bytesReceived │ 856 │
+└──────────────────┴────────┘
```
### Schematic diagram