UNPKG
clvm_tools
Version:
beta (1.0.0-beta.2)
latest (0.9.5)
1.0.0-beta.2
1.0.0-beta.1
1.0.0-beta.0
0.9.5
0.9.4
0.9.3
0.9.2
0.9.0
0.1.6
0.1.5
0.1.4
Javascript implementation of clvm_tools
github.com/Chia-Mine/clvm_tools-js
Chia-Mine/clvm_tools-js
clvm_tools
/
platform
/
performance.js
10 lines
(9 loc)
•
286 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
now
=
void
0
;
// eslint-disable-next-line @typescript-eslint/no-var-requires
const
{ performance } =
require
(
"perf_hooks"
);
function
now
(
) {
return
performance.
now
() /
1000.0
; }
exports
.
now
= now;