method HRTime.bigint
Usage in Deno
```typescript import { type HRTime } from "node:node__process.d.ts"; ```
HRTime.bigint(): bigint
The `bigint` version of the `hrtime()` method returning the current high-resolution real time in nanoseconds as a `bigint`.
Unlike `hrtime()`, it does not support an additional time argument since the difference can just be computed directly by subtraction of the two `bigint`s.
```js
import { hrtime } from 'node:process';
const start = hrtime.bigint();
// 191051479007711n
setTimeout(() => {
const end = hrtime.bigint();
// 191052633396993n
console.log(`Benchmark took ${end - start} nanoseconds`);
// Benchmark took 1154389282 nanoseconds
}, 1000);
```
bigint