11# VFBquery Performance Test Results
22
3- ** Test Date:** 2025-11-18 06:01:43 UTC
4- ** Git Commit:** b9775161864d83b06e52027b9a31f0f39445e25e
3+ ** Test Date:** 2025-11-18 06:08:22 UTC
4+ ** Git Commit:** eefbc5673b3b6b310e00251f3c6d95beb471ba1b
55** Branch:** dev
6- ** Workflow Run:** [ 19455863324 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19455863324 )
6+ ** Workflow Run:** [ 19456000514 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19456000514 )
77
88## Test Overview
99
@@ -119,127 +119,126 @@ TERM INFO QUERIES
119119DEBUG: Checking cache for term_info, term_id=FBbt_00003748, cache_term_id=FBbt_00003748_preview_True, should_cache=True
120120DEBUG: Attempting cache lookup for term_info(FBbt_00003748_preview_True) with full results
121121DEBUG: Cache lookup result: True
122- get_term_info (mushroom body): 1.9338s ✅
122+ get_term_info (mushroom body): 2.6225s ✅
123123DEBUG: Checking cache for term_info, term_id=VFB_00101567, cache_term_id=VFB_00101567_preview_True, should_cache=True
124124DEBUG: Attempting cache lookup for term_info(VFB_00101567_preview_True) with full results
125125DEBUG: Cache lookup result: True
126- get_term_info (individual): 1.6916s ✅
126+ get_term_info (individual): 2.3024s ✅
127127
128128================================================================================
129129NEURON PART OVERLAP QUERIES
130130================================================================================
131131DEBUG: Checking cache for neurons_part_here, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
132132DEBUG: Attempting cache lookup for neurons_part_here(FBbt_00007401) with full results
133133DEBUG: Cache lookup result: True
134- NeuronsPartHere: 1.4204s ✅
134+ NeuronsPartHere: 2.2821s ✅
135135
136136================================================================================
137137SYNAPTIC TERMINAL QUERIES
138138================================================================================
139139DEBUG: Checking cache for neurons_synaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
140140DEBUG: Attempting cache lookup for neurons_synaptic(FBbt_00007401) with full results
141141DEBUG: Cache lookup result: True
142- NeuronsSynaptic: 1.6820s ✅
142+ NeuronsSynaptic: 2.2283s ✅
143143DEBUG: Checking cache for neurons_presynaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
144144DEBUG: Attempting cache lookup for neurons_presynaptic(FBbt_00007401) with full results
145145DEBUG: Cache lookup result: True
146- NeuronsPresynapticHere: 1.3561s ✅
146+ NeuronsPresynapticHere: 1.9719s ✅
147147DEBUG: Checking cache for neurons_postsynaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
148148DEBUG: Attempting cache lookup for neurons_postsynaptic(FBbt_00007401) with full results
149149DEBUG: Cache lookup result: True
150- NeuronsPostsynapticHere: 1.4006s ✅
150+ NeuronsPostsynapticHere: 1.9266s ✅
151151DEBUG: Checking cache for neuron_neuron_connectivity_query, term_id=VFB_jrchk00s, cache_term_id=VFB_jrchk00s, should_cache=True
152152DEBUG: Attempting cache lookup for neuron_neuron_connectivity_query(VFB_jrchk00s) with full results
153153DEBUG: Cache lookup result: True
154- NeuronNeuronConnectivity: 1.4230s ✅
154+ NeuronNeuronConnectivity: 1.8654s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159159DEBUG: Checking cache for components_of, term_id=FBbt_00003748, cache_term_id=FBbt_00003748, should_cache=True
160160DEBUG: Attempting cache lookup for components_of(FBbt_00003748) with full results
161161DEBUG: Cache lookup result: True
162- ComponentsOf: 1.4422s ✅
162+ ComponentsOf: 1.9131s ✅
163163DEBUG: Checking cache for parts_of, term_id=FBbt_00003748, cache_term_id=FBbt_00003748, should_cache=True
164164DEBUG: Attempting cache lookup for parts_of(FBbt_00003748) with full results
165165DEBUG: Cache lookup result: True
166- PartsOf: 1.4995s ✅
166+ PartsOf: 1.8686s ✅
167167DEBUG: Checking cache for subclasses_of, term_id=FBbt_00003748, cache_term_id=FBbt_00003748, should_cache=True
168168DEBUG: Attempting cache lookup for subclasses_of(FBbt_00003748) with full results
169169DEBUG: Cache lookup result: True
170- SubclassesOf: 1.4281s ✅
170+ SubclassesOf: 1.9097s ✅
171171
172172================================================================================
173173TRACT/NERVE AND LINEAGE QUERIES
174174================================================================================
175175DEBUG: Checking cache for neuron_classes_fasciculating_here, term_id=FBbt_00003987, cache_term_id=FBbt_00003987, should_cache=True
176176DEBUG: Attempting cache lookup for neuron_classes_fasciculating_here(FBbt_00003987) with full results
177177DEBUG: Cache lookup result: True
178- NeuronClassesFasciculatingHere: 1.3040s ✅
178+ NeuronClassesFasciculatingHere: 1.8420s ✅
179179DEBUG: Checking cache for tracts_nerves_innervating_here, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
180180DEBUG: Attempting cache lookup for tracts_nerves_innervating_here(FBbt_00007401) with full results
181181DEBUG: Cache lookup result: True
182- TractsNervesInnervatingHere: 1.4423s ✅
182+ TractsNervesInnervatingHere: 1.9248s ✅
183183DEBUG: Checking cache for lineage_clones_in, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
184184DEBUG: Attempting cache lookup for lineage_clones_in(FBbt_00007401) with full results
185185DEBUG: Cache lookup result: True
186- LineageClonesIn: 1.6949s ✅
186+ LineageClonesIn: 1.8395s ✅
187187
188188================================================================================
189189IMAGE AND DEVELOPMENTAL QUERIES
190190================================================================================
191191DEBUG: Checking cache for images_neurons, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
192192DEBUG: Attempting cache lookup for images_neurons(FBbt_00007401) with full results
193193DEBUG: Cache lookup result: True
194- ImagesNeurons: 1.2312s ✅
194+ ImagesNeurons: 1.8432s ✅
195195DEBUG: Checking cache for images_that_develop_from, term_id=FBbt_00001419, cache_term_id=FBbt_00001419, should_cache=True
196196DEBUG: Attempting cache lookup for images_that_develop_from(FBbt_00001419) with full results
197197DEBUG: Cache lookup result: True
198- ImagesThatDevelopFrom: 1.2507s ✅
198+ ImagesThatDevelopFrom: 1.8482s ✅
199199DEBUG: Checking cache for expression_pattern_fragments, term_id=FBtp0000001, cache_term_id=FBtp0000001, should_cache=True
200200DEBUG: Attempting cache lookup for expression_pattern_fragments(FBtp0000001) with full results
201201DEBUG: Cache lookup result: True
202- epFrag: 1.2327s ✅
202+ epFrag: 1.9066s ✅
203203
204204================================================================================
205205INSTANCE QUERIES
206206================================================================================
207207DEBUG: Checking cache for instances, term_id=FBbt_00003982, cache_term_id=FBbt_00003982, should_cache=True
208208DEBUG: Attempting cache lookup for instances(FBbt_00003982) with full results
209209DEBUG: Cache lookup result: True
210- ListAllAvailableImages: 1.6223s ✅
210+ ListAllAvailableImages: 1.8490s ✅
211211
212212================================================================================
213213CONNECTIVITY QUERIES
214214================================================================================
215215DEBUG: Checking cache for neuron_neuron_connectivity_query, term_id=VFB_jrchk00s, cache_term_id=VFB_jrchk00s, should_cache=True
216216DEBUG: Attempting cache lookup for neuron_neuron_connectivity_query(VFB_jrchk00s) with full results
217217DEBUG: Cache lookup result: True
218- NeuronNeuronConnectivityQuery: 1.2764s ✅
218+ NeuronNeuronConnectivityQuery: 1.8815s ✅
219219DEBUG: Checking cache for neuron_region_connectivity_query, term_id=VFB_jrchk00s, cache_term_id=VFB_jrchk00s, should_cache=True
220220DEBUG: Attempting cache lookup for neuron_region_connectivity_query(VFB_jrchk00s) with full results
221221DEBUG: Cache lookup result: True
222- NeuronRegionConnectivityQuery: 1.4228s ✅
222+ NeuronRegionConnectivityQuery: 1.9162s ✅
223223
224224================================================================================
225225SIMILARITY QUERIES (Neo4j NBLAST)
226226================================================================================
227227DEBUG: Checking cache for similar_neurons, term_id=VFB_jrchk00s, cache_term_id=VFB_jrchk00s_score_NBLAST_score, should_cache=False
228228DEBUG: Attempting cache lookup for similar_neurons(VFB_jrchk00s_score_NBLAST_score) with full results
229- DEBUG: Cache lookup result: True
230- DEBUG: Cannot slice cached result of type <class 'dict'>, returning full result
231- SimilarMorphologyTo: 0.6367s ✅
229+ DEBUG: Cache lookup result: False
230+ ✅ Neo4j connection established
231+ SimilarMorphologyTo: 11.5191s ✅
232232
233233================================================================================
234234NEURON INPUT QUERIES (Neo4j)
235235================================================================================
236- ✅ Neo4j connection established
237- NeuronInputsTo: 3.1173s ✅
236+ NeuronInputsTo: 2.9445s ✅
238237
239238================================================================================
240239EXPRESSION PATTERN QUERIES (Neo4j)
241240================================================================================
242- ExpressionOverlapsHere: 0.8056s ✅
241+ ExpressionOverlapsHere: 0.8948s ✅
243242 └─ Found 3922 total expression patterns, returned 10
244243
245244================================================================================
@@ -253,55 +252,55 @@ test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerf
253252Test publication and transgene queries ... ok
254253
255254----------------------------------------------------------------------
256- Ran 15 tests in 42.424s
255+ Ran 15 tests in 66.210s
257256
258257OK
259258================================================================================
260- anatScRNAseqQuery: 0.7638s ✅
259+ anatScRNAseqQuery: 0.8003s ✅
261260 └─ Found 0 total clusters
262- clusterExpression: 0.5019s ✅
261+ clusterExpression: 1.0486s ✅
263262 └─ Found 0 genes expressed
264- expressionCluster: 0.6482s ✅
263+ expressionCluster: 0.7234s ✅
265264 └─ Found 0 clusters expressing gene
266- scRNAdatasetData: 0.7309s ✅
265+ scRNAdatasetData: 0.8565s ✅
267266 └─ Found 0 clusters in dataset
268267
269268================================================================================
270269NBLAST SIMILARITY QUERIES
271270================================================================================
272- SimilarMorphologyTo: 0.8105s ✅
271+ SimilarMorphologyTo: 1.1879s ✅
273272 └─ Found 227 NBLAST matches, returned 10
274- SimilarMorphologyToPartOf: 0.5331s ✅
273+ SimilarMorphologyToPartOf: 0.7253s ✅
275274 └─ Found 0 NBLASTexp matches
276- SimilarMorphologyToPartOfexp: 0.5064s ✅
275+ SimilarMorphologyToPartOfexp: 0.7637s ✅
277276 └─ Found 0 reverse NBLASTexp matches
278- SimilarMorphologyToNB: 0.5924s ✅
277+ SimilarMorphologyToNB: 0.7215s ✅
279278 └─ Found 15 NeuronBridge matches, returned 10
280- SimilarMorphologyToNBexp: 0.5750s ✅
279+ SimilarMorphologyToNBexp: 0.7202s ✅
281280 └─ Found 15 NeuronBridge expression matches, returned 10
282281✅ All NBLAST similarity queries completed
283282
284283================================================================================
285284DATASET/TEMPLATE QUERIES
286285================================================================================
287- PaintedDomains: 0.5370s ✅
286+ PaintedDomains: 0.7501s ✅
288287 └─ Found 0 painted domains
289- DatasetImages: 0.6039s ✅
288+ DatasetImages: 0.7328s ✅
290289 └─ Found 0 images in dataset
291- AllAlignedImages: 0.5049s ✅
290+ AllAlignedImages: 0.7303s ✅
292291 └─ Found 0 aligned images
293- AlignedDatasets: 0.7918s ✅
292+ AlignedDatasets: 0.9075s ✅
294293 └─ Found 0 aligned datasets
295- AllDatasets: 0.8552s ✅
294+ AllDatasets: 0.9532s ✅
296295 └─ Found 115 total datasets, returned 20
297296✅ All dataset/template queries completed
298297
299298================================================================================
300299PUBLICATION/TRANSGENE QUERIES
301300================================================================================
302- TermsForPub: 0.5697s ✅
301+ TermsForPub: 0.7036s ✅
303302 └─ Found 0 terms for publication
304- TransgeneExpressionHere: 0.5828s ✅
303+ TransgeneExpressionHere: 0.7814s ✅
305304 └─ Found 2339 transgene expressions, returned 10
306305✅ All publication/transgene queries completed
307306
@@ -314,7 +313,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
314313Performance test for specific term info queries. ... ok
315314
316315----------------------------------------------------------------------
317- Ran 1 test in 4.055s
316+ Ran 1 test in 3.791s
318317
319318OK
320319VFBquery functions patched with caching support
@@ -325,10 +324,6 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
325324 Disable with: export VFBQUERY_CACHE_ENABLED=false
326325DEBUG: Checking cache for term_info, term_id=FBbt_00003748, cache_term_id=FBbt_00003748_preview_True, should_cache=True
327326DEBUG: Attempting cache lookup for term_info(FBbt_00003748_preview_True) with full results
328- DEBUG: Cache lookup result: False
329- DEBUG: Executing term_info with full results for caching
330- DEBUG: Checking cache for term_info, term_id=FBbt_00003748, cache_term_id=FBbt_00003748_preview_True, should_cache=True
331- DEBUG: Attempting cache lookup for term_info(FBbt_00003748_preview_True) with full results
332327DEBUG: Cache lookup result: True
333328DEBUG: Checking cache for term_info, term_id=VFB_00101567, cache_term_id=VFB_00101567_preview_True, should_cache=True
334329DEBUG: Attempting cache lookup for term_info(VFB_00101567_preview_True) with full results
@@ -337,9 +332,9 @@ DEBUG: Cache lookup result: True
337332==================================================
338333Performance Test Results:
339334==================================================
340- FBbt_00003748 query took: 2.8087 seconds
341- VFB_00101567 query took: 1.2458 seconds
342- Total time for both queries: 4.0545 seconds
335+ FBbt_00003748 query took: 1.9029 seconds
336+ VFB_00101567 query took: 1.8880 seconds
337+ Total time for both queries: 3.7908 seconds
343338Performance Level: 🟠 Acceptable (3-6 seconds)
344339==================================================
345340Performance test completed successfully!
@@ -358,4 +353,4 @@ Track performance trends across commits:
358353- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
359354
360355---
361- * Last updated: 2025-11-18 06:01:43 UTC*
356+ * Last updated: 2025-11-18 06:08:22 UTC*
0 commit comments