Benchmarking Website TTFB / Server processing time

One of my sites was loading really slowly on its home page. I decided to dive in to figure out how to benchmark it in an easy way.

First we need to figure out

for i in `seq 1 10`; do
  curl -w "%{time_starttransfer}\n" -o /dev/null -s https://www.taazakitchen.com;
done

Output:

1.706640
1.496602
1.546909
1.476469
1.349275
1.596273
1.548335
1.434519
1.550846
1.466719

After update

0.350344
0.318239
0.102678
0.200323
0.082329
0.081604
0.083558
0.098847
0.113125
0.133696