@@ -123,7 +123,8 @@ html.dark .http-ver[data-ver="ws"].active { color: #22d3ee; background: rgba(8,1
123123</div >
124124
125125<div id =" timeline-link-bar " style =" display :flex ; margin-top :0.5rem ; padding :0.45rem 0.9rem ; justify-content :flex-end ; align-items :center ; gap :0.5rem ; font-size :0.8rem ; color :#64748b ;" >
126- <span id =" timeline-link-prefix " >📈 Browse historical benchmark results on</span >
126+ <span aria-hidden =" true " >📈</span >
127+ <span id =" timeline-link-prefix " >Browse historical benchmark results on</span >
127128 <a id="timeline-link"
128129 href="https://kaliumhexacyanoferrat.github.io/HttpArena-Timeline/ "
129130 target="_ blank" rel="noopener"
@@ -137,9 +138,7 @@ html.dark #timeline-link { color:#a78bfa; }
137138<script >
138139(function () {
139140 var TIMELINE_BASE = ' https://kaliumhexacyanoferrat.github.io/HttpArena-Timeline/' ;
140- /* Per-version: wrapper id and panel class. Composite has no entry here —
141- it doesn't map onto a single test+conns pair, so the bar keeps the
142- generic prefix + home URL for that view. */
141+ /* Per-version: wrapper id and panel class. Composite has no entry here. */
143142 var VERSION_CFG = {
144143 h1iso: { wrapper: ' lb-h1iso-wrapper' , panel: ' lb-panel' },
145144 h1wk: { wrapper: ' lb-h1wk-wrapper' , panel: ' lb-panel' },
@@ -149,16 +148,14 @@ html.dark #timeline-link { color:#a78bfa; }
149148 grpc: { wrapper: ' lb-grpc-wrapper' , panel: ' lb-panel-grpc' },
150149 ws: { wrapper: ' lb-ws-wrapper' , panel: ' lb-panel-ws' }
151150 };
152- var GENERIC_PREFIX = ' 📈 Browse historical benchmark results on' ;
153- var SPECIFIC_PREFIX = ' 📈 Track this test over time:' ;
154-
151+ var GENERIC_PREFIX = ' Browse historical benchmark results on' ;
152+ var SPECIFIC_PREFIX = ' Track this test over time:' ;
155153 function setGeneric () {
156154 var p = document .getElementById (' timeline-link-prefix' );
157155 var l = document .getElementById (' timeline-link' );
158156 if (p) p .textContent = GENERIC_PREFIX ;
159157 if (l) l .href = TIMELINE_BASE ;
160158 }
161-
162159 function update () {
163160 var verEl = document .querySelector (' .http-ver.active' );
164161 var v = verEl ? verEl .dataset .ver : ' composite' ;
@@ -172,11 +169,8 @@ html.dark #timeline-link { color:#a78bfa; }
172169 var connTab = panel .querySelector (' .lb-conn-tab.active' );
173170 var conns = connTab ? connTab .dataset .conns : null ;
174171 if (! conns || conns === ' best' ) {
175- /* "Best" aggregates across conn counts; pick the highest numeric
176- value declared on the panel for the timeline deep link. */
177- var declared = (panel .dataset .conns || ' ' ).split (' ,' )
178- .filter (function (c ) { return / ^ \d + $ / .test (c); })
179- .map (Number );
172+ /* "Best" aggregates across conn counts; pick the highest numeric value declared on the panel for the timeline deep link. */
173+ var declared = (panel .dataset .conns || ' ' ).split (' ,' ).filter (function (c ) { return / ^ \d + $ / .test (c); }).map (Number );
180174 if (! declared .length ) { setGeneric (); return ; }
181175 conns = Math .max .apply (null , declared);
182176 }
@@ -185,10 +179,7 @@ html.dark #timeline-link { color:#a78bfa; }
185179 if (p) p .textContent = SPECIFIC_PREFIX ;
186180 if (l) l .href = TIMELINE_BASE + ' #test=' + test + ' -' + conns;
187181 }
188-
189- /* Poll once a frame for the first 2 seconds in case shortcode scripts
190- mutate state asynchronously, then settle into a low-frequency check
191- that catches any tab/filter interaction we didn't event-hook. */
182+ /* Poll once a frame for the first 2 seconds in case shortcode scripts mutate state asynchronously, then settle into a low-frequency check that catches any tab/filter interaction we didn't event-hook. */
192183 var ticks = 0 ;
193184 var fast = setInterval (function () {
194185 update ();
0 commit comments