[Docs, Chore] (docs, tools, MobileGL, scripts, CONTRIBUTING.md, .gitignore): translate the documentation and use US spelling

This commit is contained in:
BZLZHH
2026-10-31 19:58:19 +08:00
parent 47892afddc
commit 4f50bedde0
512 changed files with 2955 additions and 2945 deletions
+2 -2
View File
@@ -570,7 +570,7 @@ class Arm:
self.summary["boot_id"] = self.adb.boot_id()
self.summary["started_utc"] = datetime.now(timezone.utc).isoformat()
# PURGE THE PREVIOUS ARM'S ARTEFACTS BEFORE THIS ONE STARTS, and not after it ends.
# PURGE THE PREVIOUS ARM'S ARTIFACTS BEFORE THIS ONE STARTS, and not after it ends.
# The runner's result directory is keyed by case and backend, not by arm, so arm N+1
# overwrites arm N's benchmark.json in place - and if arm N+1 fails early it leaves arm N's
# file sitting there under arm N+1's name. `read_benchmark` cannot tell: it reads whatever is
@@ -715,7 +715,7 @@ class Arm:
json.dumps(self.summary, indent=2), encoding="utf-8")
def assert_arm(self):
"""Does the library's own log prove the arm it is labelled as?
"""Does the library's own log prove the arm it is labeled as?
Two questions, and the second is the one that matters for `spawn`:
1. did the transport resolve to what this arm claims (the ConfigLoader marker), and
+2 -2
View File
@@ -49,7 +49,7 @@ def steady_state_cpu(arm):
`tailFrames`:
- `medianFrameCpuMs` / `p95FrameCpuMs`: the client thread's own `clock_gettime(CLOCK_THREAD_
CPUTIME_ID)` deltas per frame, summarised over the tail. Host-side per-frame sampling cannot
CPUTIME_ID)` deltas per frame, summarized over the tail. Host-side per-frame sampling cannot
reproduce this - a 0.5 s poll interval cannot resolve an 8 ms frame - and it is the primary
metric (MEASUREMENTS.md section 9).
- `medianFrameMs` / `p95FrameMs`: wall time per frame, which is what the frame budget is.
@@ -240,7 +240,7 @@ def main():
# --- headline: frame time and per-thread CPU ------------------------------------------------
lines.append("### Frame time and per-thread CPU (best of N)")
lines.append("")
lines.append("The `frame cpu` column is the CLIENT thread's own per-frame CPU clock, summarised by the")
lines.append("The `frame cpu` column is the CLIENT thread's own per-frame CPU clock, summarized by the")
lines.append("device over the trailing `tailFrames` - the primary metric (MEASUREMENTS.md section 9).")
lines.append("`client total` / `server total` are the sampler's per-role CPU TOTALS over that repeat,")
lines.append("which includes the one-off shader bring-up frame; they are not per-frame rates. See")