Skip to content

Add benchmark project and fix a few performance issues#459

Merged
waf merged 3 commits into
mainfrom
add-benchmark-project-and-fix-perf-issue
Jun 2, 2026
Merged

Add benchmark project and fix a few performance issues#459
waf merged 3 commits into
mainfrom
add-benchmark-project-and-fix-perf-issue

Conversation

@waf
Copy link
Copy Markdown
Owner

@waf waf commented Jun 2, 2026

  • Add benchmark project.
  • Reduce memory usage for longer sessions (see comments near GetCompilationAsync)
  • Re-order warmup to warm up per-keystroke operations first; evaluation warmup can run after that
  • If code completion is not yet warmed up, don't open the completion menu -- that's responsible for about ~1s of lag when first typing in a newly started REPL.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2026

Codecov Report

❌ Patch coverage is 85.10638% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.4%. Comparing base (4c2b550) to head (a8075d3).

Files with missing lines Patch % Lines
CSharpRepl.Services/Roslyn/RoslynServices.cs 84.7% 4 Missing and 3 partials ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #459   +/-   ##
=====================================
  Coverage   70.3%   70.4%           
=====================================
  Files         94      94           
  Lines       6805    6836   +31     
  Branches    1000    1005    +5     
=====================================
+ Hits        4789    4814   +25     
- Misses      1691    1694    +3     
- Partials     325     328    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@waf waf merged commit de552be into main Jun 2, 2026
3 checks passed
@waf waf deleted the add-benchmark-project-and-fix-perf-issue branch June 2, 2026 16:19
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