Граф коммитов

100 Коммитов

Автор SHA1 Сообщение Дата
Meri Khamoyan eb35a44768
[wasm] Update steps to run the benchmarks against local runtime build (#4333)
* Update docs

* add blank lines

* minor change

* update doc as per markdown linting rules

* revert .mjs renaming

* feedback
2024-08-06 09:39:40 -05:00
Parker Bibus 8e9db6509f
Update some doc references from net8.0 to net9.0 (#4275)
Update some doc references from net8.0 to net9.0 and fix some linting errors.
2024-06-19 06:30:37 +10:00
Andrea Canciani 71cf3ae660
Fix link in `benchmarking-workflow-dotnet-runtime.md` (#4213) 2024-05-13 10:31:28 -07:00
Jiri Cincura ↹ 11d2879046
Fix MDs (#3358) 2023-09-20 09:57:49 -07:00
Ivan Povazan 6e1db7d4b4
Updating prerequisites documentation (#3356) 2023-09-20 11:51:24 +02:00
Drew Scoggins 57f150e752
Add perf report walkthrough doc (#3326) 2023-09-11 09:59:52 -07:00
Cameron Aavik d85a49791e
Crank runner for Helix (#3230)
- General improvements to python scripting in repo
2023-08-11 19:08:09 +10:00
Scott Blomquist cbd186d522
Add note regarding Maestro timing (#3152) 2023-07-20 13:50:49 -07:00
Radek Doulik 536206fea8
Update benchmarking-workflow-dotnet-runtime.md (#2974) 2023-04-19 17:08:44 +02:00
Parker Bibus f93c4af41c
First pass at adding Mono testing prereq, build, and test docs. (#2922)
Add Mono scenario building and testing documentation to perf repo per https://github.com/dotnet/performance/issues/2888.
2023-03-08 09:12:17 +01:00
Ankit Jain dd626ad56d
[wasm] Update docs to add --run-isolated to the command line (#2894) 2023-02-08 20:56:30 -05:00
Ankit Jain 56b01df0b1
Update docs for running benchmarks for wasm (#2889) 2023-02-07 18:12:25 -05:00
Parker Bibus 794a3ffe3c
Update markdowns to net8.0. (#2705)
* Update markdowns to net8.0.

* Removed BDN and ToC headers from benchmarkdotnet.md table of contents.
2022-11-09 12:13:39 -08:00
Adam Sitnik 3fc552c583
[Microbenchmarks] TFMs cleanup + Microsoft.Extensions* update (#2703)
* use 7.0.0 Microsoft.Extensions* when targeting net7.0, so .NET 6 vs 7 diff shows the actual difference for Extensions benchmarks, fixes https://github.com/dotnet/runtime/issues/77900

* update net461 to net462 as the 7.0.0 version of System* libraries like System.Threading.Channels do not support net461 anymore

* remove net5.0 (it's not supported anymore)

* the test projects don't need to target old monikers, net7.0 is enough
2022-11-08 19:48:17 +01:00
Ankit Jain f82aa4641b
docs: Add instructions for running for WASM (#2612)
Also, fix lint errors.

Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
2022-10-03 19:28:40 -04:00
Marc Brooks 9404851ed0
Add support for decimals in ValuesGenerator. (#2547)
* Add support for decimals in ValuesGenerator.
As suggested in the documentation, added support for the decimal type.
Also corrected the documentation to properly enumerate the supported types.
Fixes #2546

* Add tests to cover supported types in ValueGenerator
Also required updates to ValueGenerator.GenerateValue method to support byte

* Fix compilation errors in AlignedMemory
On newer platforms, the NativeMemory.AlignedAlloc wants UIntPtr not uint arguments

* Addressed review comments

Added a lot of documentation about what public methods do.
Added exceptions when invalid requests of the unique methods for too many distinct values.
Switched to single-line methods for SupportsXXX
Added notes on why we cannot change the existing behavior of supported types, and what the internal methods do (range and values returned).
Added testing coverage for new exceptions

* Fixed documentation

Failed to call out sbyte support in ValuesGenerator
2022-08-11 08:05:50 +02:00
dmitry af d64f22ab58
Add String/StreamReader.ReadToEnd benchmarks (#2177)
Co-authored-by: Dan Moseley <danmose@microsoft.com>
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
2022-05-10 16:22:19 +02:00
Dan Moseley 03207f183f
pr template (#2258) 2022-02-14 15:29:58 -07:00
Dan Moseley ef3edbc52d
Update markdowns to 7.0 (#2251)
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
2022-02-09 13:27:41 +01:00
Bill Wert 5d6fc74933
Fix-markdownlint-errors (#2077)
* update rules

* markdownlint fixes

* fixup GC markdowns

* Disable bare link rule

* skip checking eng folder

* fix headings

* Fix rule ordering
2021-10-18 14:00:02 -07:00
BouchraRekhadda e770e87184
Add markdownlint (#2060)
* Add markdownlint

Config was copied from https://github.com/dotnet/runtime

* Fix link in benchmarking-workflow-dotnet-runtime
2021-10-14 12:00:46 -07:00
Adam Sitnik 797425cdc4
Remove netcoreapp2.1 from Microbenchmarks (#1994)
* update MicroBenchmarks docs

* update source code

* make sure the project compiles for netcoreapp3.1
2021-09-10 09:49:14 +02:00
Alicia Li 32fedb4201
removed SDK Web Large 2.0 for netcoreapp2.1 Since .NET2.1 is out of life support (#1993) 2021-09-08 13:30:46 -07:00
Alicia Li ad42e89692
Enable wasm aot microbenchmark run (#1902)
* copy back the helix job folder for diagnosis

* copy back the helix job folder for diagnosis

* hack:setting WasmNativeWorkload=false for wasm run. should be removed before PR

* fixed merge confict

* fix copyjob

* move copy helix job-* folder code to benchmarks_ci.py

* update benchmarkdotnet version

* add more log info for diagnosis

* suppress an unnecessory exception

* fix copy back job-* folder

* fix copy job

* correct helixuploadroot

* add error handling

* fix copy path

* enabled binlog

* rethrow

* add back copy job folder for diagnosis

* dotnet workload install wasm-tools to work around missing workload error

* run dotnet workload install wasm-tools from dotnet-wasm directory to use the same nuget.config

* install wasm-tools workload from perf directory

* install wasm-tools workload with a specific nuget.config with wasm feed

* fix path

* workdir of install wasm-tools

* Get PR#1891 from main

* update to new version of benchmarkdotnet for wasm aot fixes

* add -d to print diagnostic info for wasm_tools workload installation failure

* Allow to build with local BenchmarkDotNet sources

Make it easier to use custom BenchmarkDotNet sources. Example use:

    dotnet build -bl -c Release -p:BenchmarkDotNetSources="\myPath\git\BenchmarkDotNet\" src\benchmarks\micro

* Set _BenchmarkDotNetSourcesN conditionaly

To avoid:

    src\harness\BenchmarkDotNet.Extensions\BenchmarkDotNet.Extensions.csproj(6,5): error MSB4184: The expression "[MSBuild]::NormalizeDirectory('')" cannot be evaluated. Parameter "path" cannot have zero length.

* Use _BenchmarkDotNetSourcesN

* Use BenchmarkDotNet sources in payload

* update to newer benchmarkdotnet version

* remove testing code

* update bdn version

* remove duplicated section

* print out args.configuration for diagnosis

* print args

* print args

* minor fix

* looks up wasm in ExtraBenchmarkDotNetArguments

* check wasmEngine for wasm runs

* minor fix

* minor fix

* remove work around code for install wasm_tools workload, WasmNativeWorkload property. mark perf_file.WriteAllBytesAsync not run under wasm since async is not supported under wasm

* add back Directory.Build.props to see if can work around an aot build error

* disable FlushAsync test from wasm run since async is not supported.

Co-authored-by: Radek Doulik <radekdoulik@gmail.com>
2021-08-04 16:51:29 -07:00
BouchraRekhadda c0ee423537
Fix missing links in Scenario Tests Guide doc (#1821)
* Fix missing links in Scenario Tests Guide doc

`other scenarios` is either missing or should be renamed `basic scenarios` to match [`basic-scenarios.md`](https://github.com/dotnet/performance/blob/main/docs/basic-scenarios.md)

* Update docs/scenarios-workflow.md

* Update docs/scenarios-workflow.md

* Update docs/scenarios-workflow.md

Co-authored-by: Dan Moseley <danmose@microsoft.com>
2021-05-25 10:44:41 -07:00
Aaron Kunkle 167a9995d2
Specifies working command to run tests on Windows 2021-04-22 14:02:02 -07:00
Drew Scoggins 86223c2ad5
Move from master -> main (#1739)
* Move master -> main

* Change main back to master to reflect actual usage
2021-03-24 11:32:40 -07:00
Carlos Sanchez 3881a69d83
Update profiling workflow instructions with missing step (#1718)
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
2021-03-10 09:44:00 +01:00
Dan Moseley f5747259c7
Update markdown for 6.0 (#1713) 2021-03-07 10:44:13 -08:00
Adam Sitnik e2a9af60b3
netcoreapp5.0 => net5.0 (#1646) 2021-03-05 09:45:30 -08:00
Dan Moseley 27c375e3fc Add tests for new Random API and for unseeded 2021-01-26 11:47:51 -08:00
Adam Sitnik 6edb806d32
[Docs] the perfcollect doc link should point to dotnet/runtime, not dotnet/coreclr (#1611) 2020-12-07 10:23:50 +01:00
Adam Sitnik 3852eed291
extend the workflow doc with instructions for .dlls that are not part of the shared SDK (#1603) 2020-11-18 19:01:24 +01:00
Bill Wert d14448ec57
Slight update to CORE_ROOT instructions 2020-10-28 13:40:50 -07:00
Simon Nattress 35263f1d42
Crossgen/Crossgen2 size-on-disk tests (#1563)
* Crossgen/Crossgen2 size-on-disk tests

* Add support for size-on-disk assembly testing for crossgen/crossgen2
* This works by running crossgen in the precommand phase to generate a ready-to-run image for the assembly in the given test scenario. The test phase runs the size-on-disk tool to collect size information for the ready-to-run binary.
* Allow crossgen / crossgen2 execution to be hooked into pre.py scripts by factoring out the command line argument handling. crossgen.py can be used as a subparser during argument parsing (via `add_crossgen[2]_arguments`), when populating the evaluated args (`parse_crossgen[2]_args`), and finally returning the crossgen command line arguments to execute the scenario (via `get_crossgen[2]_command_line`).
* Align the crossgen and crossgen2 arguments. We were using `--test-name` and `--single` to represent assembly name. For now, accept both for crossgen until we stop using `--test-name` in Arcade. Later we can remove the deprecated option.
* Always emit crossgen images to `crossgen.out` and clean that up in `post.py`. We can add hierarchy there if we need, but we were starting to pollute the directory structure that the post.py commands take care to clean.
* Add documentation for the new scenario along with example pre, test, post commands

* Update src/scenarios/shared/crossgen.py

Co-authored-by: Bill Wert <billwert@microsoft.com>

Co-authored-by: Bill Wert <billwert@microsoft.com>
2020-10-27 14:07:51 -07:00
Simon Nattress 4a9ca98b0c
Fix broken links in performance docs (#1551)
* Update crossgen-scenarios.md

* Update crossgen-scenarios.md

* Update basic-scenarios.md

* Update sdk-scenarios.md
2020-10-21 18:08:10 +02:00
Olivia Chen a3515de7ca revert to testname 2020-10-01 12:47:53 -07:00
Olivia Chen a1f2127321 update docs 2020-09-29 10:57:40 -07:00
Olivia Chen 8e8885fb67 add basic scenarios doc 2020-09-29 10:57:00 -07:00
Olivia Chen 25cb603be0 add sdk-scenarios doc 2020-09-28 00:16:32 -07:00
Olivia Chen ea76fffce2 update crossgen scenarios doc 2020-09-25 17:26:39 -07:00
Olivia Chen de5c6bb62d complete blazor doc 2020-09-25 11:57:58 -07:00
Olivia Chen b1506063ee more detailed instruction for scenarios 2020-09-24 16:30:59 -07:00
Olivia Chen 09fd1df3b4 remove spaces 2020-09-23 14:35:58 -07:00
Olivia Chen e3aa54e819 wip 2020-09-23 10:34:15 -07:00
Olivia Chen 3406a83bcd update doc 2020-09-22 14:45:46 -07:00
Olivia Chen 611b37740d emphasize admin mode 2020-09-22 10:48:20 -07:00
Olivia Chen 12e542cb0b add crossgen scenarios 2020-09-21 16:16:07 -07:00
Olivia Chen 53e7714302 add blazor scenarios doc 2020-09-21 15:17:01 -07:00
Olivia Chen a2165273d7 update scenarios-workflow' 2020-09-21 12:19:42 -07:00