Skip to content

Speed up OperatorX page navigation / 加快 OperatorX 页面导航 - #1452

Merged
Oseltamivir merged 1 commit into
masterfrom
codex/operatorx-progressive-ui-stack
Oct 23, 2026
Merged

Oseltamivir merged 1 commit into
masterfrom
codex/operatorx-progressive-ui-stack

Conversation

@Oseltamivir

@Oseltamivir Oseltamivir commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Mount the first chart immediately and defer lower chart construction until it approaches the viewport, retaining mounted controls afterward. Prefetch the default GEMM response and route on landing-link hover or focus, reusing the destination’s query key.

Stack 4/4. Merge order: 1449 → 1450 → 1451 → 1452.

All 11 OperatorX browser checks passed, covering both locales, deferred mounting, retained controls, intent-only prefetch/reuse, and the no-IntersectionObserver fallback. Landing navigation coverage is also checked on the integrated stack.

Fresh isolated verification: all 11 OperatorX browser checks passed. Landing navigation passed 16/21; all five failures reproduce on unchanged baseline 3c3a32b8. Full GitHub CI passes on #1449; the dependent PRs have Vercel checks only because their stacked bases exclude the test workflows.

Benchmark evidence

Local Electron/webpack development replay with the identical captured API response: response headers → first plotted chart 104.85 → 45.40 ms median; chart DOM nodes at that marker 4,830 → 423 (four charts → one). Four measured samples per version after two warmups, alternating versions. This measures chart startup after the response, not production navigation/FCP or server latency.

AI model disclosure
  • GPT-6: primary implementation/integration, tests, and PR preparation. The exact primary runtime model/version identifier could not be verified.
  • gpt-6-astra: delegated implementation, fresh checks/benchmarks, and independent correctness review.
中文

首个图表立即挂载,下方图表接近视口时再构建,挂载后的控件状态会保留。首页链接获得 hover 或键盘焦点时预取默认 GEMM 数据与目标路由,并复用目标页的查询键。

此系列共四个 PR,本 PR 为第 4 个。合并顺序:1449 → 1450 → 1451 → 1452。

OperatorX 的 11 项浏览器检查全部通过,涵盖中英文页面、延迟挂载、控件状态保留、按导航意图预取及复用,以及无 IntersectionObserver 时的回退。合并后的改动也检查了首页导航。

最新独立环境验证中,OperatorX 的 11 项浏览器检查全部通过,首页导航通过 16/21 项,五项失败均可在未改动的基线 3c3a32b8 上复现。#1449 的完整 GitHub CI 已通过;依赖 PR 因目标分支属于堆叠分支,目前仅有 Vercel 检查。

本地 Electron/webpack 开发环境使用相同 API 响应:响应头到首个图表绘制的中位数从 104.85 降至 45.40 ms;该时刻图表 DOM 节点从 4,830 减为 423,挂载图表从四个减为一个。两个版本交替运行,各预热两次后测量四次;结果仅衡量响应后的图表启动,不代表生产导航、FCP 或服务器延迟。

AI 模型:GPT-6 负责主要实现、集成、测试和 PR 准备,无法核实其精确运行时模型标识及版本。gpt-6-astra 负责委派实现及独立正确性审核。

@Oseltamivir
Oseltamivir requested a review from adibarra as a code owner October 23, 2026 07:22
@cursor

cursor Bot commented Oct 23, 2026

Copy link
Copy Markdown

Bugbot is paused — your team has an unpaid invoice

Bugbot is paused because your team has an unpaid invoice.

Pay it from the billing page in the Cursor dashboard and Bugbot resumes automatically.

(requestId: 3e547ae0-ea7e-4b1c-b8ed-33d1402d5b82)

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
inferencemax-app Ready Ready Preview Oct 23, 2026 9:17am UTC

Request Review

@cursor

cursor Bot commented Oct 23, 2026

Copy link
Copy Markdown

Bugbot is paused — your team has an unpaid invoice

Bugbot is paused because your team has an unpaid invoice.

Pay it from the billing page in the Cursor dashboard and Bugbot resumes automatically.

(requestId: 227f1976-2098-4d31-a6a3-37cc62654fa7)

@Oseltamivir
Oseltamivir force-pushed the codex/operatorx-shared-cache-stack branch from f6e7dc8 to 11a57f9 Compare October 23, 2026 09:09
Base automatically changed from codex/operatorx-shared-cache-stack to master October 23, 2026 09:15
Keep the first chart eager, mount lower cards near the viewport, and retain chart state while scrolling. Share the default GEMM query options between landing intent prefetch and the destination hook. Cover both locales with browser navigation and rendering tests.

中文:优化 OperatorX 首屏渲染与导航预加载。首张图表立即渲染,其余图表接近视口时挂载,滚动后保留控件状态;首页链接在悬停或获得焦点时预加载默认 GEMM 数据与对应语言路由。补充中英文页面的浏览器回归测试。
@Oseltamivir
Oseltamivir force-pushed the codex/operatorx-progressive-ui-stack branch from fe33358 to 8e89954 Compare October 23, 2026 09:15
@cursor

cursor Bot commented Oct 23, 2026

Copy link
Copy Markdown

Bugbot is paused — your team has an unpaid invoice

Bugbot is paused because your team has an unpaid invoice.

Pay it from the billing page in the Cursor dashboard and Bugbot resumes automatically.

(requestId: 71b5381a-6a71-4b98-b47c-18f105d3e05d)

@Oseltamivir
Oseltamivir merged commit 847ed77 into master Oct 23, 2026
37 checks passed
@Oseltamivir
Oseltamivir deleted the codex/operatorx-progressive-ui-stack branch October 23, 2026 09:21

This branch was successfully deployed

1 active deployment
Preview — 8e899544 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant