Re: [linux-audio-dev] runtime / compiletime processing proof of concept

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] runtime / compiletime processing proof of concept
From: Juan Linietsky (coding_AT_reduz.com.ar)
Date: Fri Jul 26 2002 - 20:38:40 EEST


On Fri, 26 Jul 2002 13:56:55 +0200
Maarten de Boer <mdeboer_AT_iua.upf.es> wrote:

>
> What i forgot to mention:
>
> The most interesting thing is that the code used for runtime, and
> the generated code used for on the fly compilation is actually the
> same! Which ensures that the result of runtime execution and
> compiling generated code -> execution is the same, and everything
> has to be written only once.
>
> maarten
>

Hi! Thanks for taking the time of writing a proof of concept program.
So far from what i've been reading it seems ok (didnt have much time
to check the entire code in detail) althought the real
advantage of compiling such graphs is when they are very large and
stack/buffer and indirection operations start to really slow it down.
Still, even whith this, i get (please tell me if these are correct):

realtime code: (./main)

real 0m1.005s
user 0m0.970s
sys 0m0.030s

runtime code: (./gen)

real 0m0.435s
user 0m0.370s
sys 0m0.060s

three seems to be quite a difference!

Juan Linietsky


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Jul 26 2002 - 20:51:05 EEST