mayuropensource commented on pull request #7022:
URL: https://github.com/apache/arrow/pull/7022#issuecomment-619456016


   A better calculation for bandwidth (by removing TTFB from total time) is 
done using following script:
   
   curl --negotiate -u: -o /dev/null -w "total_time_sec=%{time_total} 
data_size_bytes=%{size_download} TTFB_sec=%{time_starttransfer}\n" $S3_DATA_URI 
| awk -F' ' '{ split($1, tt, "="); split($2, ds, "="); split($3, ttfb, "="); 
bw=ds[2] / (1024 * 1024. * (tt[2] - ttfb[2])); print("TTFB_millis =", ttfb[2] * 
1000.); print("Bandwidth_MiB_per_sec =", bw); }'
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to