aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/sample_test_data.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-06-01 22:18:31 +0300
committerBonfaceKilz2024-06-01 23:57:00 +0300
commitf35dd4a230f0dc316e5b097d8cfbf350d8d440e5 (patch)
treee53feb8f4be8c80f67e14a9ec905211feb099b20 /tests/unit/sample_test_data.py
parent69cb03484eea2c7011ac4c838a448b02307a4b55 (diff)
downloadgenenetwork3-f35dd4a230f0dc316e5b097d8cfbf350d8d440e5.tar.gz
Use global cache to store generif metadata.
This global caches has 3,528 entries and there's no expectation for it to grow significantly. Since child processes inherit the parent’s memory, we can pass the global cache to them, reducing fetch times from 0.001s to 0.00001s, significantly boosting performance when indexing the entire database and enriching results with RDF metadata. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'tests/unit/sample_test_data.py')
0 files changed, 0 insertions, 0 deletions