Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] disable $(_FastDeploymentDiagnosticLogging) in PerformanceTest #7307

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

jonathanpeppers
Copy link
Member

Context: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6595850&view=ms.vss-test-web.build-test-results-tab&runId=51752272&resultId=100026&paneView=debug

Frequently Install_CSharp_Change fails with:

Exceeded expected time of 4500ms, actual 4671.203ms

Reviewing the .binlog the <FastDeploy/> task shows up:

Top 10 most expensive tasks
    GenerateJavaStubs = 1.304 s
        _GenerateJavaStubs = 1.304 s
    FastDeploy = 498 ms
        _Upload = 498 ms

<FastDeploy/> is logging "lots of stuff" due to
$(_FastDeploymentDiagnosticLogging):

FastDeploy
    Parameters
        DiagnosticLogging = True
...
// Hundreds of lines of:
xamarin.find: Ignoring line 'DEBUG: ./UnnamedProject.dll size:1661286176390 mtime:6144 tv_sec:1661286176 tv_nsec:390000'. Line is incorrectly formatted.

This was added in 7b51fd1, to help debug other issues.

Let's turn off this setting on PerformanceTest, as we're looking to
measure how fast build & deploy is. Less log messages should help.

Context: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6595850&view=ms.vss-test-web.build-test-results-tab&runId=51752272&resultId=100026&paneView=debug

Frequently `Install_CSharp_Change` fails with:

    Exceeded expected time of 4500ms, actual 4671.203ms

Reviewing the `.binlog` the `<FastDeploy/>` task shows up:

    Top 10 most expensive tasks
        GenerateJavaStubs = 1.304 s
            _GenerateJavaStubs = 1.304 s
        FastDeploy = 498 ms
            _Upload = 498 ms

`<FastDeploy/>` is logging "lots of stuff" due to
`$(_FastDeploymentDiagnosticLogging)`:

    FastDeploy
        Parameters
            DiagnosticLogging = True
    ...
    // Hundreds of lines of:
    xamarin.find: Ignoring line 'DEBUG: ./UnnamedProject.dll size:1661286176390 mtime:6144 tv_sec:1661286176 tv_nsec:390000'. Line is incorrectly formatted.

This was added in 7b51fd1, to help debug other issues.

Let's turn off this setting on `PerformanceTest`, as we're looking to
measure how fast build & deploy is. Less log messages should help.
@jonathanpeppers
Copy link
Member Author

It looks like this change worked, reduced the logging:

image

But I'm not sure it improved the time? Going to merge this, as it shouldn't make it any worse.

I will probably need to raise the times for main.

@jonathanpeppers jonathanpeppers merged commit a689fb9 into dotnet:main Aug 24, 2022
@jonathanpeppers jonathanpeppers deleted the PerformanceTestInstall branch August 24, 2022 17:56
grendello added a commit to grendello/xamarin-android that referenced this pull request Aug 26, 2022
* main:
  [tests] disable `$(_FastDeploymentDiagnosticLogging)` in PerformanceTest (dotnet#7307)
grendello added a commit to grendello/xamarin-android that referenced this pull request Aug 26, 2022
* mm-runtime:
  [tests] disable `$(_FastDeploymentDiagnosticLogging)` in PerformanceTest (dotnet#7307)
jonathanpeppers added a commit that referenced this pull request Aug 29, 2022
…est (#7307)

Context: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6595850&view=ms.vss-test-web.build-test-results-tab&runId=51752272&resultId=100026&paneView=debug

Frequently `Install_CSharp_Change` fails with:

    Exceeded expected time of 4500ms, actual 4671.203ms

Reviewing the `.binlog` the `<FastDeploy/>` task shows up:

    Top 10 most expensive tasks
        GenerateJavaStubs = 1.304 s
            _GenerateJavaStubs = 1.304 s
        FastDeploy = 498 ms
            _Upload = 498 ms

`<FastDeploy/>` is logging "lots of stuff" due to
`$(_FastDeploymentDiagnosticLogging)`:

    FastDeploy
        Parameters
            DiagnosticLogging = True
    ...
    // Hundreds of lines of:
    xamarin.find: Ignoring line 'DEBUG: ./UnnamedProject.dll size:1661286176390 mtime:6144 tv_sec:1661286176 tv_nsec:390000'. Line is incorrectly formatted.

This was added in 7b51fd1, to help debug other issues.

Let's turn off this setting on `PerformanceTest`, as we're looking to
measure how fast build & deploy is. Less log messages should help.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants