question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reliable FCS benchmarks which run on every release

See original GitHub issue

We need to come up with reliable FCS benchmarks, and run them as part of dotnet/performance, ideally every release (on every signed build for current release branch).

Some ideas for scenarios we want to test:

  • VS related (may be better solved with telemetry, rather than benchmarks):
    • Cold:
      • Time to colouring and breadcrumbs in the newly built projects of different sizes.
      • Time to intellisense in an arbitrary document in a newly build project of different sizes.
      • Time to build, time to rebuild.
      • Time to produce diagnostics on error (type errors, syntax errors, etc).
      • Time to full typecheck of project graphs of both connected and independent.
    • Hot (re-check):
      • Same as above but in a prebuilt project of various sizes.
  • General (FCS):
    • Static tests:
      • Typechecking of projects of various sizes.
      • Typechecking of project graphs of both connected and independent.
    • Runtime tests (pretty much testing our codegen).
      • Time to main, we need to include different “configs” - ngen’d/crossgen’d, w/ and w/o mibc.

Some metrics we are interested in: time spent in scenarios, allocations (how much do we promote, is there anything ending up in LOH, etc), time spent in GC, etc.

More info and context: https://github.com/dotnet/fsharp/discussions/12526 & https://github.com/dotnet/fsharp/pull/13419

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
0101commented, Oct 31, 2022

@kerams it should be running now, and data being collected. Still have to figure out how to get to them.

1reaction
0101commented, Sep 2, 2022

I created some parsing and type checking benchmarks on FSharpPlus and FsToolkit.ErrorHandling which take reasonable amount of time but should also hopefully catch most regressions.

https://github.com/dotnet/performance/pull/2592

They can be run locally, with local build of FSC plugged in via project file. I’ll think about making that easier somehow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Guide to FCS Fins
Need a quick intro on how to select the best FCS fins to suit your surfing? ... Understand how fin characteristics can change...
Read more >
Robust FCS Parsing: Exploring 211359 Public Files - PMC
For each data set, within each FCS file, validated parse results were ... FlowCore was benchmarked in depth, by using the validated parse ......
Read more >
How To Choose The Right FCS II Fins By Hawaiian South ...
More flexible fins such as the Performance Core are also good for lighter, more agile surfers, as they provide a big of spring...
Read more >
Food Consumption Score (FCS) | INDDEX Project
By applying standard nutritional value weights to the food groups in the index, the WFP intends for the score to be a more...
Read more >
What Fins Should You Surf? FCS fin test featuring Sam Lamiroy
Featuring Mick Fanning Neo Carbon, Julian Wilson Aircore, Reactor and Performer all in FCS II on the same fresh board, which is the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found