--- title: Console.timeStamp() slug: Web/API/Console/timeStamp tags: - API - DOM translation_of: Web/API/Console/timeStamp --- <p>{{APIRef("Console API")}}{{Non-standard_header}}</p> <p>Добавляет маркер в браузерные инструменты <a href="https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/reference">Performance</a> или <a href="https://developer.mozilla.org/en-US/docs/Tools/Performance/Waterfall">Waterfall</a>. Это помогает соотнести точку в вашем коде с другими записанными событиями.</p> <p>{{AvailableInWorkers}}</p> <h2 id="Синтаксис">Синтаксис</h2> <pre>console.timeStamp(<code><em>label</em></code>); </pre> <h2 id="Параметры">Параметры</h2> <dl> <dt><code>label</code></dt> <dd>Название метки. Необязательный параметр.</dd> </dl> <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> <p>{{Compat("api.Console.timestamp")}}</p> <h2 id="Смотрите_также">Смотрите также</h2> <ul> <li>{{domxref("Console.time()")}}</li> <li>{{domxref("Console.timeEnd()")}}</li> <li><a href="/en-US/docs/Tools/Performance/Waterfall#Timestamp_markers">Adding timestamps to the Waterfall</a></li> </ul>