Skip to content

netapp_ontap packages take 20+ seconds to load #49

Open

Description

@paullam328
print("1. Loading onTAP dependencies...")
from netapp_ontap import NetAppRestError
from netapp_ontap.resources import Volume
from netapp_ontap.resources import Aggregate
from netapp_ontap.resources import Node

from netapp_ontap import config, HostConnection
print("Time taken: " + str(time.time() - start))

Output:

1. Loading onTAP dependencies
Time taken: 21.128556728363037

21 seconds to load the dependencies. Am I missing something?

Activity

  1. github-actions commented on Dec 18, 2024

    @github-actions

    Thank you for reporting an issue! If you haven't already joined our Discord community,
    then we invite you to do so. This is a great place to get help and ask questions from our community.

  2. paullam328 commented on Dec 18, 2024

    @paullam328
    Author

    And also, a lot of operations (i.e., fetching all nodes/aggregates/volumes) seem to be much slower than ontap_rest_api itself (performing all those at once in ontap_python_api took upwards to 150 seconds, whereas by just using ontap_rest_api, it took around 20 seconds)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions