NoiseByNorthwest / php-spx

A simple & straight-to-the-point PHP profiling extension with its built-in web UI
GNU General Public License v3.0
2.1k stars 81 forks source link

Browser Freezes #62

Open aftabnaveed opened 6 years ago

aftabnaveed commented 6 years ago

I am successfully able to configure the extension, but when I try to see the matrix details my browser freezes. I tried it on both Firefox and Latest Version of Google Chrome.

I am collecting matrix for Laravel's 5.6 default home page. My Computer Specs are:

RAM: 16GB CPU: Core i7 Platform: Docker for windows 10

The configuration can be found in this screenshot: https://imgur.com/cVdr5NJ

And the actual Report that I am trying to load is here:

https://imgur.com/l57nfMc

NoiseByNorthwest commented 6 years ago

I think the report does not exist, and this error is not handled, this why there is no feedback except a crash of the UI. On the first screenshot the report time is 17:56:12 but in the second one you can see "..._075612-..." in the url. A typo in the URL I guess.

NoiseByNorthwest commented 6 years ago

I've just push a patch on master (38e22d9) which adds a bit of error handling.