Skip to content

chore(operatorx): show Roofline before Metric vs size / OperatorX:Roofline 图表移到 Metric vs size 之前 - #1562

Merged
Oseltamivir merged 1 commit into
masterfrom
chore/operatorx-swap-roofline-metric-vs-size
Oct 29, 2026
Merged

Oseltamivir merged 1 commit into
masterfrom
chore/operatorx-swap-roofline-metric-vs-size

Conversation

@Oseltamivir

@Oseltamivir Oseltamivir commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Swaps the order of the Metric vs size and Roofline charts on /operatorx, so Roofline now renders directly after Speedup vs baseline. The change is a one-line reorder of the VISUALIZATIONS registry; no chart logic, data, or API output changes.

API / skills coverage

Presentation-only change (chart order). It doesn't change any returned data, so no API, OpenAPI, or inferencex-skills updates are needed.

AI model disclosure
  • Claude Opus 5.5 (claude-opus-5-5), via Claude Code: made the change and wrote the PR.
中文

在 /operatorx 页面中交换 Metric vs size 与 Roofline 两个图表的顺序,Roofline 现在紧跟在 Speedup vs baseline 之后显示。改动仅是调整 VISUALIZATIONS 注册表中的一行顺序,不涉及图表逻辑、数据或 API 输出。


Note

Low Risk
Presentation-only reorder of the OperatorX visualization list with no logic or data changes.

Overview
On /operatorx, the dashboard chart order now shows Roofline immediately after Speedup vs baseline, with Metric vs size following Roofline.

The only code change is reordering entries in the VISUALIZATIONS registry in viz/index.ts; chart implementations, data fetching, and API behavior are unchanged.

Reviewed by Cursor Bugbot for commit 9b2677c. Bugbot is set up for automated code reviews on this repo. Configure here.

中文:OperatorX 中将 Roofline 图表移到 Metric vs size 之前。
@Oseltamivir
Oseltamivir requested a review from adibarra as a code owner October 29, 2026 09:42
@vercel

vercel Bot commented Oct 29, 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 29, 2026 9:43am UTC

Request Review

@blacksmith-sh

blacksmith-sh Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Found 4 test failures on Blacksmith runners:

Failures

Test View Logs
OperatorX progressive rendering/
mounts lower charts near the viewport and preserves their controls at /
View Logs
OperatorX progressive rendering/
mounts lower charts near the viewport and preserves their controls at /
View Logs
OperatorX progressive rendering/
mounts lower charts near the viewport and preserves their controls at /zh
View Logs
OperatorX progressive rendering/
mounts lower charts near the viewport and preserves their controls at /zh
View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@Oseltamivir
Oseltamivir merged commit b057bb9 into master Oct 29, 2026
31 of 33 checks passed
@Oseltamivir
Oseltamivir deleted the chore/operatorx-swap-roofline-metric-vs-size branch October 29, 2026 09:46
hbarclay added a commit that referenced this pull request Oct 29, 2026
Keeps the intent of master's OperatorX changes in this PR's additions:
- #1561 (one GPU control): no GPU multi-select; the controls row is
  Workload, Devices, Metric, Baseline, and the chart legends offer the GPUs
  with results at the selected split
- #1562 (Roofline first): Model View's op dialog also shows Roofline before
  Metric vs size; the OperatorX e2e spec now expects Roofline to mount
  first and scrolls to Metric vs size, which mounts on approach
- #1555 (analytics): the Devices selector and Model View's model, metric,
  precision, GPU, op and fold controls are tracked with canonical keys
- #1546 (compression, ETag): the public data API passes the request to
  cachedJson
- route catalog digests, views registry and skills reference merged

Co-Authored-By: Claude Opus 5.5 <[email protected]>
adibarra added a commit that referenced this pull request Oct 29, 2026
#1562 moved Roofline ahead of Metric vs size. With no baseline in the fixtures, Roofline is now the first card, the only one rendered without scrolling, and the full-width Roofline pushes Metric vs size more than 300 px below the 720 px viewport, so it mounts only when scrolled into view. Two assertions still expected Metric vs size drawn on load, so operatorx.cy.ts failed on every run in Chrome and Firefox. The default-shape test now scrolls to Metric vs size before reading its legend and shape, and the progressive-rendering test checks whichever chart comes first.

中文:OperatorX E2E 不再依赖旧的图表顺序。#1562 将 Roofline 移到 Metric vs size 之前。测试数据没有基线时,Roofline 成为第一张卡片,也是唯一无需滚动即渲染的图表;全宽的 Roofline 把 Metric vs size 推到 720 px 视口下方 300 px 以外,只有滚动到附近才会挂载。两处断言仍要求 Metric vs size 在加载时即已绘制,因此 operatorx.cy.ts 在 Chrome 和 Firefox 中每次都失败。默认形状测试现在先滚动到 Metric vs size 再读取图例和形状,渐进渲染测试改为检查排在第一位的图表。

This branch was successfully deployed

1 active deployment
Preview — 9b2677c5 Deployed Oct 29, 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