I was wondering if there is a "tester" or utility in EBASIC that could test the efficiency of my program source code. The idea is to find any unused variables, subs, etc. It would also be good to see a graph of how many milliseconds were spent on each line of code. It seems like something that might already be in the Debug Builds, but I haven't found it yet?
Is this available for EBASIC?
Nope. What you are looking for is code profiling, something very complicated to write, although it isn't hard to time a subroutine.
Paul.
Quote from: Paul Turley on January 06, 2008, 09:07:58 PM
Nope. What you are looking for is code profiling, something very complicated to write...
Is this something that will be coming in the future, if so is there a time frame?
Quote
... although it isn't hard to time a subroutine.
Paul.
How would you suggest doing this? BTW - Thanks for the reply!
Some background.
http://www.gnu.org/software/binutils/manual/gprof-2.9.1/html_mono/gprof.html#SEC24
Quote from: mrainey on January 07, 2008, 06:00:30 AM
Some background.
http://www.gnu.org/software/binutils/manual/gprof-2.9.1/html_mono/gprof.html#SEC24
Thanks Michael. - I haven't figured it all out yesterday and I get the logic. I was thinking about doing the kind of the same thing with a modified "DEBUGPRINT" if I could get tit to work? ???
I've also noticed you are still a big fan of UltraEDIT. I am giving the UE Studio for programmers a whirl.
Do you know anything about the UES?
How do I get the editor to use the syntax coloring?
Is there a separate d/l for EBASIC users?
Wow! lots of questions.... hope you don't mind?
Download this.
http://mrainey.freeservers.com/Miscellaneous/syntax.zip
Quote from: mrainey on January 07, 2008, 03:03:36 PM
Download this.
http://mrainey.freeservers.com/Miscellaneous/syntax.zip
If I can make any reasonable improvements in the wordfile.txt excerpt, I'll be sure and pass them along, but right now I can't even find the compiler path?!?
PS - Check your PM.