Hacker News new | ask | show | jobs
by alexchamberlain 981 days ago
2 seconds is pretty slow, especially for a single item lookup which is about as good as it gets for database lookups etc.

Where is that time spent?

1 comments

That is the entire cycle from browser, to server and back + js execution.

As mentioned in a comment below php execution including db call is: P95 is 120.9ms P99 is 634.11ms

Which means the rest is DNS lookups and js execution.