11# VFBquery Performance Test Results
22
3- ** Test Date:** 2025-11-18 10:08:49 UTC
4- ** Git Commit:** a2b3f27318dd7c75466448c3249082caf0ad56dc
3+ ** Test Date:** 2025-11-18 10:11:12 UTC
4+ ** Git Commit:** 9c73fa9ed19c88779b181d8bbebd71a8b79352c6
55** Branch:** dev
6- ** Workflow Run:** [ 19462130549 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19462130549 )
6+ ** Workflow Run:** [ 19462191553 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19462191553 )
77
88## Test Overview
99
@@ -119,107 +119,107 @@ 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.8547s ✅
122+ get_term_info (mushroom body): 2.2548s ✅
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.6872s ✅
126+ get_term_info (individual): 2.1985s ✅
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.3337s ✅
134+ NeuronsPartHere: 1.9290s ✅
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.7271s ✅
142+ NeuronsSynaptic: 2.0806s ✅
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.7506s ✅
146+ NeuronsPresynapticHere: 2.2498s ✅
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.5000s ✅
150+ NeuronsPostsynapticHere: 2.0312s ✅
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.5378s ✅
154+ NeuronNeuronConnectivity: 1.6472s ✅
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.4763s ✅
162+ ComponentsOf: 1.5608s ✅
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.4531s ✅
166+ PartsOf: 1.7337s ✅
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.5031s ✅
170+ SubclassesOf: 1.5393s ✅
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.2744s ✅
178+ NeuronClassesFasciculatingHere: 1.5158s ✅
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.2346s ✅
182+ TractsNervesInnervatingHere: 1.5468s ✅
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.2528s ✅
186+ LineageClonesIn: 1.5021s ✅
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.2290s ✅
194+ ImagesNeurons: 1.5536s ✅
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.2555s ✅
198+ ImagesThatDevelopFrom: 1.5389s ✅
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.3918s ✅
202+ epFrag: 1.5338s ✅
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.2266s ✅
210+ ListAllAvailableImages: 1.5135s ✅
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.2991s ✅
218+ NeuronNeuronConnectivityQuery: 1.5661s ✅
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.2291s ✅
222+ NeuronRegionConnectivityQuery: 1.4900s ✅
223223
224224================================================================================
225225SIMILARITY QUERIES (Neo4j NBLAST)
@@ -228,17 +228,17 @@ DEBUG: Checking cache for similar_neurons, term_id=VFB_jrchk00s, cache_term_id=V
228228DEBUG: Attempting cache lookup for similar_neurons(VFB_jrchk00s_score_NBLAST_score) with full results
229229DEBUG: Cache lookup result: False
230230✅ Neo4j connection established
231- SimilarMorphologyTo: 10.6339s ✅
231+ SimilarMorphologyTo: 11.0311s ✅
232232
233233================================================================================
234234NEURON INPUT QUERIES (Neo4j)
235235================================================================================
236- NeuronInputsTo: 2.8648s ✅
236+ NeuronInputsTo: 2.7797s ✅
237237
238238================================================================================
239239EXPRESSION PATTERN QUERIES (Neo4j)
240240================================================================================
241- ExpressionOverlapsHere: 0.7647s ✅
241+ ExpressionOverlapsHere: 0.9306s ✅
242242 └─ Found 3922 total expression patterns, returned 10
243243
244244================================================================================
@@ -252,55 +252,55 @@ test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerf
252252Test publication and transgene queries ... ok
253253
254254----------------------------------------------------------------------
255- Ran 15 tests in 52.224s
255+ Ran 15 tests in 59.888s
256256
257257OK
258258================================================================================
259- anatScRNAseqQuery: 0.7945s ✅
259+ anatScRNAseqQuery: 0.8254s ✅
260260 └─ Found 0 total clusters
261- clusterExpression: 0.7195s ✅
261+ clusterExpression: 0.8367s ✅
262262 └─ Found 0 genes expressed
263- expressionCluster: 0.5992s ✅
263+ expressionCluster: 0.7418s ✅
264264 └─ Found 0 clusters expressing gene
265- scRNAdatasetData: 0.7311s ✅
265+ scRNAdatasetData: 0.8955s ✅
266266 └─ Found 0 clusters in dataset
267267
268268================================================================================
269269NBLAST SIMILARITY QUERIES
270270================================================================================
271- SimilarMorphologyTo: 0.8208s ✅
271+ SimilarMorphologyTo: 0.9167s ✅
272272 └─ Found 227 NBLAST matches, returned 10
273- SimilarMorphologyToPartOf: 0.6410s ✅
273+ SimilarMorphologyToPartOf: 0.6053s ✅
274274 └─ Found 0 NBLASTexp matches
275- SimilarMorphologyToPartOfexp: 0.5127s ✅
275+ SimilarMorphologyToPartOfexp: 0.6997s ✅
276276 └─ Found 0 reverse NBLASTexp matches
277- SimilarMorphologyToNB: 0.5785s ✅
277+ SimilarMorphologyToNB: 0.7191s ✅
278278 └─ Found 15 NeuronBridge matches, returned 10
279- SimilarMorphologyToNBexp: 0.7233s ✅
279+ SimilarMorphologyToNBexp: 0.7207s ✅
280280 └─ Found 15 NeuronBridge expression matches, returned 10
281281✅ All NBLAST similarity queries completed
282282
283283================================================================================
284284DATASET/TEMPLATE QUERIES
285285================================================================================
286- PaintedDomains: 0.7092s ✅
286+ PaintedDomains: 0.7899s ✅
287287 └─ Found 0 painted domains
288- DatasetImages: 0.6519s ✅
288+ DatasetImages: 0.7588s ✅
289289 └─ Found 0 images in dataset
290- AllAlignedImages: 0.5167s ✅
290+ AllAlignedImages: 0.6198s ✅
291291 └─ Found 0 aligned images
292- AlignedDatasets: 0.7491s ✅
292+ AlignedDatasets: 0.8569s ✅
293293 └─ Found 0 aligned datasets
294- AllDatasets: 0.8395s ✅
294+ AllDatasets: 0.7911s ✅
295295 └─ Found 115 total datasets, returned 20
296296✅ All dataset/template queries completed
297297
298298================================================================================
299299PUBLICATION/TRANSGENE QUERIES
300300================================================================================
301- TermsForPub: 0.4883s ✅
301+ TermsForPub: 0.7045s ✅
302302 └─ Found 0 terms for publication
303- TransgeneExpressionHere: 0.6659s ✅
303+ TransgeneExpressionHere: 0.6767s ✅
304304 └─ Found 2339 transgene expressions, returned 10
305305✅ All publication/transgene queries completed
306306
@@ -313,7 +313,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
313313Performance test for specific term info queries. ... ok
314314
315315----------------------------------------------------------------------
316- Ran 1 test in 2.520s
316+ Ran 1 test in 3.085s
317317
318318OK
319319VFBquery functions patched with caching support
@@ -332,10 +332,10 @@ DEBUG: Cache lookup result: True
332332==================================================
333333Performance Test Results:
334334==================================================
335- FBbt_00003748 query took: 1.2539 seconds
336- VFB_00101567 query took: 1.2655 seconds
337- Total time for both queries: 2.5194 seconds
338- Performance Level: 🟡 Good (1.5-3 seconds)
335+ FBbt_00003748 query took: 1.5329 seconds
336+ VFB_00101567 query took: 1.5519 seconds
337+ Total time for both queries: 3.0848 seconds
338+ Performance Level: 🟠 Acceptable (3-6 seconds)
339339==================================================
340340Performance test completed successfully!
341341```
@@ -353,4 +353,4 @@ Track performance trends across commits:
353353- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
354354
355355---
356- * Last updated: 2025-11-18 10:08:49 UTC*
356+ * Last updated: 2025-11-18 10:11:12 UTC*
0 commit comments