Hi

This is indeed a great step. Do you have any benchmarks on without the extension vs. with the extension?

Perhaps other frequently called functions will follow, if this proves to be a significant reducer of CPU usage.

Comments

fgm’s picture

There is an ab output in the repository: more or less 10 req/s gained; but apparently this is unauthenticated and with caching, which is the least favorable case for the extension, since it runs the smallest amount of code.

Funnily enough, I was thinking of building up on my own PHP extension efforts when I noticed this new project, but I figured the biggest gains might be expected from converting function callbacks for the 'vector' functions like uasort(), array_filter(), array_map().

dmitrig01’s picture

I would think it would be from the module system, because of cufa :D.

mikeytown2’s picture

dhthwy’s picture

There is also profiling data from xhprof in the benchmarks directory.

Let's keep this open in case someone else wants to post their own benchmarks.