sandrocardoso86 / webgrind

Automatically exported from code.google.com/p/webgrind
Other
0 stars 0 forks source link

Direct link to report #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice if you could open up webgrind with the appropriate report
loaded directly.

I already hacked it in my own installation, it's fairly simple. Using the
document.location.hash property, I only had to change the index.phtml file.
It's attached (is it?)

As a result an URL like this would load my just freshly generated report:

http://localhost/Applications/Webgrind/#cachegrind.out.2910

And creating it with PHP:

<?php
   printf('<hr><a href="/Applications/Webgrind/#%s" target="webgrind">Show
   in Webgrind</a>', basename(xdebug_get_profiler_filename()));
?>

Original issue reported on code.google.com by somefool...@gmail.com on 28 May 2008 at 5:53

Attachments:

GoogleCodeExporter commented 8 years ago
Great idea! Will include in next release.

Original comment by gugakf...@gmail.com on 29 May 2008 at 12:56

GoogleCodeExporter commented 8 years ago
Added in r76

Original comment by gugakf...@gmail.com on 29 May 2008 at 6:51