11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-05-30 13:30:36 UTC
4- ** Git Commit:** 9dd9fa34be1a6296dfdf3c4427e42cee45deff2c
3+ ** Test Date:** 2026-05-30 13:58:54 UTC
4+ ** Git Commit:** b7dd40060ea7128e7c0c88294d2213ad305339a1
55** Branch:** main
6- ** Workflow Run:** [ 26684575390 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/26684575390 )
6+ ** Workflow Run:** [ 26685135538 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/26685135538 )
77
88## Test Overview
99
@@ -128,10 +128,10 @@ Test UpstreamClassConnectivity query (multi-step aggregation)
128128Traceback (most recent call last):
129129 File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 391, in test_07b_upstream_class_connectivity
130130 self.assertLess(duration, self.THRESHOLD_VERY_SLOW, "UpstreamClassConnectivity exceeded threshold")
131- AssertionError: 68.95492243766785 not less than 31.0 : UpstreamClassConnectivity exceeded threshold
131+ AssertionError: 69.88094520568848 not less than 31.0 : UpstreamClassConnectivity exceeded threshold
132132
133133----------------------------------------------------------------------
134- Ran 18 tests in 132.237s
134+ Ran 18 tests in 160.474s
135135
136136FAILED (failures=1)
137137VFBquery functions patched with caching support
@@ -143,133 +143,133 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
143143================================================================================
144144TERM INFO QUERIES
145145================================================================================
146- get_term_info (mushroom body): 2.1838s ✅
147- get_term_info (individual): 1.9195s ✅
146+ get_term_info (mushroom body): 3.2404s ✅
147+ get_term_info (individual): 2.4071s ✅
148148
149149================================================================================
150150NEURON PART OVERLAP QUERIES
151151================================================================================
152- NeuronsPartHere: 2.2387s ✅
152+ NeuronsPartHere: 2.6746s ✅
153153
154154================================================================================
155155SYNAPTIC TERMINAL QUERIES
156156================================================================================
157- NeuronsSynaptic: 2.1128s ✅
158- NeuronsPresynapticHere: 1.6043s ✅
159- NeuronsPostsynapticHere: 1.4399s ✅
160- NeuronNeuronConnectivity: 1.4058s ✅
157+ NeuronsSynaptic: 2.3745s ✅
158+ NeuronsPresynapticHere: 2.0948s ✅
159+ NeuronsPostsynapticHere: 2.4749s ✅
160+ NeuronNeuronConnectivity: 2.1651s ✅
161161
162162================================================================================
163163ANATOMICAL HIERARCHY QUERIES
164164================================================================================
165- ComponentsOf: 1.2189s ✅
166- PartsOf: 1.2102s ✅
167- SubclassesOf: 2.0640s ✅
165+ ComponentsOf: 1.9564s ✅
166+ PartsOf: 2.1401s ✅
167+ SubclassesOf: 2.0978s ✅
168168
169169================================================================================
170170TRACT/NERVE AND LINEAGE QUERIES
171171================================================================================
172- NeuronClassesFasciculatingHere: 1.7115s ✅
173- TractsNervesInnervatingHere: 1.2116s ✅
174- LineageClonesIn: 1.2297s ✅
172+ NeuronClassesFasciculatingHere: 2.0596s ✅
173+ TractsNervesInnervatingHere: 1.9003s ✅
174+ LineageClonesIn: 1.9431s ✅
175175
176176================================================================================
177177IMAGE AND DEVELOPMENTAL QUERIES
178178================================================================================
179- ImagesNeurons: 2.7482s ✅
180- ImagesThatDevelopFrom: 1.4270s ✅
181- epFrag: 1.4460s ✅
179+ ImagesNeurons: 5.0721s ✅
180+ ImagesThatDevelopFrom: 2.2948s ✅
181+ epFrag: 2.0656s ✅
182182
183183================================================================================
184184INSTANCE QUERIES
185185================================================================================
186- ListAllAvailableImages: 1.1994s ✅
186+ ListAllAvailableImages: 1.9472s ✅
187187
188188================================================================================
189189CONNECTIVITY QUERIES
190190================================================================================
191- NeuronNeuronConnectivityQuery: 1.4806s ✅
192- NeuronRegionConnectivityQuery: 1.2392s ✅
191+ NeuronNeuronConnectivityQuery: 1.9037s ✅
192+ NeuronRegionConnectivityQuery: 1.9175s ✅
193193
194194================================================================================
195195DOWNSTREAM CLASS CONNECTIVITY (multi-step aggregation)
196196================================================================================
197- DownstreamClassConnectivity: 1.2668s ✅
197+ DownstreamClassConnectivity: 1.9899s ✅
198198
199199================================================================================
200200UPSTREAM CLASS CONNECTIVITY (multi-step aggregation)
201201================================================================================
202- UpstreamClassConnectivity: 68.9549s ✅
202+ UpstreamClassConnectivity: 69.8809s ✅
203203
204204================================================================================
205205CROSS-DATASET CONNECTIVITY (live, slow)
206206================================================================================
207- QueryConnectivity: 1.4050s ✅
207+ QueryConnectivity: 2.0760s ✅
208208
209209================================================================================
210210SIMILARITY QUERIES (Neo4j NBLAST)
211211================================================================================
212- SimilarMorphologyTo: 0.6499s ✅
212+ SimilarMorphologyTo: 1.1499s ✅
213213
214214================================================================================
215215NEURON INPUT QUERIES (Neo4j)
216216================================================================================
217- NeuronInputsTo: 2.8034s ✅
217+ NeuronInputsTo: 2.9726s ✅
218218
219219================================================================================
220220EXPRESSION PATTERN QUERIES (Neo4j)
221221================================================================================
222- ExpressionOverlapsHere: 0.9587s ✅
222+ ExpressionOverlapsHere: 1.3618s ✅
223223 └─ Found 3922 total expression patterns, returned 10
224224
225225================================================================================
226226TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
227227================================================================================
228- anatScRNAseqQuery: 0.6030s ✅
228+ anatScRNAseqQuery: 1.1609s ✅
229229 └─ Found 57 total clusters, returned 10
230- clusterExpression: 0.8858s ✅
230+ clusterExpression: 0.8736s ✅
231231 └─ Found 4588 genes expressed, returned 10
232- expressionCluster: 0.8569s ✅
232+ expressionCluster: 0.9522s ✅
233233 └─ Found 9 clusters expressing gene
234- scRNAdatasetData: 0.7006s ✅
234+ scRNAdatasetData: 0.8949s ✅
235235 └─ Found 13 clusters in dataset, returned 10
236236
237237================================================================================
238238NBLAST SIMILARITY QUERIES
239239================================================================================
240- SimilarMorphologyTo: 0.7336s ✅
240+ SimilarMorphologyTo: 1.0928s ✅
241241 └─ Found 215 NBLAST matches, returned 10
242- SimilarMorphologyToPartOf: 0.6831s ✅
242+ SimilarMorphologyToPartOf: 1.1178s ✅
243243 └─ Found 0 NBLASTexp matches
244- SimilarMorphologyToPartOfexp: 0.6647s ✅
244+ SimilarMorphologyToPartOfexp: 0.9838s ✅
245245 └─ Found 0 reverse NBLASTexp matches
246- SimilarMorphologyToNB: 0.5903s ✅
246+ SimilarMorphologyToNB: 0.9672s ✅
247247 └─ Found 15 NeuronBridge matches, returned 10
248- SimilarMorphologyToNBexp: 0.6272s ✅
248+ SimilarMorphologyToNBexp: 0.8037s ✅
249249 └─ Found 15 NeuronBridge expression matches, returned 10
250250✅ All NBLAST similarity queries completed
251251
252252================================================================================
253253DATASET/TEMPLATE QUERIES
254254================================================================================
255- PaintedDomains: 0.6039s ✅
255+ PaintedDomains: 0.9650s ✅
256256 └─ Found 46 painted domains, returned 10
257- DatasetImages: 0.5862s ✅
257+ DatasetImages: 0.8117s ✅
258258 └─ Found 46 images in dataset, returned 10
259- AllAlignedImages: 2.5235s ✅
259+ AllAlignedImages: 2.8189s ✅
260260 └─ Found 527179 aligned images, returned 10
261- AlignedDatasets: 0.6290s ✅
261+ AlignedDatasets: 0.9608s ✅
262262 └─ Found 86 aligned datasets, returned 10
263- AllDatasets: 1.7250s ✅
263+ AllDatasets: 2.4018s ✅
264264 └─ Found 130 total datasets, returned 20
265265✅ All dataset/template queries completed
266266
267267================================================================================
268268PUBLICATION/TRANSGENE QUERIES
269269================================================================================
270- TermsForPub: 0.6163s ✅
270+ TermsForPub: 0.9493s ✅
271271 └─ Found 2 terms for publication
272- TransgeneExpressionHere: 0.8809s ✅
272+ TransgeneExpressionHere: 1.0757s ✅
273273 └─ Found 2340 transgene expressions, returned 10
274274✅ All publication/transgene queries completed
275275
@@ -282,7 +282,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
282282Performance test for specific term info queries. ... ok
283283
284284----------------------------------------------------------------------
285- Ran 1 test in 2.484s
285+ Ran 1 test in 3.876s
286286
287287OK
288288VFBquery functions patched with caching support
@@ -292,10 +292,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
292292==================================================
293293Performance Test Results:
294294==================================================
295- FBbt_00003748 query took: 1.2527 seconds
296- VFB_00101567 query took: 1.2310 seconds
297- Total time for both queries: 2.4837 seconds
298- Performance Level: 🟡 Good (1.5-3 seconds)
295+ FBbt_00003748 query took: 1.9522 seconds
296+ VFB_00101567 query took: 1.9238 seconds
297+ Total time for both queries: 3.8760 seconds
298+ Performance Level: 🟠 Acceptable (3-6 seconds)
299299==================================================
300300Performance test completed successfully!
301301============================= test session starts ==============================
@@ -598,7 +598,7 @@ src/test/test_vfb_connectivity.py:114
598598 @pytest.mark.integration
599599
600600-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
601- ================= 55 passed, 64 warnings in 1281.34s (0:21:21 ) =================
601+ ================= 55 passed, 64 warnings in 1290.39s (0:21:30 ) =================
602602```
603603
604604## Summary
@@ -614,4 +614,4 @@ Track performance trends across commits:
614614- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
615615
616616---
617- * Last updated: 2026-05-30 13:30:36 UTC*
617+ * Last updated: 2026-05-30 13:58:54 UTC*
0 commit comments