(Curious) Why Laragon localhost response time is larger than my production instance?


  • | 1103 points

    I have a site hosted on Amazon EC2 (micro), it takes about 30ms to reach it, and 30 ms to reach back. The TTFB is 180ms in average, I guess I can say that my site loading time is approximately 120ms. If I load the same site in laragon, the TTFB is average 260. That is interesting...


  • administrators
    | 64645 points

    Interesting...I'm curious too :). How did you test them?


  • | 1103 points

    @leokhoa Havn't using any special tooling, I simply open Chrome network and load .dev and .com site each separately for about 10 times.

    That gives TTFB 180ms (From Hong Kong to Singapore EC2) and TTFB 260 ms (laragon) in average. Both in same .env, debug mode and no cache or cloudfront/load balancing whatsoever.. Might have been Linux beating Windows...


  • administrators
    | 64645 points

    Yes, Windows with GUI can not vs Linux. However, our OSes are not Windows Servers. If you make a compare with a EC2 micro running Windows Server 2012, that will be fun...


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.