Skip to content

import unittest adds 0.250s to script launch time - #1398

Merged
Byron merged 2 commits into
gitpython-developers:mainfrom
wonder-mice:patch-1
Jan 12, 2022
Merged

import unittest adds 0.250s to script launch time#1398
Byron merged 2 commits into
gitpython-developers:mainfrom
wonder-mice:patch-1

Conversation

@wonder-mice

Copy link
Copy Markdown
Contributor

This should not be imported at root level, since it adds a lot of initialization overhead without need.

This should not be imported at root level, since it adds a lot of initialization overhead without need.
This should not be imported at root level, since it adds a lot of initialization overhead without need.
@ByronByron added this to the v3.1.27 - Bugfixes milestone Jan 12, 2022
@Byron
Byron merged commit 67d0631 into gitpython-developers:mainJan 12, 2022
@Byron

Copy link
Copy Markdown
Member

That's such a great catch, thanks a million.

This will definitely save a lot of cycles world-wide!

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@wonder-mice@Byron