Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zh-CN: update the translation of the "Time to interactive" glossary term #24952

Merged
merged 2 commits into from
Dec 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions files/zh-cn/glossary/time_to_interactive/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
title: 可交互时间
slug: Glossary/Time_to_interactive
l10n:
sourceCommit: 835d6632d59993861a0458510402787f8a2c3cb3
sourceCommit: ebf783dc02e55a838a61c3faedc03e7f06c22ace
---

{{GlossarySidebar}}

**可交互时间**(TTI)是一种非标准的 Web 性能“进度”指标,定义为最后一个[长任务](/zh-CN/docs/Web/API/PerformanceLongTaskTiming)完成后,经过 5 秒的网络和主线程空闲时间。

TTI 由 Web 孵化器社区组于 2018 年提出。它旨在提供一个描述页面或应用程序何时包含有用的内容、主线程何时处于空闲状态并可以响应用户交互(包括注册事件处理器)的指标。
TTI 由 Web 孵化器社区组于 2018 年提出,旨在提供一项描述页面或应用程序何时包含有用的内容、主线程何时处于空闲状态并可以响应用户交互(包括注册事件处理器)的指标。

#### 注意

TTI 是通过利用[长任务 API](/zh-CN/docs/Web/API/PerformanceLongTaskTiming) 中的信息推导出来的。尽管某些性能监控工具中提供了 TTI,但在撰写本文时,TTI 并不是属于任何官方 Web 规范。
TTI 是通过利用[长任务 API](/zh-CN/docs/Web/API/PerformanceLongTaskTiming) 中的信息推导出来的。尽管某些性能监控工具中提供了 TTI,TTI 并不是属于任何官方 Web 规范。
PassionPenguin marked this conversation as resolved.
Show resolved Hide resolved

## 参见

- Web 孵化器社区组关于 [TTI 的定义](https://github.com/WICG/time-to-interactive)
- Radimir Bitsov 写的[可交互时间——以人为本的单位](https://calibreapp.com/blog/time-to-interactive)
- [计算 TTI](https://web.developers.google.cn/articles/user-centric-performance-metrics)
- {{glossary("Time_to_first_byte", "第一字节时间(TTFB)")}}
Loading