File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const measureTotalTimeAsSubtest = false; // Once we move to preloading all resou
3030const defaultIterationCount = 120 ;
3131const defaultWorstCaseCount = 4 ;
3232
33- if ( ! JetStreamParams . prefetchResources )
33+ if ( ! JetStreamParams . prefetchResources && isInBrowser )
3434 console . warn ( "Disabling resource prefetching! All compressed files must have been decompressed using `npm run decompress`" ) ;
3535
3636if ( ! isInBrowser && JetStreamParams . prefetchResources ) {
Original file line number Diff line number Diff line change @@ -124,10 +124,6 @@ load("./utils/params.js");
124124
125125
126126async function runJetStream ( ) {
127- if ( ! JetStreamParams . isDefault ) {
128- const paramsDiff = JetStreamParams . nonDefaultParams ;
129- console . warn ( `Using non standard params: ${ JSON . stringify ( paramsDiff , null , 2 ) } ` )
130- }
131127 try {
132128 await JetStream . initialize ( ) ;
133129 await JetStream . start ( ) ;
Original file line number Diff line number Diff line change 7373 function showNonDefaultParams ( ) {
7474 document . body . classList . add ( "nonDefaultParams" ) ;
7575 const body = document . querySelector ( "#non-standard-params-table tbody" ) ;
76- for ( const [ key , value ] of Object . entries ( JetStreamParams . nonDefaultParams ) ) {
76+ const nonDefaultParams = JetStreamParams . nonDefaultParams ;
77+ console . warn ( `Using non standard params: ${ JSON . stringify ( paramsDiff , null , 2 ) } ` )
78+ for ( const [ key , value ] of Object . entries ( nonDefaultParams ) ) {
7779 const defaultValue = DefaultJetStreamParams [ key ]
7880 const row = body . insertRow ( ) ;
7981 row . insertCell ( ) . textContent = key ;
You can’t perform that action at this time.
0 commit comments