-
Notifications
You must be signed in to change notification settings - Fork 76
appservice: Performance improvements made by copilot #2203
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,13 +4,13 @@ | |
| *--------------------------------------------------------------------------------------------*/ | ||
|
|
||
| import { AzExtLocation, getResourceGroupFromId, LocationListStep, uiUtils } from "@microsoft/vscode-azext-azureutils"; | ||
| import { AzureWizardExecuteStep, ExecuteActivityContext, nonNullProp, nonNullValueAndProp } from "@microsoft/vscode-azext-utils"; | ||
| import { AzureWizardExecuteStepWithActivityOutput, ExecuteActivityContext, nonNullProp, nonNullValueAndProp } from "@microsoft/vscode-azext-utils"; | ||
| import { l10n, Progress } from "vscode"; | ||
| import { createOperationalInsightsManagementClient } from "../utils/azureClients"; | ||
| import { getAppInsightsSupportedLocation } from "./getAppInsightsSupportedLocation"; | ||
| import { IAppServiceWizardContext } from "./IAppServiceWizardContext"; | ||
|
|
||
| export class LogAnalyticsCreateStep extends AzureWizardExecuteStep<IAppServiceWizardContext & Partial<ExecuteActivityContext>> { | ||
| export class LogAnalyticsCreateStep extends AzureWizardExecuteStepWithActivityOutput<IAppServiceWizardContext & Partial<ExecuteActivityContext>> { | ||
|
||
| public priority: number = 134; | ||
| public stepName = 'LogAnalyticsCreateStep'; | ||
| private _usedExistingLaw: boolean = false; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In other places, I've seen a query option "expand" to ask for Azure to add information. For example, in our cleanup tool for the BAMI subs, we use it to ask for the created time to be included in the results.
Can we see if there is an "expand" here to get the missing info, so we can do it all in the single list call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we can't do it that way, we should probably put in a concurrency limiter (there's one in the auth pkg we can use).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made about 100 EP1 and WS ASPs to test this and hadn't run into any concurrency limit. But it also wasn't significantly faster than the old way, so it makes me wonder if there is something else going on here...