aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/performance/timeorigin/index.md
blob: da7458aa3d0ca507a3d222cea9ad3eb4df3f3a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
title: performance.timeOrigin
slug: Web/API/Performance/timeOrigin
tags:
  - API
  - Experimental
  - High Resolution Time API
  - Performance
  - Property
  - Propriété
  - Reference
  - timeOrigin
translation_of: Web/API/Performance/getEntriesByName
---
{{SeeCompatTable}}{{APIRef("High Resolution Time")}}

La propriété en lecture seule **`timeOrigin`** de l'interface {{domxref("Performance")}} renvoie l'horodatage haute résolution de l'heure de début de la mesure de performance.

{{AvailableInWorkers}}

## Syntaxe

```js
  var timeOrigin = performance.timeOrigin
```

### Valeur

Un horodatage haute résolution (voir le type [`DOMHighResTimeStamp`](/fr/docs/Web/API/DOMHighResTimeStamp)).

## Spécifications

| Spécification                                                                                    | Statut                                       |
| ------------------------------------------------------------------------------------------------ | -------------------------------------------- |
| {{SpecName('Highres Time Level 2','#timeorigin-attribute','timeOrigin')}} | {{Spec2('Highres Time Level 2')}} |

## Compatibilité des navigateurs

{{Compat("api.Performance.timeOrigin")}}