longxinH / xhprof

PHP7/PHP8 support
http://pecl.php.net/package/xhprof
Apache License 2.0
1.07k stars 166 forks source link

Increase tolerance to latencies #74

Closed mikhainin closed 1 year ago

mikhainin commented 1 year ago

When we build PHP and XHProf without optimisations but with debug (--enable-debug), everything becomes much slower than usual, for example, this timing is typically 12512-12600 on my laptop and our build server in such configuration.

It doesn't look like a problem for higher timings (e.g. the following test usleep(50000) works fine as it has larger tolerance). I thought that we can allow a bit of extra time to consider the latencies of such builds.