Purefiler - An alternative profiler

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

jassing wrote:found another issue: open a new tab in the IDE - past some code, now run it w/o saving it.
I know, that's unchangable, sorry.
jassing wrote:Regarding relative or '\' paths - Yea, I changed the paths to be a fullpath and made no difference.
it seems there is some limit w/in purefiler that just stops on large projects... oh well; I remember using it before and liked it, but it's not working here :(
Hm, logically there's definitely no limit, so it must be a bug, somewhere. But as I already mentioned, to be to locate such a bug it would be way easier if I have some material to base my investigations on. :|
Go, tell it on the mountains.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

We've got a new version online: Build 147

@eesau: Thx for your material, your issues should be gone now, but be aware that it takes a couple of seconds to build the call-hierarchie for your project.

Besides that I finally implemented a long missing feature: manual overrides by the user. By the use of special comments one can turn on/off Purefiling for specific areas in her code.

Use the following line-comments ...
";Purefiler OFF" to turn off Purefiling
";Purefiler ON" to turn on Purefiling

By default Purefiling is ON from the beginning. So if you dislike that put a ";Purefiler OFF" as first line.

Cheers,
Didel.
Go, tell it on the mountains.
sec
Enthusiast
Enthusiast
Posts: 789
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Re: Purefiler - An alternative profiler

Post by sec »

Didelphodon wrote:
sec wrote:Sorry, but i have SuperServ.pb. How i use Purefiler with SuperServ.pb?

Thanks
May I ask what "SuperServ.pb" is?
Its my code, one server with some thread inside
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Re: Purefiler - An alternative profiler

Post by eesau »

Didelphodon wrote:We've got a new version online: Build 147

@eesau: Thx for your material, your issues should be gone now, but be aware that it takes a couple of seconds to build the call-hierarchie for your project.
All right, thanks! I'll run some tests later.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

sec wrote:
Didelphodon wrote:
sec wrote:Sorry, but i have SuperServ.pb. How i use Purefiler with SuperServ.pb?

Thanks
May I ask what "SuperServ.pb" is?
Its my code, one server with some thread inside
Please follow the explanations in the first post of this thread if you want to know how to use Purefiler in general. If you still have questions feel free to drop a post here :-)
Go, tell it on the mountains.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

eesau wrote:
Didelphodon wrote:We've got a new version online: Build 147

@eesau: Thx for your material, your issues should be gone now, but be aware that it takes a couple of seconds to build the call-hierarchie for your project.
All right, thanks! I'll run some tests later.
Looking forward to a positive feedback :-)
Go, tell it on the mountains.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

I made a video which shows the basics of using Purefiler. I messed up the video-recorder's config, though, so no mouse cursor was recorded. However, the most interesting stuff in it are the annotations, so this shouldn't be any problem.

Have phun with the video ...

http://www.screencast.com/t/mRUbthPu8
Go, tell it on the mountains.
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 794
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: Purefiler - An alternative profiler

Post by Zebuddi123 »

Very Good Didelphodon ! although i had seen this before. Sorry to say i had not taken much notice. But seeing the video i can see you have put a lot of effort into this, "Very Useful" +10 :D :idea:

Thanks for sharing.

Zebuddi. :D
malleo, caput, bang. Ego, comprehendunt in tempore
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

@zebuddi: thx for your kind words :-)
Go, tell it on the mountains.
User avatar
Kukulkan
Addict
Addict
Posts: 1352
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: Purefiler - An alternative profiler

Post by Kukulkan »

Hello,

Is this working with PureBasic 5.21 (LTS) 32 bit version? I installed as plug-in like explained in the initial post. If I compile, I get asked if I like to build with the Purefiler-Monitoring code. I answer with "yes" and the result is an executable with only 19K (normal compile is about 300K). I can't run the exe, it directly closes after start (it is a comandline tool). No additional output to see. Are there any restrictions I missed? I'm calling DLL's (eg zlib1.dll) and calling some API functions. Is this a problem?

I'm highly interested in the timing measurement (where is the time spent?). The standard PB profiler does not tell me how long a function needed. It only counts the number of calls (which does not tell me about time).

Kukulkan
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 179
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: Purefiler - An alternative profiler

Post by majikeyric »

Hi Didelphodon,

There is something I don't understand, one month ago everything was working,

now the executable well writes stats logs in my home directory but in standalone mode PureFiler can't find the logs just written.

What am I missing ? :?

Many thanks ! :D
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 179
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: Purefiler - An alternative profiler

Post by majikeyric »

OK, I found the problem.
If you build an executable with the unicode switch, Purefiler crashes when trying to load the log file...

(PB 5.31)
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 448
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Purefiler - An alternative profiler

Post by Didelphodon »

Imaginable, by the time I developed Purefiler I was only focused on Ascii.
At the moment I don't have any sparetime to update Purefiler, though - sorry.
However, any upcoming updates will be posted in this thread.

Cheers,
Didel.
Go, tell it on the mountains.
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 179
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: Purefiler - An alternative profiler

Post by majikeyric »

Thanks Didelphodon.
Post Reply