perftools / xhgui

Web interface for XHProf profiling data can store data in MongoDB or PDO database
1.65k stars 342 forks source link

Tests: Destructurize $expectedIndex into [$keys, $options] #408

Closed glensc closed 3 years ago

glensc commented 3 years ago

Follow up to https://github.com/perftools/xhgui/pull/406

The code is more readable with variable names rather numeric offsets. This approach probably even uses less memory as well.

cc @codespill