RE: QA Tests: Python vs C++

2022-03-09 Thread Jeff S
ython bindings" is a pretty strong statement. Thanks for the input. Jeff -Original Message- From: Discuss-gnuradio On Behalf Of Marcus Müller Sent: Monday, March 7, 2022 11:20 AM To: discuss-gnuradio@gnu.org Subject: Re: QA Tests: Python vs C++ Hi Jeff, since all the data handli

Re: QA Tests: Python vs C++

2022-03-07 Thread Marcus Müller
Hi Jeff, since all the data handling is done in C++ land in GNU Radio anyways, the only difference in test performance is when the Python code takes longer to evaluate the the result of some flow graph. For example: if you write a test case where the data from a vector sink is compared to

Re: QA Tests: Python vs C++

2022-03-07 Thread Josh Morman
Jeff, When tests are done in C++, they also must be compiled, which adds to the overall gnuradio compilation time. In-tree the c++ tests are reserved mainly for testing the really low level like buffers. I agree with you that an all c++ target makes debugging easy, but you can launch the python

QA Tests: Python vs C++

2022-03-07 Thread Jeff S
I started writing some QA tests which were missing for some blocks I'm working on (in maint-3.9). I decided to compare using Python vs using C++ when building new tests. When I started looking into the C++ tests, it seems that there are not a lot of examples around, so I started wondering why