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

Complex test suite may out of memory #359

Closed
mratsim opened this issue Jun 7, 2019 · 4 comments
Closed

Complex test suite may out of memory #359

mratsim opened this issue Jun 7, 2019 · 4 comments

Comments

@mratsim
Copy link
Owner

mratsim commented Jun 7, 2019

Following #357 and d03994b we have out-of-memory in some builds:

@mratsim
Copy link
Owner Author

mratsim commented Jun 8, 2019

@mratsim
Copy link
Owner Author

mratsim commented Jun 8, 2019

Compilation statistics

Note that the timing is best-case scenario as my machine
is an overclocked i9-9980XE (18 cores @ 4.1 GHz)
and files have been compiled twice so many things are cached
(i.e. things that do not use generics/macros/templates)

File Time Memory
test_init 1.195 sec 136.898 MiB
test_operators_comparison 2.233 sec 261.375MiB
test_accessors 1.448 sec 169.781MiB
test_accessors_slicer 8.046 sec 770.949MiB
test_display 1.276 sec 169.809MiB
test_operators_blas 9.582 sec 956.172MiB
test_math_functions 3.154 sec 324.348MiB
test_higherorder 3.254 sec 402.641MiB
test_aggregate 5.686 sec 620.504MiB
test_shapeshifting 6.845 sec 770.27MiB
test_broadcasting 8.138 sec 956.484MiB
test_ufunc 2.912 sec 324.457MiB
test_filling_data 1.677 sec 210.66MiB
test_optimization 1.095 sec 136.844MiB
test_exporting 1.208 sec 136.863MiB

@mratsim
Copy link
Owner Author

mratsim commented Jun 8, 2019

Compilation statistics - before complex

Note that the timing is best-case scenario as my machine
is an overclocked i9-9980XE (18 cores @ 4.1 GHz)
and files have been compiled twice so many things are cached
(i.e. things that do not use generics/macros/templates)

File Time Memory
test_init 1.107 sec 136.805MiB
test_operators_comparison 1.453 sec 169.766MiB
test_accessors 1.248 sec 169.809MiB
test_accessors_slicer 4.828 sec 502.305MiB
test_display 1.160 sec 136.836MiB
test_operators_blas 4.164 sec 501.891MiB
test_math_functions 1.874 sec 210.688MiB
test_higherorder 1.748 sec 210.73MiB
test_aggregate 2.976 sec 325.211MiB
test_shapeshifting 4.166 sec 502.066MiB
test_broadcasting 3.409 sec 403.855MiB
test_ufunc 1.732 sec 210.824MiB
test_filling_data 1.241 sec 169.77MiB
test_optimization 1.057 sec 136.797MiB
test_exporting 1.110 sec 136.883MiB

@mratsim
Copy link
Owner Author

mratsim commented Oct 26, 2019

It seems like there was an issue in 0.20.0 that was fixed in 0.20.2:

test_operators_blas 0.20.0

Hint: operation successful (109082 lines compiled; 11.859 sec total; 952.492MiB peakmem; Debug Build) [SuccessX]

test_operators_blas 0.20.2

Hint: operation successful (128799 lines compiled; 2.194 sec total; 261.719MiB peakmem; Debug Build) [SuccessX]

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

No branches or pull requests

1 participant