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
@yarikoptic I can't think of a way to make it more efficient. Note that the while True loop should largely be spending its time waiting for queue.SimpleQueue.get().
Part of troubleshooting of
running a straightforward download
which is a single file/thread download leads to dandi CLI being 10-20% CPU and py-spy showing
so sampling profiler finds itself most often in
get (interleave/__init__.py)
. There are multipleget
s in that file but this particular Interleaver.get https://github.com/jwodder/interleave/blob/master/src/interleave/__init__.py#L348 is the primary suspect due to internalwhile True
loop.@jwodder could you please see if code there potentially be made more efficient?
The text was updated successfully, but these errors were encountered: