11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 15:43:12 UTC
4- ** Git Commit:** 8f197b7ee59fa0c00fb9d07d409b74a449e19885
3+ ** Test Date:** 2026-03-11 17:21:41 UTC
4+ ** Git Commit:** 71f9a8d671e7d827ed104ffcfa286cc012c570c8
55** Branch:** main
6- ** Workflow Run:** [ 22960954181 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22960954181 )
6+ ** Workflow Run:** [ 22965293963 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22965293963 )
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.924237966537476 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.2554502487182617 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 95.582s
128+ Ran 15 tests in 133.810s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,118 +137,114 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 2.1131s ✅
141- get_term_info (individual): 1.9426s ✅
140+ get_term_info (mushroom body): 2.1970s ✅
141+ get_term_info (individual): 2.5872s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 2.3978s ✅
146+ NeuronsPartHere: 2.4559s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 2.0324s ✅
152- NeuronsPresynapticHere: 1.7390s ✅
153- NeuronsPostsynapticHere: 2.0952s ✅
154- NeuronNeuronConnectivity: 1.8395s ✅
151+ NeuronsSynaptic: 2.2274s ✅
152+ NeuronsPresynapticHere: 2.0692s ✅
153+ NeuronsPostsynapticHere: 1.8107s ✅
154+ NeuronNeuronConnectivity: 1.6657s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.6096s ✅
160- PartsOf: 1.6887s ✅
161- SubclassesOf: 1.7041s ✅
159+ ComponentsOf: 1.7232s ✅
160+ PartsOf: 1.5752s ✅
161+ SubclassesOf: 1.7310s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.5486s ✅
167- TractsNervesInnervatingHere: 1.8185s ✅
168- LineageClonesIn: 1.5422s ✅
166+ NeuronClassesFasciculatingHere: 1.8439s ✅
167+ TractsNervesInnervatingHere: 1.7306s ✅
168+ LineageClonesIn: 1.5758s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 2.6839s ✅
174- ImagesThatDevelopFrom: 1.5846s ✅
175- epFrag: 1.5547s ✅
173+ ImagesNeurons: 2.7480s ✅
174+ ImagesThatDevelopFrom: 1.6533s ✅
175+ epFrag: 1.5697s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.7131s ✅
180+ ListAllAvailableImages: 1.6280s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.5783s ✅
186- NeuronRegionConnectivityQuery: 1.5515s ✅
185+ NeuronNeuronConnectivityQuery: 1.6796s ✅
186+ NeuronRegionConnectivityQuery: 1.5941s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.8138s ✅
191+ SimilarMorphologyTo: 0.8204s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 3.1733s ✅
196+ NeuronInputsTo: 3.1604s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.1303s ✅
201+ ExpressionOverlapsHere: 1.1155s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.7931s ✅
207+ anatScRNAseqQuery: 0.8097s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 16.2335s ✅
209+ clusterExpression: 56.5270s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 16.233508586883545 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 1.1458s ✅
211+ clusterExpression: Skipped (test data may not exist): 56.52697467803955 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 0.8523s ✅
213213 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 1.1205s ✅
214+ scRNAdatasetData: 0.8334s ✅
215215 └─ Found 13 clusters in dataset, returned 10
216216
217217================================================================================
218218NBLAST SIMILARITY QUERIES
219219================================================================================
220- SimilarMorphologyTo: 0.9664s ✅
220+ SimilarMorphologyTo: 1.0267s ✅
221221 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.8157s ✅
222+ SimilarMorphologyToPartOf: 0.7626s ✅
223223 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.7351s ✅
224+ SimilarMorphologyToPartOfexp: 0.8275s ✅
225225 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 0.7163s ✅
226+ SimilarMorphologyToNB: 0.7719s ✅
227227 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 1.0609s ✅
228+ SimilarMorphologyToNBexp: 1.1848s ✅
229229 └─ Found 15 NeuronBridge expression matches, returned 10
230230✅ All NBLAST similarity queries completed
231231
232232================================================================================
233233DATASET/TEMPLATE QUERIES
234234================================================================================
235- PaintedDomains: 0.7764s ✅
235+ PaintedDomains: 0.8075s ✅
236236 └─ Found 46 painted domains, returned 10
237- DatasetImages: 1.0198s ✅
237+ DatasetImages: 0.8571s ✅
238238 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 2.9722s ✅
239+ AllAlignedImages: 3.2555s ✅
240240 └─ Found 546915 aligned images, returned 10
241- AlignedDatasets: 0.7790s ✅
242- └─ Found 72 aligned datasets, returned 10
243- AllDatasets: 6.9242s ✅
244- └─ Found 128 total datasets, returned 20
245241
246242================================================================================
247243PUBLICATION/TRANSGENE QUERIES
248244================================================================================
249- TermsForPub: 0.7792s ✅
245+ TermsForPub: 0.7905s ✅
250246 └─ Found 2 terms for publication
251- TransgeneExpressionHere: 1.5952s ✅
247+ TransgeneExpressionHere: 1.6033s ✅
252248 └─ Found 2350 transgene expressions, returned 10
253249✅ All publication/transgene queries completed
254250
@@ -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.258s
260+ Ran 1 test in 3.225s
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.6897 seconds
275- VFB_00101567 query took: 1.5678 seconds
276- Total time for both queries: 3.2575 seconds
270+ FBbt_00003748 query took: 1.6026 seconds
271+ VFB_00101567 query took: 1.6220 seconds
272+ Total time for both queries: 3.2247 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-11 15:43:12 UTC*
291+ * Last updated: 2026-03-11 17:21:41 UTC*
0 commit comments