You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
%timeit tables = [Table.read('HD163296_continuum.ms', data_desc_id=ii) for ii in desc['SPECTRAL_WINDOW_ID']]
5min 26s ± 2.22 s per loop (mean ± std. dev. of 7 runs, 1 loop each)
%timeit tables = rslt.as_astropy_table(all_ddids=True)
30.4 s ± 222 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
OK, the __repr__ is much faster now, so 👍. The performance numbers I gave are for reading, and they are not improved - but they shouldn't be from this change.
I noticed, and I think @miguelcarcamov also noticed, that printing the
__repr__
of aTable
produced with the standardcan be very slow, while getting the
__repr__
of any individual row or column is fast:It looks like there's a bottleneck somewhere in astropy's table formatter - is it perhaps trying to load all the data when making the repr?
The text was updated successfully, but these errors were encountered: