Thanks for your autorization.
I pushed the last version today, well the code is still as dirty as before
as I don't have much time to spend in it but I believe the tool is useful.
I myself had to use it recently often due to particular project situation
where I could not expect a live debugger and faced hard situation to
reproduce in other environment.
And adding your profiling functions may make it complete for various usages.
If you have few minutes to try it please let me know if you think it is
useful.
Thanks!
2016-03-18 19:16 GMT+09:00 Derick Rethans <derick[@]xdebug.org>:
> On Fri, 18 Mar 2016, jeannie boffel wrote:
>
> > I've been improving this tool finally (
> > https://github.com/jboffel/GTK-XdTrace) and I think it starts to get
> > somewhere...
> >
> > It's compatible with trace_format 0 and 1 now and generate also the
> > statistics based Derick's algorithm:
> >
> https://raw.githubusercontent.com/derickr/xdebug/master/contrib/tracefile-analyser.php
> >
> > I assumed it is open source but if I'm wrong then let me know and I'll
> > remove the code.
> >
> > However about this functionnality it seems that the calculated memory
> > is sometime negative. Is it a bug due to some inaccuracy?
>
> Yes, sometimes memory gets freed. That can be because the garbage
> collector kicks in, or a function changes a variable to something less
> big. Profiling memory usage is not easy for PHP apps.
>
> > (I not yet pushed that features on GitHub, depending on your approval
> > to reuse that piece of code)
>
> Feel free to use it. I've slapped a licence on it too:
>
> https://github.com/xdebug/xdebug/commit/61071bc2dba781ef8cd92f09050d9db3b150479d
>
> cheers,
> Derick
>
> --
> Like Xdebug? Consider a donation: http://xdebug.org/donate.php
> Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
> twitter: @derickr and @xdebug
>
>
Received on Mon Mar 21 2016 - 23:42:23 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST