Loading time takes a while after io.read() #109
Replies: 2 comments
-
@GaelleChapuis - can you try this remote access wrapper created by @magland? https://github.com/magland/remfile some of the variability is due to speeds of s3 changing over time depending on demand. unfortunately, there is nothing we can do about that bit. |
Beta Was this translation helpful? Give feedback.
-
Also, on top of A part of the reason it's likely feeling slow is because the |
Beta Was this translation helpful? Give feedback.
-
Hello,
Together with Olivier @oliche we noticed that it takes quite a while to load a dataset into memory, even after having read the file via
io.read
.Below is the code we both ran to evaluate the time each code line takes (the comments contain our timing in seconds).
You can first notice it takes a variable amount of time across users (probably depending on the network quality - mine is extremely fast), but the trend remains the same: charging the units via
units = nwb.units.to_dataframe()
is the longest part of the process.Is this normal ? or are we charging the data wrongly?
I would be happy to show you the full tutorial where this came from, if it helps.
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions