diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-05-23 19:28:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 19:28:29 +0300 |
commit | 2952fb5405eabbb9e603e90fe2e972e9bddfcadd (patch) | |
tree | bcf78f5884e7ca0a8ce789f035782e4536617332 /js/performance.ts | |
parent | 1386b6ead586da15d0285941f2d980acc1d75eee (diff) |
Rename --allow-high-precision to --allow-hrtime (#2398)
Diffstat (limited to 'js/performance.ts')
-rw-r--r-- | js/performance.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/performance.ts b/js/performance.ts index 51e213f0f..602c8018f 100644 --- a/js/performance.ts +++ b/js/performance.ts @@ -5,9 +5,9 @@ import * as flatbuffers from "./flatbuffers"; import { assert } from "./util"; export class Performance { - /** Returns a current time from Deno's start. - * In milliseconds. Flag --allow-high-precision give - * a precise measure. + /** Returns a current time from Deno's start in milliseconds. + * + * Use the flag --allow-hrtime return a precise value. * * const t = performance.now(); * console.log(`${t} ms since start!`); |