Skip to content

[perf-improver] Monthly Activity 2026-06 #8933

@Evangelink

Description

@Evangelink

🤖 Perf Improver here - I'm an automated AI assistant focused on performance improvements for this repository.

Activity for June 2026

Suggested Actions for Maintainer

  • Review draft PR perf-assist/cache-generate-lines-buffers: Eliminate 5 per-tick allocations in GenerateLinesToRender via cached buffers (~12,000 allocs eliminated per 5-min run) — PRs

Performance Opportunities Backlog

  1. GenerateLinesToRender List<object> heterogeneous boxing — consider a sealed base type to avoid type checks; lower priority
  2. TestNodeResultsState.GetRunningTasks() — still allocates a new List<TestDetailState> per assembly per tick; could be cached similarly

Discovered Commands

  • Build: ./build.sh -build -c Debug (Linux)
  • Full build (all TFMs): ./build.sh
  • Run platform unit tests: artifacts/bin/Microsoft.Testing.Platform.UnitTests/Debug/net8.0/Microsoft.Testing.Platform.UnitTests
  • Profiling infrastructure: test/Performance/MSTest.Performance.Runner — uses dotnet-trace, PerfView, VSDiagnostics, ConcurrencyVisualizer
  • Note: system dotnet is a stub; build.sh installs pinned SDK into .dotnet/

Run History

2026-06-10 14:52 UTC - Run

2026-06-09 14:21 UTC - Run

2026-06-08 14:47 UTC - Run

  • 🔧 Created PR: perf: add GetLongestRunningTask to avoid list allocation in SimpleTerminal — O(n log n) sort + List alloc → O(n) scan, ~6 000 allocs eliminated per 5-min run
  • 📋 Task 4: No open perf-improver PRs (all merged by Evangelink)
  • 🔍 Task 6: Assessed measurement infrastructure — test/Performance/MSTest.Performance.Runner exists with dotnet-trace/PerfView profiling; no BenchmarkDotNet microbenchmarks present

2026-06-06 14:09 UTC - Run

2026-06-05 14:xx UTC - Run

Earlier runs (merged PRs)

🤖 Automated content by GitHub Copilot. Posted via a maintainer's GitHub token, so it appears under their account — the account owner did not write or approve this content personally. Generated by the Perf Improver workflow.{ai_credits_suffix} · [◷]( · )

Add this agentic workflows to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/perf-improver.md@main

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/performanceRuntime / build performance / efficiency.performancetype/automationCreated or maintained by an agentic workflow.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions