Good evening! Is there such a server online, where it was possible to test fragments of software code, where it showed the time and load? I have two servers at the moment. One lokalkhost, second paid host. Not that no other exact information about the execution time of the script does not give, that is, not that exact, rather different. For example, the same code can load as 0.1 as 0.3 or 0.007. To find the arithmetic mean is also not an option. If you run the same script after a while, there may be a completely different result. After tried through the cycle (much repetition of the same action). But still, the accuracy was not up to a second. Thanks for attention.
1 answer
I do not know such services, alas. But how can you rely on them, more than on their own cars? It also depends on the config and the php build, but a lot, from what. microtime()
at the beginning and at the end definitely not suitable? There are all sorts of add-ons for profiling: XDebug , PECL APD
Well. and do not run Photoshop while measuring the speed of the script:)
- It is over on the hosting more precisely (ie, the difference is not large) But it would not be bad for a project that it showed exactly. Thanks for the answer - Node_pro
|