11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-14 04:07:11 UTC
4- ** Git Commit:** d1bd73897d50c261bc3406f68d0080e414eaa864
3+ ** Test Date:** 2026-03-15 04:28:45 UTC
4+ ** Git Commit:** cfc232cf28d4caaba0fa1b21f1d80889d736ecfa
55** Branch:** main
6- ** Workflow Run:** [ 23079980438 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23079980438 )
6+ ** Workflow Run:** [ 23103290695 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23103290695 )
77
88## Test Overview
99
@@ -120,12 +120,12 @@ FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPer
120120Test dataset and template queries
121121----------------------------------------------------------------------
122122Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 693 , in test_13_dataset_template_queries
124- self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllDatasets exceeded threshold")
125- AssertionError: 6.250988245010376 not less than 3.0 : AllDatasets exceeded threshold
123+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 660 , in test_13_dataset_template_queries
124+ self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllAlignedImages exceeded threshold")
125+ AssertionError: 3.319669008255005 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 156.160s
128+ Ran 15 tests in 118.723s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,119 +137,115 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 2.5674s ✅
141- get_term_info (individual): 2.1586s ✅
140+ get_term_info (mushroom body): 2.4489s ✅
141+ get_term_info (individual): 2.3593s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 2.3203s ✅
146+ NeuronsPartHere: 2.4876s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 2.6909s ✅
152- NeuronsPresynapticHere: 1.8889s ✅
153- NeuronsPostsynapticHere: 2.1485s ✅
154- NeuronNeuronConnectivity: 2.0062s ✅
151+ NeuronsSynaptic: 2.5801s ✅
152+ NeuronsPresynapticHere: 2.2507s ✅
153+ NeuronsPostsynapticHere: 2.3729s ✅
154+ NeuronNeuronConnectivity: 2.0693s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.8132s ✅
160- PartsOf: 2.3311s ✅
161- SubclassesOf: 1.8453s ✅
159+ ComponentsOf: 1.9431s ✅
160+ PartsOf: 2.0899s ✅
161+ SubclassesOf: 2.1995s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.8243s ✅
167- TractsNervesInnervatingHere: 1.8646s ✅
168- LineageClonesIn: 1.8641s ✅
166+ NeuronClassesFasciculatingHere: 1.9416s ✅
167+ TractsNervesInnervatingHere: 1.9252s ✅
168+ LineageClonesIn: 1.9331s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 3.1140s ✅
174- ImagesThatDevelopFrom: 1.8966s ✅
175- epFrag: 1.8636s ✅
173+ ImagesNeurons: 3.2222s ✅
174+ ImagesThatDevelopFrom: 2.2634s ✅
175+ epFrag: 1.9046s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.8891s ✅
180+ ListAllAvailableImages: 1.9315s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.8205s ✅
186- NeuronRegionConnectivityQuery: 1.8168s ✅
185+ NeuronNeuronConnectivityQuery: 1.9368s ✅
186+ NeuronRegionConnectivityQuery: 1.9561s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.9765s ✅
191+ SimilarMorphologyTo: 1.1286s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 4.0066s ✅
196+ NeuronInputsTo: 3.0735s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.3018s ✅
201+ ExpressionOverlapsHere: 1.3810s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.9802s ✅
207+ anatScRNAseqQuery: 0.9656s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 63.3178s ✅
209+ clusterExpression: 26.7216s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 63.31779980659485 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 1.1266s ✅
211+ clusterExpression: Skipped (test data may not exist): 26.72159218788147 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 0.9196s ✅
213213 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 0.7460s ✅
214+ scRNAdatasetData: 0.8990s ✅
215215 └─ Found 13 clusters in dataset, returned 10
216216
217217================================================================================
218218NBLAST SIMILARITY QUERIES
219219================================================================================
220- SimilarMorphologyTo: 2.9197s ✅
220+ SimilarMorphologyTo: 5.4873s ✅
221221 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.7163s ✅
222+ SimilarMorphologyToPartOf: 0.9593s ✅
223223 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.8161s ✅
224+ SimilarMorphologyToPartOfexp: 0.8635s ✅
225225 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 1.8194s ✅
226+ SimilarMorphologyToNB: 1.6478s ✅
227227 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 0.8376s ✅
228+ SimilarMorphologyToNBexp: 0.9281s ✅
229229 └─ Found 15 NeuronBridge expression matches, returned 10
230230✅ All NBLAST similarity queries completed
231231
232232================================================================================
233233DATASET/TEMPLATE QUERIES
234234================================================================================
235- PaintedDomains: 0.8971s ✅
235+ PaintedDomains: 0.9727s ✅
236236 └─ Found 46 painted domains, returned 10
237- DatasetImages: 0.6864s ✅
237+ DatasetImages: 0.7571s ✅
238238 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 2.9242s ✅
240- └─ Found 546915 aligned images, returned 10
241- AlignedDatasets: 0.9480s ✅
242- └─ Found 72 aligned datasets, returned 10
243- AllDatasets: 6.2510s ✅
244- └─ Found 128 total datasets, returned 20
239+ AllAlignedImages: 3.3197s ✅
240+ └─ Found 465165 aligned images, returned 10
245241
246242================================================================================
247243PUBLICATION/TRANSGENE QUERIES
248244================================================================================
249- TermsForPub: 0.9306s ✅
245+ TermsForPub: 0.9751s ✅
250246 └─ Found 2 terms for publication
251- TransgeneExpressionHere: 2.8540s ✅
252- └─ Found 2350 transgene expressions, returned 10
247+ TransgeneExpressionHere: 4.9667s ✅
248+ └─ Found 2338 transgene expressions, returned 10
253249✅ All publication/transgene queries completed
254250
255251================================================================================
@@ -261,7 +257,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
261257Performance test for specific term info queries. ... ok
262258
263259----------------------------------------------------------------------
264- Ran 1 test in 3.806s
260+ Ran 1 test in 3.945s
265261
266262OK
267263VFBquery functions patched with caching support
@@ -271,9 +267,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
271267==================================================
272268Performance Test Results:
273269==================================================
274- FBbt_00003748 query took: 1.9062 seconds
275- VFB_00101567 query took: 1.8999 seconds
276- Total time for both queries: 3.8061 seconds
270+ FBbt_00003748 query took: 1.9984 seconds
271+ VFB_00101567 query took: 1.9459 seconds
272+ Total time for both queries: 3.9443 seconds
277273Performance Level: 🟠 Acceptable (3-6 seconds)
278274==================================================
279275Performance test completed successfully!
@@ -292,4 +288,4 @@ Track performance trends across commits:
292288- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
293289
294290---
295- * Last updated: 2026-03-14 04:07:11 UTC*
291+ * Last updated: 2026-03-15 04:28:45 UTC*
0 commit comments