Skip to content

Suggest enabling performance tracking in the speed analysis findings - #9702

Merged
Martin-Molinero merged 2 commits into
QuantConnect:masterfrom
Martin-Molinero:feature-speed-analysis-performance-tracking-hint
Aug 14, 2026
Merged

Suggest enabling performance tracking in the speed analysis findings#9702
Martin-Molinero merged 2 commits into
QuantConnect:masterfrom
Martin-Molinero:feature-speed-analysis-performance-tracking-hint

Conversation

@Martin-Molinero

Copy link
Copy Markdown
Member

Description

  • The algorithm speed analysis now suggests setting the PerformanceSamplePeriod setting to get the Performance chart with the engine time breakdown. The hint is added to the slow execution (tracked metrics and completion-log fallback) and throughput degradation findings, uses the algorithm's language for the setting name and example, and is skipped when the algorithm already has performance tracking enabled.
  • Include the server statistics in the stored intermediate backtest results, matching the split update packets which already carry them.

Related Issue

N/A

Motivation and Context

Helps users diagnose slow backtests by pointing them at the built-in performance tracking tool.

Requires Documentation Change

N/A

How Has This Been Tested?

New unit tests in AlgorithmSpeedAnalysisTests covering the hint's presence, language formatting, and suppression when tracking is already enabled.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Refactor (non-breaking change which improves implementation)
  • Performance (non-breaking change which improves performance. Please add associated performance test and results)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Non-functional change (xml comments/documentation/etc)

🤖 Generated with Claude Code

Martin-Molinero and others added 2 commits August 14, 2026 14:13
The slow execution and throughput degradation findings now suggest setting
the PerformanceSamplePeriod setting to get the Performance chart with the
engine time breakdown, skipping the hint when tracking is already enabled.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Martin-Molinero
Martin-Molinero merged commit 2048d6b into QuantConnect:master Aug 14, 2026
7 of 8 checks passed
@Martin-Molinero
Martin-Molinero deleted the feature-speed-analysis-performance-tracking-hint branch August 14, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant