summaryrefslogtreecommitdiff
path: root/js/performance.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/performance.ts')
-rw-r--r--js/performance.ts6
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!`);