246448930e2c91af800f5a65e090182588517d2b max Tue May 9 04:53:24 2023 -0700 adding note about not-applied botDelay to measureTiming, and moving a few lines in botDelay where they belong, refs #14567 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index df4d281..7ffe11b 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -10979,31 +10979,31 @@ { puts("<div style='display:none' id='notifBox'>"); puts(msg); puts("</div>"); jsInline("notifBoxShow();\n"); } extern boolean issueBotWarning; void doMiddle(struct cart *theCart) /* Print the body of an html file. */ { cart = theCart; measureTiming = hPrintStatus() && isNotEmpty(cartOptionalString(cart, "measureTiming")); if (measureTiming) - measureTime("Startup (bottleneck %d ms) ", botDelayMillis); + measureTime("Startup (bottleneck delay %d ms, not applied if under %d) ", botDelayMillis, hgBotDelayCurrWarnMs()) ; char *mouseOverEnabled = cfgOptionDefault("mouseOverEnabled", "on"); if (sameWordOk(mouseOverEnabled, "on")) { /* can not use mouseOver in any virtual mode */ char *isMultiRegion = cartUsualString(cart, "virtModeType", "default"); if (sameWordOk(isMultiRegion, "default")) { enableMouseOver = TRUE; /* mouseOverJsonFile will be initializes and created at the same * time as the browser .png image file */ mouseOverJson = jsonWriteNew(); jsonWriteObjectStart(mouseOverJson, NULL); /* this jsonWrite structure will finish off upon successful exit.