>> I have many projects, with physics and math, different simulations,
>> experimental game, etc.
>> Non of them do networking or uses database at this moment.
>> So, I don't know how much profiler can help you with them, but I
>> guess in most cases very little.
>>
> At this point I can no more
Jussi Lahtinen ha scritto:
> I have many projects, with physics and math, different simulations,
> experimental game, etc.
> Non of them do networking or uses database at this moment.
> So, I don't know how much profiler can help you with them, but I
> guess in most cases very little.
>
At th
> If a program does networking, database, or uses complex libraries, then
> the bottleneck is almost always outside the program itself. So it makes
> little difference in using python, gambas or assembler.
I like Gambas because it is very fast to write, and in most cases
it's also fast enough to
Jussi Lahtinen ha scritto:
> I must add this also...
> Profiler is like debugger, if you know where the error is you don't
> need debugger,
> but many times you don't!
> Same thing with profiler, if you know where the bottleneck is you
> don't need profiler,
> but many times you don't!
>
I don't
I must add this also...
Profiler is like debugger, if you know where the error is you don't
need debugger,
but many times you don't!
Same thing with profiler, if you know where the bottleneck is you
don't need profiler,
but many times you don't!
Jussi
On Sat, Sep 12, 2009 at 15:39, Jussi Lahtin
> Computers are much faster,
Still your program can run slowly!
> compilers are more optimizing,
Gambas compiler do not optimize at all.
> analisys of the task and experience tell what to do - better than a profiler.
Not true at all. That's almost always opposite!
> This was clearly sta
Jussi Lahtinen ha scritto:
> It would still have performance impact,
> because interpreter would have to constantly check if profiler section
> of code is needed to execute.
> Compiler isn't used at runtime, so changes should be made to interpreter.
>
I remember the old good days when turbo pasc
: mailing list for gambas users
> Sent: Friday, September 11, 2009 10:55:41 AM
> Subject: Re: [Gambas-user] Profiler for Gambas projects
>
>> I haven't use Valgrind, but I think yes, but I'm only interested about
>> performace analysis.
>>
>> Jussi
>>
>
&
:55:41 AM
Subject: Re: [Gambas-user] Profiler for Gambas projects
> I haven't use Valgrind, but I think yes, but I'm only interested about
> performace analysis.
>
> Jussi
>
OK, I read the wikipedia entry and found how gprof works, and now I can see
how it could be don
> 5) Run a high resolution timer that increments that counter for the current
> function at the time the timer is triggered.
How accurate high resolution timer is on Linux?
> But I hate slowing down the interpreter for such things.
I agree, that is not good option!
> Maybe by compiling a sp
Benoît Minisini schreef:
>> I haven't use Valgrind, but I think yes, but I'm only interested about
>> performace analysis.
>>
>> Jussi
>>
>>
>
> OK, I read the wikipedia entry and found how gprof works, and now I can see
> how it could be done:
>
> 1) Have a counter for each Gambas function w
> I haven't use Valgrind, but I think yes, but I'm only interested about
> performace analysis.
>
> Jussi
>
OK, I read the wikipedia entry and found how gprof works, and now I can see
how it could be done:
1) Have a counter for each Gambas function written in Gambas and for each
public functi
Jussi Lahtinen a écrit :
> I haven't use Valgrind, but I think yes, but I'm only interested about
> performace analysis.
I think that's a nice idea, when I 1st used a python profiler, I found
many places where small modifications greatly improved execution time.
JY
--
I know things about TROY DO
I haven't use Valgrind, but I think yes, but I'm only interested about
performace analysis.
Jussi
2009/9/11 Benoît Minisini :
>> 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 wiki
> 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
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_profilers
),
and I think statistical pro
16 matches
Mail list logo