Skip to content

Commit 17d84eb

Browse files
committed
otb: correct the bestOrPerf comment to the latency-selects / rps-compares methodology
The comment still said the tab ranks on max sustained RPS among paths (pre-decision). Now: latency selects the representative same-dialect passthrough cell internally; sustained RPS is the external comparison metric the table sorts on.
1 parent da2e1df commit 17d84eb

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎site/app.js‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,11 @@ function lane(g, suite, flag, errKey, pick) {
109109
return pick(j);
110110
}
111111

112-
/* bestOrPerf: the Performance tab ranks each gateway on its BEST-performing green matrix cell
113-
(g.best_cell, from the per-cell matrix sweep: max sustained RPS @20ms among the paths the
114-
gateway actually supports). Results predating the per-cell sweep have no best_cell; those fall
115-
back to the perf suite's single-path number so the table never goes blank. */
112+
/* bestOrPerf: the Performance tab reads each gateway's REPRESENTATIVE cell (g.best_cell) - the
113+
same-dialect passthrough diagonal chosen INTERNALLY by lowest added latency (openai when served,
114+
else the native dialect), never a translation cell. Latency selects the cell; sustained RPS is
115+
the EXTERNAL comparison metric the table ranks/sorts on. Results predating the per-cell sweep have
116+
no best_cell; those fall back to the perf suite's single-path number so the table never blanks. */
116117
function bestOrPerf(g, key, fmt) {
117118
if (g.best_cell && g.best_cell[key] != null)
118119
return { v: g.best_cell[key], text: fmt(g.best_cell[key]), na: false };

0 commit comments

Comments
 (0)