From 2952fb5405eabbb9e603e90fe2e972e9bddfcadd Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 23 May 2019 19:28:29 +0300 Subject: Rename --allow-high-precision to --allow-hrtime (#2398) --- js/performance.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/performance.ts') 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!`); -- cgit v1.2.3