11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 22:04:41 UTC
4- ** Git Commit:** 0a477b31a252e869b456cd13aca2274893bf5d03
3+ ** Test Date:** 2026-03-11 22:31:11 UTC
4+ ** Git Commit:** 5a1f2cb5542ed2741d7d4d354b2e8053724253e8
55** Branch:** main
6- ** Workflow Run:** [ 22976586933 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22976586933 )
6+ ** Workflow Run:** [ 22977466827 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22977466827 )
77
88## Test Overview
99
@@ -122,10 +122,10 @@ Test dataset and template queries
122122Traceback (most recent call last):
123123 File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 660, in test_13_dataset_template_queries
124124 self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllAlignedImages exceeded threshold")
125- AssertionError: 3.6530964374542236 not less than 3.0 : AllAlignedImages exceeded threshold
125+ AssertionError: 3.1502015590667725 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 61.875s
128+ Ran 15 tests in 79.081s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,113 +137,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 1.8491s ✅
141- get_term_info (individual): 1.7579s ✅
140+ get_term_info (mushroom body): 2.8897s ✅
141+ get_term_info (individual): 2.4152s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 1.9808s ✅
146+ NeuronsPartHere: 2.6854s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 1.8591s ✅
152- NeuronsPresynapticHere: 1.5489s ✅
153- NeuronsPostsynapticHere: 1.6216s ✅
154- NeuronNeuronConnectivity: 1.5193s ✅
151+ NeuronsSynaptic: 1.8436s ✅
152+ NeuronsPresynapticHere: 2.1432s ✅
153+ NeuronsPostsynapticHere: 2.4525s ✅
154+ NeuronNeuronConnectivity: 2.2659s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.6287s ✅
160- PartsOf: 1.4136s ✅
161- SubclassesOf: 1.3899s ✅
159+ ComponentsOf: 2.0084s ✅
160+ PartsOf: 1.9217s ✅
161+ SubclassesOf: 1.9742s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.3907s ✅
167- TractsNervesInnervatingHere: 1.6185s ✅
168- LineageClonesIn: 1.3966s ✅
166+ NeuronClassesFasciculatingHere: 2.0845s ✅
167+ TractsNervesInnervatingHere: 1.9208s ✅
168+ LineageClonesIn: 2.0658s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 2.4414s ✅
174- ImagesThatDevelopFrom: 1.4466s ✅
175- epFrag: 1.3843s ✅
173+ ImagesNeurons: 3.3629s ✅
174+ ImagesThatDevelopFrom: 2.0111s ✅
175+ epFrag: 1.9417s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.3667s ✅
180+ ListAllAvailableImages: 1.8961s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.4262s ✅
186- NeuronRegionConnectivityQuery: 1.4231s ✅
185+ NeuronNeuronConnectivityQuery: 2.0123s ✅
186+ NeuronRegionConnectivityQuery: 1.9360s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.7488s ✅
191+ SimilarMorphologyTo: 1.1243s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 4.1205s ✅
196+ NeuronInputsTo: 3.1565s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.0303s ✅
201+ ExpressionOverlapsHere: 1.4761s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.7013s ✅
207+ anatScRNAseqQuery: 0.9922s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 0.9562s ✅
209+ clusterExpression: 1.0820s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 0.5836s ✅
211+ expressionCluster: 1.0455s ✅
212212 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 0.6751s ✅
213+ scRNAdatasetData: 1.0880s ✅
214214 └─ Found 13 clusters in dataset, returned 10
215215
216216================================================================================
217217NBLAST SIMILARITY QUERIES
218218================================================================================
219- SimilarMorphologyTo: 0.9265s ✅
219+ SimilarMorphologyTo: 1.3063s ✅
220220 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 0.7553s ✅
221+ SimilarMorphologyToPartOf: 0.7484s ✅
222222 └─ Found 0 NBLASTexp matches
223- SimilarMorphologyToPartOfexp: 0.5285s ✅
223+ SimilarMorphologyToPartOfexp: 0.7328s ✅
224224 └─ Found 0 reverse NBLASTexp matches
225- SimilarMorphologyToNB: 0.6437s ✅
225+ SimilarMorphologyToNB: 0.9161s ✅
226226 └─ Found 15 NeuronBridge matches, returned 10
227- SimilarMorphologyToNBexp: 0.5551s ✅
227+ SimilarMorphologyToNBexp: 0.7503s ✅
228228 └─ Found 15 NeuronBridge expression matches, returned 10
229229✅ All NBLAST similarity queries completed
230230
231231================================================================================
232232DATASET/TEMPLATE QUERIES
233233================================================================================
234- PaintedDomains: 0.7087s ✅
234+ PaintedDomains: 0.9922s ✅
235235 └─ Found 46 painted domains, returned 10
236- DatasetImages: 0.5790s ✅
236+ DatasetImages: 0.9562s ✅
237237 └─ Found 46 images in dataset, returned 10
238- AllAlignedImages: 3.6531s ✅
238+ AllAlignedImages: 3.1502s ✅
239239 └─ Found 546915 aligned images, returned 10
240240
241241================================================================================
242242PUBLICATION/TRANSGENE QUERIES
243243================================================================================
244- TermsForPub: 0.7077s ✅
244+ TermsForPub: 0.9808s ✅
245245 └─ Found 2 terms for publication
246- TransgeneExpressionHere: 1.3131s ✅
246+ TransgeneExpressionHere: 1.9425s ✅
247247 └─ Found 2350 transgene expressions, returned 10
248248✅ All publication/transgene queries completed
249249
@@ -253,25 +253,33 @@ PERFORMANCE TEST SUMMARY
253253All performance tests completed!
254254================================================================================
255255test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256- Performance test for specific term info queries. ... ok
256+ Performance test for specific term info queries. ... FAIL
257257
258+ ======================================================================
259+ FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
260+ Performance test for specific term info queries.
258261----------------------------------------------------------------------
259- Ran 1 test in 2.811s
262+ Traceback (most recent call last):
263+ File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590, in test_term_info_performance
264+ self.assertLess(duration_1, max_single_query_time,
265+ AssertionError: 26.239883184432983 not less than 10.0 : FBbt_00003748 query took 26.2399s, exceeding 10.0s threshold
260266
261- OK
267+ ----------------------------------------------------------------------
268+ Ran 1 test in 28.200s
269+
270+ FAILED (failures=1)
262271VFBquery functions patched with caching support
263272VFBquery: SOLR caching enabled by default (3-month TTL)
264273 Disable with: export VFBQUERY_CACHE_ENABLED=false
265274
266275==================================================
267276Performance Test Results:
268277==================================================
269- FBbt_00003748 query took: 1.3958 seconds
270- VFB_00101567 query took: 1.4153 seconds
271- Total time for both queries: 2.8111 seconds
272- Performance Level: 🟡 Good (1.5-3 seconds)
278+ FBbt_00003748 query took: 26.2399 seconds
279+ VFB_00101567 query took: 1.9589 seconds
280+ Total time for both queries: 28.1988 seconds
281+ Performance Level: 🔴 Slow (> 6 seconds)
273282==================================================
274- Performance test completed successfully!
275283```
276284
277285## Summary
@@ -287,4 +295,4 @@ Track performance trends across commits:
287295- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
288296
289297---
290- * Last updated: 2026-03-11 22:04:41 UTC*
298+ * Last updated: 2026-03-11 22:31:11 UTC*
0 commit comments