11# VFBquery Performance Test Results
22
3- ** Test Date:** 2025-11-19 12:07:12 UTC
4- ** Git Commit:** 3f091758ffb82416c50fe058cdf6d8f7673838f6
3+ ** Test Date:** 2025-11-19 12:16:14 UTC
4+ ** Git Commit:** 985205e61f027fe0f686609cdd92b899ce0e2176
55** Branch:** dev
6- ** Workflow Run:** [ 19500686316 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19500686316 )
6+ ** Workflow Run:** [ 19500927839 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19500927839 )
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.4566s ✅
122+ get_term_info (mushroom body): 1.7201s ✅
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.7410s ✅
126+ get_term_info (individual): 1.8806s ✅
127127
128128================================================================================
129129NEURON PART OVERLAP QUERIES
130130================================================================================
131131DEBUG: Checking cache for neurons_part_here, term_id=FBbt_00007401, cache_term_id=FBbt_00007401_dataframe_False, should_cache=True
132132DEBUG: Attempting cache lookup for neurons_part_here(FBbt_00007401_dataframe_False) with full results
133133DEBUG: Cache lookup result: True
134- NeuronsPartHere: 1.9359s ✅
134+ NeuronsPartHere: 1.9511s ✅
135135
136136================================================================================
137137SYNAPTIC TERMINAL QUERIES
138138================================================================================
139139DEBUG: Checking cache for neurons_synaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401_dataframe_False, should_cache=True
140140DEBUG: Attempting cache lookup for neurons_synaptic(FBbt_00007401_dataframe_False) with full results
141141DEBUG: Cache lookup result: True
142- NeuronsSynaptic: 1.8728s ✅
142+ NeuronsSynaptic: 1.7092s ✅
143143DEBUG: Checking cache for neurons_presynaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401_dataframe_False, should_cache=True
144144DEBUG: Attempting cache lookup for neurons_presynaptic(FBbt_00007401_dataframe_False) with full results
145145DEBUG: Cache lookup result: True
146- NeuronsPresynapticHere: 1.3168s ✅
146+ NeuronsPresynapticHere: 1.4699s ✅
147147DEBUG: Checking cache for neurons_postsynaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401_dataframe_False, should_cache=True
148148DEBUG: Attempting cache lookup for neurons_postsynaptic(FBbt_00007401_dataframe_False) with full results
149149DEBUG: Cache lookup result: True
150- NeuronsPostsynapticHere: 1.8067s ✅
150+ NeuronsPostsynapticHere: 1.9085s ✅
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.4336s ✅
154+ NeuronNeuronConnectivity: 1.5727s ✅
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.6607s ✅
162+ ComponentsOf: 1.5803s ✅
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.3447s ✅
166+ PartsOf: 1.2707s ✅
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.2763s ✅
170+ SubclassesOf: 1.3616s ✅
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.2104s ✅
178+ NeuronClassesFasciculatingHere: 1.3279s ✅
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.1817s ✅
182+ TractsNervesInnervatingHere: 1.2656s ✅
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.1949s ✅
186+ LineageClonesIn: 1.2401s ✅
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.1886s ✅
194+ ImagesNeurons: 1.2721s ✅
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.3549s ✅
198+ ImagesThatDevelopFrom: 1.4374s ✅
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.2831s ✅
202+ epFrag: 1.2363s ✅
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.1887s ✅
210+ ListAllAvailableImages: 1.2543s ✅
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.2725s ✅
218+ NeuronNeuronConnectivityQuery: 1.2490s ✅
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.1912s ✅
222+ NeuronRegionConnectivityQuery: 1.2504s ✅
223223
224224================================================================================
225225SIMILARITY QUERIES (Neo4j NBLAST)
@@ -228,18 +228,18 @@ DEBUG: Checking cache for similar_neurons, term_id=VFB_jrchk00s, cache_term_id=V
228228DEBUG: Attempting cache lookup for similar_neurons(VFB_jrchk00s_dataframe_False) with full results
229229DEBUG: Cache lookup result: True
230230DEBUG: Sliced cached dict result to 5 rows
231- SimilarMorphologyTo: 0.7053s ✅
231+ SimilarMorphologyTo: 0.6695s ✅
232232
233233================================================================================
234234NEURON INPUT QUERIES (Neo4j)
235235================================================================================
236236✅ Neo4j connection established
237- NeuronInputsTo: 3.1300s ✅
237+ NeuronInputsTo: 2.9366s ✅
238238
239239================================================================================
240240EXPRESSION PATTERN QUERIES (Neo4j)
241241================================================================================
242- ExpressionOverlapsHere: 0.8392s ✅
242+ ExpressionOverlapsHere: 0.8070s ✅
243243 └─ Found 3922 total expression patterns, returned 10
244244ok
245245test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -250,58 +250,58 @@ test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerf
250250Test publication and transgene queries ... ok
251251
252252----------------------------------------------------------------------
253- Ran 15 tests in 42.091s
253+ Ran 15 tests in 42.950s
254254
255255OK
256256
257257================================================================================
258258TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
259259================================================================================
260- anatScRNAseqQuery: 0.7409s ✅
260+ anatScRNAseqQuery: 0.7355s ✅
261261 └─ Found 0 total clusters
262- clusterExpression: 0.6443s ✅
262+ clusterExpression: 0.7580s ✅
263263 └─ Found 0 genes expressed
264- expressionCluster: 0.7695s ✅
264+ expressionCluster: 0.6276s ✅
265265 └─ Found 0 clusters expressing gene
266- scRNAdatasetData: 0.6882s ✅
266+ scRNAdatasetData: 0.6643s ✅
267267 └─ Found 0 clusters in dataset
268268
269269================================================================================
270270NBLAST SIMILARITY QUERIES
271271================================================================================
272- SimilarMorphologyTo: 0.8386s ✅
272+ SimilarMorphologyTo: 0.8030s ✅
273273 └─ Found 227 NBLAST matches, returned 10
274- SimilarMorphologyToPartOf: 0.4894s ✅
274+ SimilarMorphologyToPartOf: 0.6130s ✅
275275 └─ Found 0 NBLASTexp matches
276- SimilarMorphologyToPartOfexp: 0.6695s ✅
276+ SimilarMorphologyToPartOfexp: 0.7041s ✅
277277 └─ Found 0 reverse NBLASTexp matches
278- SimilarMorphologyToNB: 0.4929s ✅
278+ SimilarMorphologyToNB: 0.5393s ✅
279279 └─ Found 15 NeuronBridge matches, returned 10
280- SimilarMorphologyToNBexp: 0.6012s ✅
280+ SimilarMorphologyToNBexp: 0.6190s ✅
281281 └─ Found 15 NeuronBridge expression matches, returned 10
282282✅ All NBLAST similarity queries completed
283283
284284================================================================================
285285DATASET/TEMPLATE QUERIES
286286================================================================================
287- PaintedDomains: 0.5284s ✅
287+ PaintedDomains: 0.6947s ✅
288288 └─ Found 0 painted domains
289- DatasetImages: 0.5243s ✅
289+ DatasetImages: 0.5308s ✅
290290 └─ Found 0 images in dataset
291- AllAlignedImages: 0.6489s ✅
291+ AllAlignedImages: 0.5270s ✅
292292 └─ Found 0 aligned images
293- AlignedDatasets: 0.7499s ✅
293+ AlignedDatasets: 0.8399s ✅
294294 └─ Found 0 aligned datasets
295- AllDatasets: 0.8442s ✅
295+ AllDatasets: 0.7994s ✅
296296 └─ Found 115 total datasets, returned 20
297297✅ All dataset/template queries completed
298298
299299================================================================================
300300PUBLICATION/TRANSGENE QUERIES
301301================================================================================
302- TermsForPub: 0.6445s ✅
302+ TermsForPub: 0.4952s ✅
303303 └─ Found 0 terms for publication
304- TransgeneExpressionHere: 0.6268s ✅
304+ TransgeneExpressionHere: 0.6242s ✅
305305 └─ Found 2339 transgene expressions, returned 10
306306✅ All publication/transgene queries completed
307307
@@ -314,7 +314,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
314314Performance test for specific term info queries. ... ok
315315
316316----------------------------------------------------------------------
317- Ran 1 test in 2.522s
317+ Ran 1 test in 2.573s
318318
319319OK
320320VFBquery functions patched with caching support
@@ -330,9 +330,9 @@ DEBUG: Cache lookup result: True
330330==================================================
331331Performance Test Results:
332332==================================================
333- FBbt_00003748 query took: 1.2898 seconds
334- VFB_00101567 query took: 1.2317 seconds
335- Total time for both queries: 2.5215 seconds
333+ FBbt_00003748 query took: 1.2922 seconds
334+ VFB_00101567 query took: 1.2804 seconds
335+ Total time for both queries: 2.5726 seconds
336336Performance Level: 🟡 Good (1.5-3 seconds)
337337==================================================
338338Performance test completed successfully!
@@ -351,4 +351,4 @@ Track performance trends across commits:
351351- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
352352
353353---
354- * Last updated: 2025-11-19 12:07:12 UTC*
354+ * Last updated: 2025-11-19 12:16:14 UTC*
0 commit comments