Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cache resolved asserters #569
This tiny patch let us improve performances on atoum tests (this is really clear with inline engine).
Here is the diff generated with blackfire (
added a commit
this pull request
Feb 2, 2016
@Hywan Shared memory page imply specific PHP extension which is rarely available "out of the box" on a workstation and it seems to me that it is unavailable on Windows. Moreover, this kind of solution (or any cache solution) imply lock management to avoid race condition. So, this solution add lot of complexity in the code in regards of a small impact on performance and a lack of portability. Not sure that wasting time to implements this kind of tradeoff is a good move, or only for the fun. And finally, you must serialize data to put them in a shared memory page… go back to the start of the story ;).