Check TTFB from Ubuntu terminal

We can print the TTFB multiple times by using the below command in the ubuntu terminal.

for i in {0..3}; do echo -n "$i :: "; curl --resolve '' --output /dev/null -w "Response Code: %{http_code} :: Size: %{size_download} :: Speed: %{speed_download} :: TTFB: %{time_starttransfer} :: Total: %{time_total}\n" -s --show-error ""; done

In the above command, {0..3} means it checks TTFB 4 times, If you want to test 10 times, then change to {0..9}

9 views0 comments

Recent Posts

See All

Magento 2.4.2 .htaccess changes...

I have just noticed, In Magento 2.4.2 release, the Magento root folder .htaccess file changed completely compared to the 2.4.1 release. I found this commit without much explanation, due to this chan

Magento 2 CMS block with the same ID already exists

I have seen the below error when I open cms block grid something went wrong with processing the default view and we have restored the filter to its original state. I found the below log in the excepti

Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2020 by Bilal Usean. Proudly created with