chore: move
This commit is contained in:
parent
bd2e7786e7
commit
4266686888
1 changed files with 0 additions and 0 deletions
60
benchmark/curl-benchmark.sh
Normal file
60
benchmark/curl-benchmark.sh
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
|
||||
|
||||
echo -e "
|
||||
time_namelookup: %{time_namelookup}s\n
|
||||
time_connect: %{time_connect}s\n
|
||||
time_appconnect: %{time_appconnect}s\n
|
||||
time_pretransfer: %{time_pretransfer}s\n
|
||||
time_redirect: %{time_redirect}s\n
|
||||
time_starttransfer: %{time_starttransfer}s\n
|
||||
----------\n
|
||||
time_total: %{time_total}s\n
|
||||
" > curl-format.txt
|
||||
|
||||
# DE
|
||||
curl -w "@curl-format.txt" -o /dev/null -s "https://packagemanager.posit.co/cran/__linux__/rhel9/latest/brew_1.0-10.tar.gz"
|
||||
|
||||
time_namelookup: 0.031104s
|
||||
time_connect: 0.140160s
|
||||
time_appconnect: 0.393117s
|
||||
time_pretransfer: 0.393304s
|
||||
time_redirect: 0.000000s
|
||||
time_starttransfer: 0.502755s
|
||||
----------
|
||||
time_total: 0.502838s
|
||||
|
||||
curl -w "@curl-format.txt" -o /dev/null -s -O "https://cran.devxy.io/arm64/rhel9/latest/src/contrib/brew_1.0-10.tar.gz"
|
||||
|
||||
time_namelookup: 0.015006s
|
||||
time_connect: 0.021476s
|
||||
time_appconnect: 0.081913s
|
||||
time_pretransfer: 0.082039s
|
||||
time_redirect: 0.000000s
|
||||
time_starttransfer: 0.089900s
|
||||
----------
|
||||
time_total: 0.096288s
|
||||
|
||||
### ZH
|
||||
|
||||
# Posit PM
|
||||
time_namelookup: 0.009141s
|
||||
time_connect: 0.130860s
|
||||
time_appconnect: 0.382310s
|
||||
time_pretransfer: 0.382722s
|
||||
time_redirect: 0.000000s
|
||||
time_starttransfer: 0.505626s
|
||||
----------
|
||||
time_total: 0.505885s⏎
|
||||
|
||||
# devxy
|
||||
time_namelookup: 0.003021s
|
||||
time_connect: 0.009213s
|
||||
time_appconnect: 0.018338s
|
||||
time_pretransfer: 0.018439s
|
||||
time_redirect: 0.000000s
|
||||
time_starttransfer: 0.025136s
|
||||
----------
|
||||
time_total: 0.025260s⏎
|
||||
|
||||
|
||||
rm curl-format.txt
|
||||
Loading…
Reference in a new issue