1. Updating and profiling.
- Posted by ChrisB (moderator) Apr 04, 2009
- 956 views
Hi
Are there any profiling tools for Eu programs?
I've just updated to build 1674, and it runs, so obviously been compiled with a lower glibc, and it runs on both 32 and 64 bit Linuxes.
What I am specifically after is are there any tools that aid in updating programs that run under 4.0, that also ran under 3.1, but started faster.
The large program I had used the 'include everything in the base file, and let those included files find what they need through that base file' technique, which started fine under 3, but slowed things down when I used 4 tremendously. I then took the basic include set from the base file, and pasted them into the included files. For instance, where the base file was the only ony to include sqlite3.ew, now every file that used an sqlite function now includes sqlite3.ew. The startup is much faster.
But - have I missed any? Could I squeeze an extra millisecond off the startup time somewhere? So is there a tool that says :-
"I can't tie a reference to this symbol in the includes listed here, so I'll check whether this symbol exists in includes above me when I'm done, and then tell the user that I've done this, so he/she could perhaps make the program structure more efficient."
Chris
2. Re: Updating and profiling.
- Posted by DerekParnell (admin) Apr 04, 2009
- 966 views
So is there a tool that says :-
"I can't tie a reference to this symbol in the includes listed here, so I'll check whether this symbol exists in includes above me when I'm done, and then tell the user that I've done this, so he/she could perhaps make the program structure more efficient."
I would like such a tool too. It wouldn't be hard as we already have similar things.
But another approach is the use the bind program. This does a parse of your code and generates all the IL code and places into an executable file. Then all you need to do is execute your bound program and it no longer has to re-parse the include files etc...
3. Re: Updating and profiling.
- Posted by ChrisB (moderator) Apr 04, 2009
- 952 views
Hi
Yes, I've done that and its lightning fast. But for the development phase, changing one or two lines of code, and having to wait 10 - 20 or so seconds for startup, repeatedly, can get a little - irksome.
Chris
4. Re: Updating and profiling.
- Posted by mattlewis (admin) Apr 04, 2009
- 1015 views
"I can't tie a reference to this symbol in the includes listed here, so I'll check whether this symbol exists in includes above me when I'm done, and then tell the user that I've done this, so he/she could perhaps make the program structure more efficient."
There's supposed to be a warning to do this, but since it was implemented, it may have gotten turned off, or for some reason, isn't being emitted.
Matt