Skip to content

Instantly share code, notes, and snippets.

@aliboy08
Created August 30, 2024 03:24
Show Gist options
  • Save aliboy08/16d1002dd4a6274e714b27b8bd318a73 to your computer and use it in GitHub Desktop.
Save aliboy08/16d1002dd4a6274e714b27b8bd318a73 to your computer and use it in GitHub Desktop.
measure load time
@echo off
setlocal enabledelayedexpansion
set url=https://next-level-racing-new.local/sample-home/
set runs=10
for /L %%i in (1,1,%runs%) do (
curl -o NUL -s -w "%%{time_total}\n" -H "Pragma: no-cache" "!url!"
)
endlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment