> Hi all! > I hope I'm not talking pure non-sense about this, but lets try... > I was thinking about possibility to make profiler for Gambas projects. > I readed wikipedia article about profilers ( > http://en.wikipedia.org/wiki/Profiler_(computer_science)#Statistical_profil > ers ), > and I think statistical profiler would be possible solution. I really > don't know for sure. > If interpreter could put out time and address in bytecode, then it > would be possible to do statistical analyze about running gambas > project. > (maybe there is problem to translate bytecode address to line of source > code..?) > > Would be nice if interpreter could be compiled with optionally to act > like profiler or normal interpreter (then no performance penalty). > I think that would be possible with preprocessor conditionals..? > > If I'm correct, then only thing left to do is GUI for the data, and > that could be written with Gambas. > Comments? > > I think profiler is important feature, and I hope we can find other > solution than just manual instrumentation... yes I actually do that. > > > Jussi >
You mean something like valgrind/callgrind, but for the Gambas bytecode? -- Benoît Minisini ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user