Skip to content

[ergonomics] profile driver and base module imports #1246

Open
@skrawcz

Description

@skrawcz

Current behavior

It takes ~2 seconds to do:

from hamilton import driver, base

We should profile this and see where the time is being spent.

Library & System Information

Latest hamilton on macOS, python 3.10.

Expected behavior

It should load in < 1 second.

Additional context

This is a quality of life task.

This task requires:

  1. to use a profiler to figure out where time is being spent
  2. report the results
  3. provide recommendations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions