* [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]>
* 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.
* 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."
* Reenable stuff for android startup.
* Disable package replacement and temporarily most of the perf.yml files.
* Reenable full perf.yml for final test.
* 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.
* 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.
* 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.
* 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.
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.
* 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.
* 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.
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.
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.
* 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
* 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]>
* 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