Repository navigation
Open
Labels
area/performanceRuntime / build performance / efficiency.Runtime / build performance / efficiency.type/automationCreated or maintained by an agentic workflow.Created or maintained by an agentic workflow.
Description
Activity for October 2026
Suggested Actions for Maintainer
No suggested actions at this time.
Energy Efficiency Backlog
| Priority | Focus Area | Opportunity | Estimated Impact |
|---|---|---|---|
| LOW | Code-Level | TestExecutionManager MethodLevel parallel array-per-test in setup |
One-time setup cost |
| LOW-MEDIUM | Code-Level | RuntimeRegistrationEmitter ResolveMethod/ResolveProperty (source generator): O(N×M) linear scan at module-init |
One-time per-assembly startup cost; not worth changing |
| LOW | Code-Level | VideoProduction.cs ProducePerTestVideosAsync O(tests×segments) overlap scan |
End-of-run cold path |
| LOW | Test Infra | Microsoft.Testing.TestInfrastructure: regex-on-error-retry, tiny-collection LINQ |
Negligible |
| LOW | Code-Level | MSTestTelemetryDataCollector serialization OrderBy |
Once per session |
| LOW | Code-Level | TestClassModelBuilder (source generator) duplicate-method detection LINQ |
Compile-time only |
| LOW | Code-Level | TestMethodFilter reflection-based GetRuntimeMethod lookup |
Cold, once per discovery context |
| LOW | Code-Level | WindowTest.WindowSetup: fixed 50ms poll interval |
Windows-only, bounded by 10s timeout |
| LOW | Code-Level | TestDataConnectionSql.Names.cs name parsing (NETFRAMEWORK-only) |
Cold legacy path |
| LOW | Infrastructure | CI output-byte-count health metric | Needs maintainer discussion |
| LOW-MEDIUM | Code-Level | Executable-condition analyzer (#10634) recursive tree walk not memoized | Compile-time, narrow guards |
| LOW | Code-Level | PrivateObject.Invoke generic-method resolution (NETFRAMEWORK-only) |
Developer-invoked utility |
| LOW | Data | MicrosoftExtensionsConfigurationSnapshotProvider.GetChildKeys linear key-scan |
A handful of calls at startup |
Repo continues to be actively self-optimized by maintainers/Copilot coding agent. All top-level src/* directories have had at least one full-pass scan. Our CI-summary memoization fix merged as PR #12019.
Discovered Commands
| Command | Purpose |
|---|---|
./build.sh |
Full restore + build (installs SDK to .dotnet/ first) |
./build.sh -test |
Run unit tests |
./build.sh -pack |
Build + produce NuGet packages |
./build.sh -pack -test -integrationTest |
Full pipeline incl. acceptance tests |
.dotnet/dotnet build <proj>.csproj -c Debug -f <tfm> |
Build a single project once SDK is bootstrapped |
artifacts/bin/<Project>/Debug/<tfm>/<Assembly> (run directly) |
Run a built test-host binary; more reliable for filters in this sandbox |
<host> --filter "FullyQualifiedName~Name" |
Substring filter against a built MTP test host |
dotnet format whitespace TestFx.slnx --verify-no-changes --include <file> |
Format verification |
Run History
2026-10-22 21:44 UTC - Run
- 🔍 Confirmed 0 open
[efficiency-improver]PRs. - 🔍 Reviewed commits landed 2026-10-19 → 2026-10-20 (Split TestMethodInfo execution into focused partials #12040 TestMethodInfo partial split, Extract named cancellation-token data predicates #12043/Remove duplicate MSTest cancellation-token tuple predicate #12044/Extract MSTest's explicit-token tuple predicate #12045 cancellation-token predicate extraction/dedup, Add unit tests for CI run summary exit codes #12041/Add Rebuild coverage for source-copied packaged-app launchers #12042/Stabilize the MTP disconnect diagnostic test #12048/Migrate MSTest desktop integration tests to inline assets #12050 tests, Preserve GitHub Actions report commands under dotnet test #12046/Fix MTP MSBuild reporting for controller-backed test runs #12049 reporting fixes, Update CI validation dependencies and configuration #12047 CI/deps, dependency bumps). All structural, test, CI or correctness changes; 0 new HIGH/MEDIUM findings.
- No PR created this run (nothing new to measure).
2026-10-19 21:48 UTC - Run
- 🔍 Confirmed
efficiency/ci-summary-module-identity-memoizemerged as PR [efficiency-improver] Memoize CI summary module-identity duplicate detection #12019; memoization survived the Share duplicate module identity detection across CI reporters #12005 shared-helper extraction intact. - 🔍 Scanned the last two unscanned
src/*directories (MSTest.GlobalConfigsGenerator,ServerMode.Client.Sources): clean. - 💬 [RFC] Agent/LLM-efficient test output for Microsoft.Testing.Platform #8824/Emit compact end-of-run failure index for LLM/agent consumption #8827/Add JSON / NDJSON test report extension (Microsoft.Testing.Extensions.JsonReport) #8828 received maintainer-requested automated evaluations ("weak evidence, keep lower priority"); informational, not re-engaged.
2026-10-18 22:00 UTC - Run
- 🔧 Created PR (later [efficiency-improver] Memoize CI summary module-identity duplicate detection #12019): memoized
CiRunSummaryModuleIdentity.HasDuplicateModuleIdentity(O(modules2) → O(modules)). - 📊 Measured at 2,000 modules: ~255x faster (2,807ms→11ms), ~99.3% less allocation (20.48MB→137KB).
- 🌱 GSF: Energy Proportionality, Hardware Efficiency.
2026-10-17 21:52 UTC - Run
- 🔍 Scanned 8 small Platform extension directories: 0 new HIGH/MEDIUM findings.
2026-10-16 21:44 UTC - Run
- 🔍 Reviewed 11 commits and scanned
TestFramework.Extensions: 1 LOW cold-path lead added to backlog.
🤖 Automated content by GitHub Copilot. Generated by the Efficiency Improver workflow. · copilot · auto · 45.1 AIC · ⌖ 0.742 AIC · ⊞ 21.4K · [◷]( · ◷)
Add this agentic workflow to your repo
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/efficiency-improver.md@main
Metadata
Metadata
Assignees
Labels
area/performanceRuntime / build performance / efficiency.Runtime / build performance / efficiency.type/automationCreated or maintained by an agentic workflow.Created or maintained by an agentic workflow.
Activity