Commit Graph
43 Commits
Author SHA1 Message Date
Parker BibusandAlexander Köplinger f06d2c07d8 [MAUI][PERF] Add IPA file usage for iOS Maui SOD (#66358)
* [PERF][MAUI] Add ios-arm64 logic to create .ipa for perf runs

Switches from simulator builds to device builds so we can track the size for the .ipa.

We generate a dummy codesigning cert and provisioning profile since device builds require that.

* First run with new ipa compatible ios perf setup and ipa app passthrough.

* Temporarily use preview 14 until all packages are synced for 6.0.300 for testing.

* Changed MacCatalyst folder copied on perf setup and made the mono ios app have it's subfolders copied.

* Update the calling args so xcopy knows the files are directories.

Co-authored-by: Alexander Köplinger <[email protected]>
2022-03-09 14:55:02 -08:00
Parker Bibus c41f452cc9 [PERF][MAUI] Add Maui version info to stored data. Runtime Side (#65800)
* Setup pipeline for testing.

* First test with the Maui Version.

* Remove perf-job parameter version typo.

* Try another way of doing the output variable.

* Third times the charm?

* Add a second test for two to be done in one run.

* Fix variable problem with xplat-setup.yml

* Third time was not the charm...

* Try another setup.

* Only include one of the tests as the perf setup is failing potentially due to this.

* Try 2 variable attempts and write out potential get methods.

* Remove failed thing and split them to all be seperate and always run.

* Move variables into the second job stuff.

* Won't run when specified under the job parameters.

* Try hardcoded values to see if it is the output or input that seems to not be connected properly.

* Try new variable format.

* Missed bracket that wasn't found until after most of the way through.

* Maui installs are failing, work around this for variable testing.

* Need to keep mono build enabled.

* Revert "Need to keep mono build enabled."

This reverts commit ff32e46c080efb8a103907de6dd1a13cd0d1be04.

* Revert "Maui installs are failing, work around this for variable testing."

This reverts commit 6dbf6b0ee26d8047d14be86e12e56872c7dab7cc.

* Temp fix for workload install.

* Removed breaking variable test as the new format works along with changing to only having one variable for testing. This should allow us to have access to the maui version in the perf setup for testing.

* Full run test. Still using perf repo fork.

* Add comment explaining RetrievedMauiVersion.

* Add maui version to the iOS runs.

* Undo testing changes to prepare for merge once install is working again.
2022-02-27 19:30:29 -08:00
Parker Bibus 87e7f06ef3 [PERF][MAUI] Update Startup scenarios (#65911)
* Setup pipeline and setup for testing.

* Updated scenario names for new scenario name setup and added no animation tests.

* Revert "Setup pipeline and setup for testing."
2022-02-25 18:17:11 -08:00
Parker Bibus ced5e7a2fd [MAUI][PERF] Reenable Maui w/o package injection (#65409)
* Reenable stuff for android startup.

* Disable package replacement and temporarily most of the perf.yml files.

* Reenable full perf.yml for final test.
2022-02-16 15:56:21 -08:00
Parker Bibus a1f0147eb6 Update Maui/Mobile pre.py's and disable android due to AOT Issue (#65231)
* Setup testing jobs, change repo to test perf repo, and added apk-name parameter to pre.py for mobile scenarios.

* Update dotnet install type to be daily. This matches the link for installing net 6.0 in the maui contributing dev requirements list.

* Try lowercase package name.

* List post build folder stuff.

* Add android output format as apk.

* Disable package replacement to see if that is the issue location.

* Revert "Disable package replacement to see if that is the issue location."

This reverts commit 31cffe7cb296ccd5796fccccac14edbdbc526452.

* Always try to publish the binlog files.

* Comment out the props file to see if that fixes the AOT error.

* Readd props references.

* Try building without AOT.

* Disable Maui Android Scenarios so that at least iOS on main are being build and measured for SOD.

* Forgot to remove the uploading of the Android APP.

* Disable download attempt of the MauiAndroidApp.

* Reenable full perf run.

* Set the setup branch back to main.

* Undisable MauiScenario.targets file. It semi-causes the AOT issue but should still be enabled for other working builds.

* Add reason for the commented out sections.
2022-02-11 17:21:02 -08:00
Parker Bibus 2eec504163 Update Maui Workload Install Process for Perf (#64692)
*  Add dotnet install and run to test if new dotnet version can be installed similar to how it is done in the Maui repo.

* Download and use local dotnet version.

* Use updated dotnet for more of the pipeline.

* Test with made runtime packs and and add ios arm pack substitution.

* Try building instead of publishing.

* Reenable everything for full test run.

* Package name now seems to default to lower case, at least for maui.
2022-02-03 08:34:33 -08:00
Parker Bibus 94f2afb8cf Add Android Maui Startup testing (#64121)
* Setup test pipeline for closest possible setup to what is currently working for android startup with the new adb method being used.

* Fix android scenario problems.

* Use latest xharness version for testing popen fix.

* Wrong branch changed.

* Final run setup for runtime part of the repo.

* Use test branch for full run test and keep it until the test finishes.

* Change perf pull branch back to main, hold until test run is complete.

* Add in iOS runtime builds for sure, and change branch for testing.

* Add in the file extraction of the built ios packs and changed workload typo to runtime to better match actual meaning.

* Revert back to main branch for setup.

* Git missed ios-arm runtime extraction, add that in.
2022-01-31 12:04:35 -08:00
Parker BibusandBill Wert c8ede5c4b1 Add Runtime portion of android startup scenario (#61861)
Add app with debug instrumentation build and download. Add android scenario calls and include xharness.

Co-authored-by: Bill Wert <[email protected]>
2021-12-07 16:27:04 -08:00
Adeel Mujahid 6cc2d2e478 Fix a few syntax issues in shell scripts (#62102)
* Fix a few syntax issues in shell scripts

* Cleanup trailing whitespace in changed files
```sh
# git remote add dotnet https://github.com/dotnet/runtime && git pull --rebase dotnet main

if uname 2>/devnull | grep -q Darwin; then
    space=" "
fi

git show --name-only --pretty="" HEAD...dotnet/main |\
    xargs -I{} sh -c "test -f {} && sed -i$space'' 's/[[:space:]]*$//' {}"
```

* Address CR feedback
2021-11-30 17:32:39 -06:00
Drew Scoggins c87e932d2b Add back SoD Blazor Pizza Aot test (#61118) 2021-11-02 15:51:49 -07:00
Parker Bibus 06c2dba223 Add Maui iOS and MacCatalyst build steps (#61068)
* Fix artifact match string.

* Completed first attempt for a complete Maui SOD run. Added ios_scenarios tests, setup file copies, uploads, and downloads; and setup perf branch to use as partner testing branch.

* Reset performance-setup.ps1 file to use main perf branch.

* Reenable yml jobs disabled for testing.
2021-11-01 21:48:05 -07:00
Parker Bibus ae6df091d5 Disable SOD Pizza AOT Blazor test. Tracked by dotnet/performance/#2092 (#60876) 2021-10-26 13:10:47 -07:00
Parker Bibus ed91ceaf05 Maui Android Size on Disk Integration (#60425)
Added main Maui build pipeline yml file with target and prop files to properly build Maui for Android with the latest runtime bits, updated the perf.yml file to run the Maui build steps, and piped the Android app artifact through the same line as the AndroidScenario so the perf size on disk tests are run.
2021-10-19 09:45:37 -07:00
Parker Bibus abd6ea46b2 Sod pre command fix (#60413)
Updated the blazor_scenarios.proj helix precommand to use ';;' instead of '%3b'
2021-10-14 11:01:17 -07:00
Parker Bibus c929be171f Finish59071 update ci argsh (#60206)
* Updated channel passed to ci_setup in the performance-setup.sh file.

* Removed spaces from assignments so they are seen as actual variabls, and tested locally.
2021-10-08 16:00:59 -07:00
Parker Bibus 3cffddd7e4 Rollback verify command changes. (#60203) 2021-10-08 15:07:06 -07:00
Aaron Kunkle 61c204398c Fix Robocopy Verification (#60196)
* Fix robocopy exit code response

* Fix failure condition

* Rollback performance-setup.sh
2021-10-08 11:46:36 -07:00
Aaron Kunkle d2a05e3429 Fix performance-setup Function Definitions (#60102)
* Fix function definitions
2021-10-06 16:01:03 -07:00
Aaron Kunkle a442df07a5 Fix errors from earlier performance-setup PR (#60073) 2021-10-06 09:51:51 -07:00
Parker Bibus b3f21a045f Updated channel passed to ci_setup in the performance-setup.sh file. (#60034)
* Updated channel passed to ci_setup in the performance-setup.sh file.

* Removed spaces from assignments so they are seen as actual variabls, and tested locally.
2021-10-06 09:50:38 -07:00
Aaron Kunkle 191c60e679 Nonzero Exit Code for performance-setup Failures (#59483)
* failed git clone causes script failure

* Failure notification for moves & copies

* Fix robocopy failure detection

* Use functions to verify

* Close shell ifs

* Remove unintended tabs
2021-10-05 15:27:05 -07:00
Drew Scoggins f807a6bae3 Change logic to not break private runs (#59356)
The previous change here broke private runs as it required the channel map
to have an entry matching the name of the runtime branch you were testing.
This fix now defaults the channel to main for private runs.
2021-09-20 12:51:11 -07:00
Drew Scoggins 965f95e967 Change channel passed to ci_setup to track runtime branch (#59070)
With this change we move to specifing the channel that is passed to ci_setup,
instead of it always being main. The allows us to have the runtime branch
help decide the correct version of the sdk that we should pull down with
dotnet-install. This means that going forward, we will need to have channels
that match the names of all branches that we plan to run from the runtime
side. If we do not, the sdk installation step will fail during ci_setup.
2021-09-15 15:07:26 -07:00
Drew Scoggins 0ce134d743 Update mono version string to 7.0.0 (#58150) 2021-08-25 18:06:04 -07:00
Drew Scoggins fa36dc8438 Escape semicolons in proj file (#58066) 2021-08-24 16:03:09 -07:00
Drew Scoggins d6223adfb5 Add crossgen2 runs for x86 (#58053)
* Add crossgen2 runs for x86 and Arm64

* Remove Arm64 for now
2021-08-24 14:23:50 -07:00
Bill Wert 9a3efe8b7e fix python path (#58055)
* Remove AzurePiplineReporter=false

* Backup and restore python path
2021-08-24 12:19:02 -07:00
Drew Scoggins 5bbd5b64f1 Add wasm path (#57857)
* Add Wasm runtime config path variable

* Fix typo
2021-08-24 10:10:51 -07:00
Alicia Li ec252380c2 fix PYTHONPATH on Linux (#57701)
* fix PYTHONPATH on Linux for issue#1928

* fix PYTHONPATH on Linux for issue#1928

* roll back setting PYTHONPATH, set EnableAzurePipelinesReporter to false instead

* set EnableAzurePipelinesReporter to false since perf test doesn't use the reporter. This avoids a helix crash
2021-08-20 10:43:37 -07:00
9dc2059c32 Enable WASM AOT microbenchmark run (#55353)
* bring up WASM AOT microbenchmarks run

* bring up WASM AOT microbenchmarks run

* adding diagnostice log for testing

* commend out some jobs while testing to save lab run resource

* commend out some jobs while testing to save lab run resource

* Add WASM AOT in not scheduled run

* Only run selected jobs

* add "ls -l" to print out permission before calling performance-setup.sh

* add "ls -l" to print out permission before calling performance-setup.sh

* Add "--buildTimeout 3600" to benchmarkdotnet to extend default timeout time. Adjust -aotcompilermode format to "--aotcompilermode=wasm".

* Add "--buildTimeout 3600" to benchmarkdotnet to extend default timeout time. Adjust -aotcompilermode format to "--aotcompilermode=wasm".

* Correct runtimeSrcDir value

* Correct --runtimeSrcDir location to $HELIX_CORRELATION_PAYLOAD

* Correct --runtimeSrcDir location to $HELIX_CORRELATION_PAYLOAD

* Remove not used parameters in WASM AOT mode and  add temperary diagnostic info

* Remove not used parameters in WASM AOT mode and  add temperary diagnostic info

* make \$HELIX_CORRELATION_PAYLOAD/dotnet-wasm to be the root directory of runtime repo source

* Only copy runtime repo source directory to helix payload when it's wasm aot

* Add diagnosic log for testing only

* omite unneeded runtime repo file from helix payload

* omite unneeded runtime repo file from helix payload

* use rsync instead of cp exclusion command since cp doesn't work with sub directory as expected.

* Add temp diagnostic logging, should be removed before PR.

* remove artifacts/obj from helix payload

* remove artifacts/obj from helix payload

* copy back helix job for diagnosis and silent rsync

* For testing only, clone performance repor alicial/hikeMicro-benchmark private branch, which contains copying back helix job folder for diagnosis

* enable rsync verbose for diagnosis

* add --keepfiles for wasm intepreter as well for diagnosis

* Remove temporary diagnostic code

* recover all the jobs in the pipeline

* recover all the jobs in the pipeline

* copy wasm build drop to the location that aot build expects

* using private perf branch to enable binlog for benchmarkdotnet for diagnosis

* comment out none wasm runs temporarily for testing only

* comment out none wasm runs temporarily for testing only

* add "--keepfiles" to keep diagnostic files

* fixed $wasm_dotnet_path/artifacts/BrowserWasm/artifacts path

* instead of copy, move $wasm_dotnet_path/artifacts/BrowserWasm/artifacts/* to save space

* benchmarkdotnet using --cli \$HELIX_CORRELATION_PAYLOAD/dotnet-wasm/dotnet.sh instead

* benchmarkdotnet using --cli \$HELIX_CORRELATION_PAYLOAD/dotnet-wasm/dotnet.sh instead

* add executable permission

* Enable other non run to compare

* Enable other non run to compare

* remove "--cli \$HELIX_CORRELATION_PAYLOAD/dotnet-wasm/dotnet.sh"

* fixes per CR

* copy EMSDK_PATH to expected location in helix payload

* install emsdk

* fix emsdk path

* minor fix

* removed more not used files to reduce helix payload size

* remove more jobs for testing purpose

* Fix the download path

* Add BenchmarkDotNet sources to the payload

* Fix __download__ path

* set BenchmarkDotNetSources to use benchmarkdotnet built from source

* use benchmarkdotnet private branch:alicial/tempwasmaot for BenchmarkDotNetSources

* use benchmarkdonet private branch with BenchmarkDotNetSources option

* Debug prints

* Clone B.NET to different location

Fix rsync exclusion
Add more debug prints

* Move B.NET back, clone upstream B.NET

To avoid:

    [INFO] ERROR(S):
    [INFO]   Option 'BenchmarkDotNetSources' is unknown.

* Use my branch for performance repo

* Revert "set BenchmarkDotNetSources to use benchmarkdotnet built from source"

This reverts commit bccfadde684922c0440d928224c8e7ec7c220fe9.

To avoid:

    [INFO] ERROR(S):
    [INFO]   Option 'BenchmarkDotNetSources' is unknown.

* Disable one more job I missed in merge

* Switch back to nuget packages for BenchmarkDotNet

* tempararily use pr-alicias-branch to test new fixes

* [mono] Fix invalid memory write

Fixes https://github.com/dotnet/runtime/issues/56526 and probably also
https://github.com/dotnet/runtime/issues/53546

Allocate enough memory when `SIZEOF_REGISTER == 4`, so that code like

    defs [ins->dreg + 1] = NULL;
    defs [ins->dreg + 2] = NULL;

doesn't write after allocated range.

* [mono] Fix an uninitialized memory access in the ABCREM pass.

Detected by valgrind.

* clean up PR

* add missing param

* fix perf.yml and make wasm interpreter to be consistent with wasm AOT

* comment out more job for fast testing

* remove extra job

* exclude copying __download__ dir instead of delete it.

* add parameters.codeGenType

* fix aot javascriptengine

* correct livelibrariesbuildconfig from release to Release

* install emsdk before copy $source_directory

* add back all the temporarily commented out jobs in perf.yml

* clean up work around code

* minor clean up

* remove performance submodule

* switch back to use performance repo main branch

* add --quiet to git clone

Co-authored-by: Radek Doulik <[email protected]>
Co-authored-by: Zoltan Varga <[email protected]>
2021-08-04 20:00:15 -07:00
Drew Scoggins f35b474fd5 Add new msbuild prop for wasm runtime config path (#56650) 2021-08-02 10:54:09 -07:00
Bill Wert 1c79e60368 Fix LLVM path (#55244) 2021-07-07 12:08:08 -07:00
Bill Wert 656775f584 Add llvm ios (#55222)
* add LLVM scenario

* add copy to payload

* reverse paths

* fix log path

* Move log fix

* remove extra scenario
2021-07-06 12:00:30 -07:00
Bill Wert 1c81556da6 Add non-LLVM iOS size scenario (#54585)
* Add non-LLVM iOS size scenario

* add category

* remove parens

* variables in the wrong place.

* move setting configs to before it is written
2021-06-24 10:46:31 -07:00
Bill Wert 00024ea611 Remove crossgen tests (#54252) 2021-06-16 10:07:27 -07:00
Drew Scoggins 327deea877 Remove AOT exclusion for full PGO runs (#53943) 2021-06-09 17:32:13 -07:00
Drew Scoggins 529e12dbaf Add WebKit (javascriptcore) WASM runs (#53257)
* Add javascript engine selection and runs

* Fixup runs

* Testing

* Fix spacing

* Change jsc to javascriptcore

* Remove testing comments

* Add back V8 runs
2021-05-26 15:03:58 -07:00
Drew Scoggins 6c31866e2c Add different pgo data runs (#52780)
* Add different pgo data runs

* Fix if else formatting

* Update log artifact name

* Turn off failing tests for these runs

* Remove filter

* Fix config order

* Remove testing comments
2021-05-26 10:52:41 -07:00
Drew Scoggins dfd55d90f3 Fix timeout for Pizza app and add min app (#52626) 2021-05-11 16:50:32 -07:00
Drew Scoggins bffe0e4c68 Move to main channel (#52350) 2021-05-05 19:59:30 -05:00
Drew Scoggins 1b30c00e55 Add AOT WASM SoD for template and BlazingPizza (#52089)
* Add AOT WASM SoD for template and BlazingPizza

* Update SOD dirs location for Pizza App
2021-05-05 10:48:41 -07:00
Drew Scoggins 916d58a0ba Add Blazor Pizza app SOD test (#51659)
* Add Pizza App for WASM SOD

* Fix missing paren

* Fix quoting
2021-04-22 11:30:33 -07:00
Bill Wert 0be8b88957 Move performance support files out of eng/common (#50625)
* Move performance support files out of eng/common

* move template out of common

* fix path to pipeline-logging-functions.ps1

* missed directory
2021-04-06 12:16:58 -07:00