andrewvy/HHVMCraft

XDebug Profiling

Opened this issue · 0 comments

Use XDebug to profile and generate flame graphs to pinpoint obvious speed bottlenecks. I don't want to focus too much on performance, but any chunk we can get along the way is added benefit. We definitely get slower and slower with parsing packets over time because our queue fills up.

We are getting bombarded with packets, it's crazily filling up our queue. There's gotta be a better way we can parse this out. Combined unpack statements rather than one by one? Something.

EDIT: xdebug is pending PHP 7 support.