Skip to content

Conversation

@eriknw
Copy link
Member

@eriknw eriknw commented Mar 28, 2023

Import times regressed in #388. This PR fixes it.

A nice way to visualize import times is with https://github.com/nschloe/tuna

Now, as before, import times are dominated by numba and numpy.

I looked at timing for "Test Imports" Github Actions to identify what caused the regression:
https://github.com/python-graphblas/python-graphblas/actions/workflows/imports.yml

@eriknw eriknw added regression performance performance related issue labels Mar 28, 2023
@eriknw
Copy link
Member Author

eriknw commented Mar 28, 2023

For example, to use tuna:

python -X importtime -c "from graphblas import *" 2> import.log
tuna import.log

@coveralls
Copy link

Coverage Status

Coverage: 99.445% (-0.05%) from 99.491% when pulling bcd9d22 on eriknw:fix_import_time into 41fb71a on python-graphblas:main.

@eriknw eriknw merged commit 0139a83 into python-graphblas:main Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance performance related issue regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants