fair-acc / gnuradio4

Prototype implementations for a more compile-time efficient flowgraph API
GNU Lesser General Public License v3.0
22 stars 8 forks source link

Perf #358

Closed drslebedev closed 4 weeks ago

drslebedev commented 1 month ago

This PR consists of 2 commits: 1) Add unit test checking autoUpdate and stored parameters in CtxSettings.

2) Add Performance monitoring block:

Here are some performance results produced with qa_PerformanceMonitor for simple graph:

                                                        ↱ tagSink
src -> monitorBulk -> monitorOne -> monitorPerformance -> tagSink
                                                        ↳ tagSink

The results include 200 seconds of running. Case 1: no tags (in blue) Case 2: 1 tag per 10000 samples (in orange) Case 3: 1 tag per 1 samples (in green, right axis), evaluation rate was set to 1000 samples.

result
sonarcloud[bot] commented 4 weeks ago

Quality Gate Failed Quality Gate failed

Failed conditions
65.2% Coverage on New Code (required ≥ 80%)
7.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud