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

Significantly reduce import overhead #159

Merged
merged 2 commits into from
Jan 14, 2024
Merged

Conversation

brentyi
Copy link
Collaborator

@brentyi brentyi commented Jan 14, 2024

From python -X importtime -c "import viser",

  • Before: 1.32 seconds
  • After: 0.24 seconds

(on M1 Pro)

@tancik
Copy link
Collaborator

tancik commented Jan 14, 2024

wow

@brentyi brentyi merged commit ef57659 into main Jan 14, 2024
12 checks passed
@brentyi brentyi deleted the brent/reduce_import_time branch January 14, 2024 05:59
yzslab pushed a commit to yzslab/viser that referenced this pull request Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants