Skip to content

Performance regression in azure inventory (starting in 3.9.0) #2125

@Klaas-

Description

@Klaas-
SUMMARY

It seems that there is a big performance hit in azure inventory starting with version v3.9.0

Same subscription, same configuration:

3.12.0 11m6.853s
3.11.0 9m59.946s
3.10.1 10m41.090s
3.9.0 9m4.123s
3.8.0 3m37.551s

v3.8.0...v3.9.0

only change for inventory seems to be
#2055

I think this looks like the added calls are not being made via the batch API? I'll look if I can fix that :)

ISSUE TYPE
  • Bug Report
COMPONENT NAME

plugins/inventory/azure_rm.py

ANSIBLE VERSION

COLLECTION VERSION
3.12.0
CONFIGURATION

OS / ENVIRONMENT
STEPS TO REPRODUCE

Have a big subscription and run inventory against that

EXPECTED RESULTS

Not sure what to expect with the added calls, but not to ~triple the runtime :)

ACTUAL RESULTS
3.12.0 11m6.853s
3.11.0 9m59.946s
3.10.1 10m41.090s
3.9.0 9m4.123s
3.8.0 3m37.551s

Metadata

Metadata

Assignees

No one assigned

    Labels

    inventoryplugin/Inventory/azure_rm.py related issueswork inIn trying to solve, or in working with contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions