Open bnord opened 1 year ago
Do we want to add this to our initial release to-dos @bnord @samueldmcdermott ?
I've always just used the ipython
magic %timeit
on various parts of my code, so I've never done anything more systematic or comprehensive. Could be interesting, or it could be a huge time suck and diversion from physics -- I'm not sure how to assess! I think it's probably worthwhile to at least have some sense of how long your code takes (eg to make sure you're not doing an unnecessary for
loop when you could be doing a numpy list comprehension) and I'm happy to help with that at some point
I think that we should do something so that we understand how time and memory scale as a function of the number of objects.
I don't think this needs to be a part fo the package.
Notes and ideas on how to profile our code
timeit