Add script to publish Goldilocks app for NativeAOT

Open
#1,783 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
build-system

Research direction

Start by locating the Goldilocks app's .csproj and compare how the benchmark publishes its Stage 1 app. Add a locally runnable script next to the project that applies PublishAot=true, TrimMode=full, StripSymbols=true, and the other benchmark settings; done means it produces the same app used in benchmarks.

Written by the indexing model from the issue text.

Description

When new developers want to test out their changes against the "Stage 1" Goldilocks app, they have to know exactly how to publish the app (PublishAot=true, TrimMode=full, StripSymbols=true, etc).

We should have a script next to the .csproj that devs can easily run locally to get the same app that is used in our benchmarks.

Note this could also be documentation, but a script feels nicer.

cc @mitchdenny @eiriktsarpalis

Dominant language
C#
Stars
1.2k
Forks
244
Avg merge
4d 4h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aspnet/Benchmarks

All issues in aspnet/Benchmarks

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.