[MRG] Add memory measurements in gallery#14532
Merged
rth merged 1 commit intoscikit-learn:masterfrom Jul 31, 2019
Merged
Conversation
Member
Author
|
On top of being useful in general, I am curious to see whether most of our examples can fit in the 1-2 GB of RAM you get on binder (i.e. related to #11221). |
36786a4 to
0f7f442
Compare
0f7f442 to
6c777e3
Compare
Member
|
Interesting. Would the profiling overhead make example generation noticeably slower though? Could you trigger another full docs build without force-pushing? |
Member
Author
|
I don't expect memory profiling to have a significant effect on the time needed to run the examples. I found this from the I guess you can always compare this PR doc timings to the dev doc timings if you are unconvinced. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since 0.3 sphinx-gallery supports memory measurements in examples on top of timings.
This is how it looks (from sphinx-gallery doc):
