11# VFBquery Performance Test Results
22
3- ** Test Date:** 2025-11-18 06:32:02 UTC
4- ** Git Commit:** d4a84c45376955c78e8f32bf8f5592df52964fbc
3+ ** Test Date:** 2025-11-18 10:04:12 UTC
4+ ** Git Commit:** abf5d3e56cfc31fd6f3b2de587edea7217e8f5ea
55** Branch:** dev
6- ** Workflow Run:** [ 19456519299 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19456519299 )
6+ ** Workflow Run:** [ 19462000368 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19462000368 )
77
88## Test Overview
99
@@ -119,126 +119,127 @@ 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.7961s ✅
122+ get_term_info (mushroom body): 1.7243s ✅
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.7117s ✅
126+ get_term_info (individual): 1.6443s ✅
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.6706s ✅
134+ NeuronsPartHere: 1.7217s ✅
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.9694s ✅
142+ NeuronsSynaptic: 1.8239s ✅
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.4623s ✅
146+ NeuronsPresynapticHere: 1.3974s ✅
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.6613s ✅
150+ NeuronsPostsynapticHere: 1.6712s ✅
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.4134s ✅
154+ NeuronNeuronConnectivity: 1.5373s ✅
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.3978s ✅
162+ ComponentsOf: 1.5588s ✅
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.5767s ✅
166+ PartsOf: 1.3459s ✅
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.4934s ✅
170+ SubclassesOf: 1.2924s ✅
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.2643s ✅
178+ NeuronClassesFasciculatingHere: 1.3747s ✅
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.5096s ✅
182+ TractsNervesInnervatingHere: 1.2895s ✅
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.2099s ✅
186+ LineageClonesIn: 1.3761s ✅
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.2843s ✅
194+ ImagesNeurons: 1.4256s ✅
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.5474s ✅
198+ ImagesThatDevelopFrom: 1.4762s ✅
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.2907s ✅
202+ epFrag: 1.2510s ✅
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.3019s ✅
210+ ListAllAvailableImages: 1.2688s ✅
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.2227s ✅
218+ NeuronNeuronConnectivityQuery: 1.4119s ✅
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.4744s ✅
222+ NeuronRegionConnectivityQuery: 1.2728s ✅
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: False
230- ✅ Neo4j connection established
231- SimilarMorphologyTo: 11.7978s ✅
229+ DEBUG: Cache lookup result: True
230+ DEBUG: Sliced cached dict result to 5 rows
231+ SimilarMorphologyTo: 0.7505s ✅
232232
233233================================================================================
234234NEURON INPUT QUERIES (Neo4j)
235235================================================================================
236- NeuronInputsTo: 2.9396s ✅
236+ ✅ Neo4j connection established
237+ NeuronInputsTo: 3.0098s ✅
237238
238239================================================================================
239240EXPRESSION PATTERN QUERIES (Neo4j)
240241================================================================================
241- ExpressionOverlapsHere: 1.8504s ✅
242+ ExpressionOverlapsHere: 1.0708s ✅
242243 └─ Found 3922 total expression patterns, returned 10
243244
244245================================================================================
@@ -252,55 +253,55 @@ test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerf
252253Test publication and transgene queries ... ok
253254
254255----------------------------------------------------------------------
255- Ran 15 tests in 55.418s
256+ Ran 15 tests in 43.932s
256257
257258OK
258259================================================================================
259- anatScRNAseqQuery: 0.7514s ✅
260+ anatScRNAseqQuery: 0.8789s ✅
260261 └─ Found 0 total clusters
261- clusterExpression: 0.8137s ✅
262+ clusterExpression: 0.6973s ✅
262263 └─ Found 0 genes expressed
263- expressionCluster: 0.7080s ✅
264+ expressionCluster: 0.6358s ✅
264265 └─ Found 0 clusters expressing gene
265- scRNAdatasetData: 0.6804s ✅
266+ scRNAdatasetData: 0.6574s ✅
266267 └─ Found 0 clusters in dataset
267268
268269================================================================================
269270NBLAST SIMILARITY QUERIES
270271================================================================================
271- SimilarMorphologyTo: 0.7983s ✅
272+ SimilarMorphologyTo: 0.9131s ✅
272273 └─ Found 227 NBLAST matches, returned 10
273- SimilarMorphologyToPartOf: 0.6737s ✅
274+ SimilarMorphologyToPartOf: 0.7047s ✅
274275 └─ Found 0 NBLASTexp matches
275- SimilarMorphologyToPartOfexp: 0.4920s ✅
276+ SimilarMorphologyToPartOfexp: 0.5944s ✅
276277 └─ Found 0 reverse NBLASTexp matches
277- SimilarMorphologyToNB: 0.5110s ✅
278+ SimilarMorphologyToNB: 0.5227s ✅
278279 └─ Found 15 NeuronBridge matches, returned 10
279- SimilarMorphologyToNBexp: 0.6426s ✅
280+ SimilarMorphologyToNBexp: 0.5181s ✅
280281 └─ Found 15 NeuronBridge expression matches, returned 10
281282✅ All NBLAST similarity queries completed
282283
283284================================================================================
284285DATASET/TEMPLATE QUERIES
285286================================================================================
286- PaintedDomains: 0.6709s ✅
287+ PaintedDomains: 0.9061s ✅
287288 └─ Found 0 painted domains
288- DatasetImages: 0.5211s ✅
289+ DatasetImages: 0.6118s ✅
289290 └─ Found 0 images in dataset
290- AllAlignedImages: 0.6439s ✅
291+ AllAlignedImages: 0.7462s ✅
291292 └─ Found 0 aligned images
292- AlignedDatasets: 0.7260s ✅
293+ AlignedDatasets: 0.8233s ✅
293294 └─ Found 0 aligned datasets
294- AllDatasets: 0.7269s ✅
295+ AllDatasets: 0.7352s ✅
295296 └─ Found 115 total datasets, returned 20
296297✅ All dataset/template queries completed
297298
298299================================================================================
299300PUBLICATION/TRANSGENE QUERIES
300301================================================================================
301- TermsForPub: 0.5243s ✅
302+ TermsForPub: 0.4746s ✅
302303 └─ Found 0 terms for publication
303- TransgeneExpressionHere: 0.6840s ✅
304+ TransgeneExpressionHere: 0.8145s ✅
304305 └─ Found 2339 transgene expressions, returned 10
305306✅ All publication/transgene queries completed
306307
@@ -313,7 +314,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
313314Performance test for specific term info queries. ... ok
314315
315316----------------------------------------------------------------------
316- Ran 1 test in 2.480s
317+ Ran 1 test in 2.737s
317318
318319OK
319320VFBquery functions patched with caching support
@@ -332,9 +333,9 @@ DEBUG: Cache lookup result: True
332333==================================================
333334Performance Test Results:
334335==================================================
335- FBbt_00003748 query took: 1.2460 seconds
336- VFB_00101567 query took: 1.2341 seconds
337- Total time for both queries: 2.4801 seconds
336+ FBbt_00003748 query took: 1.4636 seconds
337+ VFB_00101567 query took: 1.2728 seconds
338+ Total time for both queries: 2.7363 seconds
338339Performance Level: 🟡 Good (1.5-3 seconds)
339340==================================================
340341Performance test completed successfully!
@@ -353,4 +354,4 @@ Track performance trends across commits:
353354- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
354355
355356---
356- * Last updated: 2025-11-18 06:32:02 UTC*
357+ * Last updated: 2025-11-18 10:04:12 UTC*
0 commit comments