Repository navigation
docs(benchmarks): the benchmark tooltip ranks the libraries against specsolve, and the specsolve label sits clear of the other lines - #1862
Merged
Conversation
…pecsolve, and the specsolve label sits clear of the other lines The specsolve label moves from above its last point, where the lines bunch up, to the right of it, in a right margin. It is a chart control rather than a text mark, because the marks share one clip that would cut it off. The tooltip lists the libraries fastest first, emphasises specsolve's row, and follows every other value with its ratio to specsolve, as the table does. Its font drops to the table's size: TanStack's 0.75rem default is 15px under the theme's 20px root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K42KwZJtqPPhf5hDzUD91o
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K42KwZJtqPPhf5hDzUD91o
…irst, as the lines stack Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K42KwZJtqPPhf5hDzUD91o
Merging this PR will not alter performance
Comparing Footnotes
|
… in columns Every row shows its value and its ratio to specsolve, specsolve's own 1.0x included. One unit per tooltip, fixed decimals, and figure-space padding make each entry one shape, so the right-aligned values line up digit for digit. The projected rows say so in the label only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K42KwZJtqPPhf5hDzUD91o
Pyomo's bird is mostly gold and orange, so pyomo takes the gold. linopy has no brand colour, so it takes the blue that is now free. The four colours are unchanged, so the light palette keeps its validation. linopy is the line nearest specsolve, so in dark mode its blue moves to #35b9f2, drawn as #329ccb after the mix. The blue drawn before (#3372c0) was ΔE 14.3 from specsolve's violet for normal vision and 6.7 for protanopia. The new one is 16.2, and 6.4 for deuteranopia, where specsolve's thicker line, larger dots and label separate them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K42KwZJtqPPhf5hDzUD91o
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
The following content was generated by AI.
The specsolve label moves to the right of its last point, clear of the other lines. The tooltip lists the libraries slowest first, as the lines stack, with each value and its ratio to specsolve aligned in columns. pyomo takes the gold of its logo and linopy the blue.
What changed
library value · ratio, specsolve's own1.0×included. specsolve's row isactive, so TanStack draws it bold on a tinted background.pyomo (projected). The value no longer carries a≈prefix, which would break the column.14781 msover761 ms, not14.78 sover761 ms);(projected)label near the panel edge stays on one line.#3987e5to#35b9f2. That is drawn as#329ccbafter the 85% mix with the surface. Against specsolve's violet, the blue drawn before (#3372c0) scored ΔE 14.3 for normal vision and 6.7 for protanopia. The new blue scores 16.2, and 6.4 for deuteranopia. The validator allows 6.4 only with a second cue; specsolve has three: a thicker line, larger dots and its label. In light mode the drawn pair scores 27, and 22 for deuteranopia.What was verified, and what was not
pixi run checkpassed (4999 tests) on ee0c424. The later commits change only the changelog, the JS, the CSS and the page's JSON spec, whichcheckdoes not lint.pixi run docs-build(strict) passes on the head commit.Alignment, measured: the sweep hovers every panel at 18 points each, for wall time and peak RSS on both ladders. That gives 204 tooltips. In every one, the non-bold value cells are the same width, a spread of 0.00 px. The bold specsolve cell is 0.8 px wider, because its digits are bold. No label wraps.
Tooltip:
dispatch — gurobiat 1M reads:Checked in light and dark.
Colours: read back from the page as drawn and checked with the dataviz skill's
validate_palette.js.Label: one
specsolvelabel per panel, drawn in full right of the last point. Checked in log–log on the length ladder and in linear–linear on the width ladder.Toggles: the toggle test from docs(benchmarks): the benchmark charts and their method are one page of the docs, in the site's theme #1860 still passes, on a direct load and after instant navigation.
What was not done
🤖 Generated with Claude Code
https://claude.ai/code/session_01K42KwZJtqPPhf5hDzUD91o