[php-src] PR #11647: add SKIP_SLOW_TEST's + slow locator script
| From: | divinity76 | Date: | Sun, 09 Jul 2023 11:18:58 +0000 |
| Subject: | [php-src] PR #11647: add SKIP_SLOW_TEST's + slow locator script | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22964@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11647
Author: divinity76
made a script to look for tests everywhere, and run them all 3 times with SKIP_SLOW_TESTS set, and
rank them all by best-of-3-runs, and found a couple of slow-ish tests and added SKIP_SLOW_TEST to
them.
oh, and the run-tests.php thing is just a performance optimization really, in PHP (and some other
languages) ++i is faster than i++ , also i++ is a strange operator, here is what i++ means:
> make a copy of i, then increment the original, then return the copy.
by comparison, here is what ++i means:
> increment i and return it.
even in GCC you'll see ++i being faster than i++ on -O0 (disable optimizations), but gcc
auto-optimize i++ to ++i on O1 and above ~ (at least this was true back in the gcc 4.x days)