andrewvy/HHVMCraft

Performance

Closed this issue · 1 comments

After running only 30 seconds, everything seems to slow down to a crawl. Packets get delayed. Let's pin-point where this is occurring! xdebug has recently released support for PHP 7 in a beta release. So it may be worth looking into for profiling.

time based on microseconds:

image

Here, you can see places where I'm moving around, creating lots of packets, which spikes it up 1200 μs (barely anything)

image

WritePacket procedure looks normal:

image

Rolling Loop HandlePacket measures the time between each handlePacket.

image

Everything looks stable so far. Nothing to cause such a huge slowdown/delay.

Closing as is duplicated in other tickets.