[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed |
Date: |
Sat, 13 May 2006 09:55:47 -0700 |
User-agent: |
Mutt/1.5.9i |
On Fri, May 12, 2006 at 10:30:46AM -0400, Achilleas Anastasopoulos wrote:
>
> I have noticed a huge speed dissadvantage when comparing my
> ANSI-C implementation of a Viterbi decoder with my Gnuradio
> implementation. The core code is pretty much the same, except
> that in the Gnuradio implementation I am using STL vectors.
>
> It seems that Gnuradio is about 20 times SLOWER than ANSI-C!!!
> I was wondering if this has to do with Gnuradio itself (buffering +
> python + other fat), or with the fact that I had to translate all
> my ANCI-C code to C++ and use STL.
>
> Does anyone have similar experiences?
>
> Achilleas
It shouldn't be any slower unless you're making life tough for the C++
compiler (that is, using constructs that it can't optimize away).
If you'll send me both pieces of code (off-list) along with the
benchmarking framework, I'll take a quick look at them.
Eric
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, (continued)
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Achilleas Anastasopoulos, 2006/05/12
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Eric Blossom, 2006/05/13
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Achilleas Anastasopoulos, 2006/05/14
- Message not available
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Achilleas Anastasopoulos, 2006/05/14
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Eric Blossom, 2006/05/14
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Eric Blossom, 2006/05/14
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Dave Dodge, 2006/05/15
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, al davis, 2006/05/12
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, al davis, 2006/05/12
- Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Eric Blossom, 2006/05/13
Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed,
Eric Blossom <=
Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Achilleas Anastasopoulos, 2006/05/13
Re: [Discuss-gnuradio] ANCI-C vs Gnuradio/C++ speeeed, Achilleas Anastasopoulos, 2006/05/13