-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memoize usearch.sqlite_path() #833
Conversation
4342707
to
187b591
Compare
Deploying datachain-documentation with Cloudflare Pages
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #833 +/- ##
==========================================
- Coverage 87.43% 87.42% -0.01%
==========================================
Files 128 128
Lines 11392 11408 +16
Branches 1552 1553 +1
==========================================
+ Hits 9961 9974 +13
- Misses 1040 1043 +3
Partials 391 391
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
8cb8aac
to
72aff4b
Compare
72aff4b
to
c28f65e
Compare
c28f65e
to
fa73f86
Compare
fa73f86
to
a2f7dbb
Compare
a2f7dbb
to
77033ef
Compare
77033ef
to
ad78349
Compare
ad78349
to
8323a58
Compare
8323a58
to
9973ad7
Compare
9973ad7
to
375f789
Compare
375f789
to
64cfd6b
Compare
64cfd6b
to
14eb364
Compare
14eb364
to
31ec42d
Compare
31ec42d
to
05513c3
Compare
If usearch fails to download the extension, it will keep retrying in the future. This adds significant cost - for example, in `tests/func/test_pytorch.py` run, it was invoked 111 times, taking ~30 seconds in total. Now, we cache the return value for the whole session.
05513c3
to
d8c1a7a
Compare
For the record, the failing "Studio tests" are also failing in the |
If usearch fails to download the extension, it will keep retrying in the future. This adds significant cost - for example, in `tests/func/test_pytorch.py` run, it was invoked 111 times, taking ~30 seconds in total. Now, we cache the return value for the whole session.
If
usearch
fails to download the extension, it will keep retrying in the future. This adds significant cost - for example, intests/func/test_pytorch.py
run, it was invoked 111 times, taking ~30 seconds in total.This PR caches the return value for the whole session.
Review with
?w=1
for better diff. :)