chore: strip temporary PerfLog instrumentation

Профилирование завершено (кадр спектра 8.3мс -> 1.7мс, UI 45% -> 26% ядра):
удаляем PerfLog.pas, doc/PERF_PROFILING.md и все // PERF-замеры из
WDSPEngine/HPSDRNetwork/PlutoBackend/AudioOutput/SpectrumView(+GL)/
WaterfallViewOpengl/WidebandView/MainForm. Сами оптимизации (full-raw
рендерер, дворд-блендеры, порог бэндплана) остаются.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 00:36:03 +03:00
co-authored by Claude Fable 5
parent 0adaff2d21
commit 01d78d148f
12 changed files with 10 additions and 521 deletions
+1 -7
View File
@@ -16,8 +16,7 @@ interface
uses
Classes, SysUtils, Graphics, Controls, Math,
OpenGLContext, GL,
AppTheme, WaterfallView,
PerfLog; // ВРЕМЕННО (perf/cpu-profiling): зонные CPU-таймеры
AppTheme, WaterfallView;
type
TWaterfallViewOpenGL = class(TWaterfallView)
@@ -462,11 +461,9 @@ procedure TWaterfallViewOpenGL.PaintWaterfall(Sender: TObject);
var
W, H: Integer;
R, G, B: GLFloat;
T0, Tsw: Int64; // PERF
begin
if Sender is TOpenGLControl then FGLControl := TOpenGLControl(Sender);
if (FGLControl = nil) or (not FGLControl.MakeCurrent) then Exit;
T0 := PerfNow; // PERF
W := FGLControl.Width;
H := FGLControl.Height;
if (W <= 0) or (H <= 0) then Exit;
@@ -494,10 +491,7 @@ begin
end;
DrawTextureWrapped(W, H);
DrawMarker(W, H);
Tsw := PerfNow; // PERF
FGLControl.SwapBuffers;
PerfAdd(pzUiGlSwap, Tsw); // PERF: SwapBuffers (в т.ч. ожидание vsync)
PerfAdd(pzUiPaintWaterfall, T0); // PERF: GL-кадр водопада (включая SwapBuffers)
end;
procedure TWaterfallViewOpenGL.SetTheme(const T: TAppTheme);