---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# performance.now()

The **`performance.now()`** method returns a high resolution timestamp in milliseconds.
It represents the time elapsed since [`performance.timeOrigin`](./timeOrigin.mdx) (the time when the worker was instantiated).

## Syntax

```js
now()
```

### Parameters

None.

### Return value

Returns a number which represents the time since worker instantation measured in milliseconds.
