11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 04:04:49 UTC
4- ** Git Commit:** 22a7e03a59915b6aa06deb9378a8a95155045a74
3+ ** Test Date:** 2026-03-11 15:43:12 UTC
4+ ** Git Commit:** 8f197b7ee59fa0c00fb9d07d409b74a449e19885
55** Branch:** main
6- ** Workflow Run:** [ 22936107234 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22936107234 )
6+ ** Workflow Run:** [ 22960954181 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22960954181 )
77
88## Test Overview
99
@@ -109,34 +109,25 @@ Test expression pattern queries ... ok
109109test_11_transcriptomics_queries (src.test.test_query_performance.QueryPerformanceTest)
110110Test scRNAseq transcriptomics queries ... ok
111111test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112- Test NBLAST similarity queries ... FAIL
112+ Test NBLAST similarity queries ... ok
113113test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
114114Test dataset and template queries ... FAIL
115115test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
116116Test publication and transgene queries ... ok
117117
118- ======================================================================
119- FAIL: test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
120- Test NBLAST similarity queries
121- ----------------------------------------------------------------------
122- Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 577, in test_12_nblast_queries
124- self.assertLess(duration, self.THRESHOLD_MEDIUM, "SimilarMorphologyToNB exceeded threshold")
125- AssertionError: 12.909206867218018 not less than 3.0 : SimilarMorphologyToNB exceeded threshold
126-
127118======================================================================
128119FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
129120Test dataset and template queries
130121----------------------------------------------------------------------
131122Traceback (most recent call last):
132- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 660 , in test_13_dataset_template_queries
133- self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllAlignedImages exceeded threshold")
134- AssertionError: 3.041961431503296 not less than 3.0 : AllAlignedImages exceeded threshold
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
135126
136127----------------------------------------------------------------------
137- Ran 15 tests in 87.928s
128+ Ran 15 tests in 95.582s
138129
139- FAILED (failures=2 )
130+ FAILED (failures=1 )
140131VFBquery functions patched with caching support
141132VFBquery: SOLR caching enabled by default (3-month TTL)
142133 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -146,110 +137,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
146137================================================================================
147138TERM INFO QUERIES
148139================================================================================
149- get_term_info (mushroom body): 2.0068s ✅
150- get_term_info (individual): 1.9667s ✅
140+ get_term_info (mushroom body): 2.1131s ✅
141+ get_term_info (individual): 1.9426s ✅
151142
152143================================================================================
153144NEURON PART OVERLAP QUERIES
154145================================================================================
155- NeuronsPartHere: 1.8664s ✅
146+ NeuronsPartHere: 2.3978s ✅
156147
157148================================================================================
158149SYNAPTIC TERMINAL QUERIES
159150================================================================================
160- NeuronsSynaptic: 1.8231s ✅
161- NeuronsPresynapticHere: 1.5513s ✅
162- NeuronsPostsynapticHere: 1.7579s ✅
163- NeuronNeuronConnectivity: 1.5517s ✅
151+ NeuronsSynaptic: 2.0324s ✅
152+ NeuronsPresynapticHere: 1.7390s ✅
153+ NeuronsPostsynapticHere: 2.0952s ✅
154+ NeuronNeuronConnectivity: 1.8395s ✅
164155
165156================================================================================
166157ANATOMICAL HIERARCHY QUERIES
167158================================================================================
168- ComponentsOf: 1.4170s ✅
169- PartsOf: 1.4063s ✅
170- SubclassesOf: 1.4374s ✅
159+ ComponentsOf: 1.6096s ✅
160+ PartsOf: 1.6887s ✅
161+ SubclassesOf: 1.7041s ✅
171162
172163================================================================================
173164TRACT/NERVE AND LINEAGE QUERIES
174165================================================================================
175- NeuronClassesFasciculatingHere: 1.4081s ✅
176- TractsNervesInnervatingHere: 1.4612s ✅
177- LineageClonesIn: 1.4937s ✅
166+ NeuronClassesFasciculatingHere: 1.5486s ✅
167+ TractsNervesInnervatingHere: 1.8185s ✅
168+ LineageClonesIn: 1.5422s ✅
178169
179170================================================================================
180171IMAGE AND DEVELOPMENTAL QUERIES
181172================================================================================
182- ImagesNeurons: 2.5152s ✅
183- ImagesThatDevelopFrom: 1.4723s ✅
184- epFrag: 1.5170s ✅
173+ ImagesNeurons: 2.6839s ✅
174+ ImagesThatDevelopFrom: 1.5846s ✅
175+ epFrag: 1.5547s ✅
185176
186177================================================================================
187178INSTANCE QUERIES
188179================================================================================
189- ListAllAvailableImages: 1.3974s ✅
180+ ListAllAvailableImages: 1.7131s ✅
190181
191182================================================================================
192183CONNECTIVITY QUERIES
193184================================================================================
194- NeuronNeuronConnectivityQuery: 1.4306s ✅
195- NeuronRegionConnectivityQuery: 1.4367s ✅
185+ NeuronNeuronConnectivityQuery: 1.5783s ✅
186+ NeuronRegionConnectivityQuery: 1.5515s ✅
196187
197188================================================================================
198189SIMILARITY QUERIES (Neo4j NBLAST)
199190================================================================================
200- SimilarMorphologyTo: 0.8192s ✅
191+ SimilarMorphologyTo: 0.8138s ✅
201192
202193================================================================================
203194NEURON INPUT QUERIES (Neo4j)
204195================================================================================
205- NeuronInputsTo: 6.7987s ✅
196+ NeuronInputsTo: 3.1733s ✅
206197
207198================================================================================
208199EXPRESSION PATTERN QUERIES (Neo4j)
209200================================================================================
210- ExpressionOverlapsHere: 1.0902s ✅
201+ ExpressionOverlapsHere: 1.1303s ✅
211202 └─ Found 3922 total expression patterns, returned 10
212203
213204================================================================================
214205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
215206================================================================================
216- anatScRNAseqQuery: 0.7593s ✅
207+ anatScRNAseqQuery: 0.7931s ✅
217208 └─ Found 57 total clusters, returned 10
218- clusterExpression: 7.4073s ✅
209+ clusterExpression: 16.2335s ✅
219210 └─ Found 4588 genes expressed, returned 10
220- expressionCluster: 0.8347s ✅
211+ clusterExpression: Skipped (test data may not exist): 16.233508586883545 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 1.1458s ✅
221213 └─ Found 9 clusters expressing gene
222- scRNAdatasetData: 0.6871s ✅
214+ scRNAdatasetData: 1.1205s ✅
223215 └─ Found 13 clusters in dataset, returned 10
224216
225217================================================================================
226218NBLAST SIMILARITY QUERIES
227219================================================================================
228- SimilarMorphologyTo: 0.9407s ✅
220+ SimilarMorphologyTo: 0.9664s ✅
229221 └─ Found 215 NBLAST matches, returned 10
230- SimilarMorphologyToPartOf: 0.5862s ✅
222+ SimilarMorphologyToPartOf: 0.8157s ✅
231223 └─ Found 0 NBLASTexp matches
232- SimilarMorphologyToPartOfexp: 0.6600s ✅
224+ SimilarMorphologyToPartOfexp: 0.7351s ✅
233225 └─ Found 0 reverse NBLASTexp matches
234- SimilarMorphologyToNB: 12.9092s ✅
226+ SimilarMorphologyToNB: 0.7163s ✅
235227 └─ Found 15 NeuronBridge matches, returned 10
228+ SimilarMorphologyToNBexp: 1.0609s ✅
229+ └─ Found 15 NeuronBridge expression matches, returned 10
230+ ✅ All NBLAST similarity queries completed
236231
237232================================================================================
238233DATASET/TEMPLATE QUERIES
239234================================================================================
240- PaintedDomains: 0.7653s ✅
235+ PaintedDomains: 0.7764s ✅
241236 └─ Found 46 painted domains, returned 10
242- DatasetImages: 0.5908s ✅
237+ DatasetImages: 1.0198s ✅
243238 └─ Found 46 images in dataset, returned 10
244- AllAlignedImages: 3.0420s ✅
239+ AllAlignedImages: 2.9722s ✅
245240 └─ 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
246245
247246================================================================================
248247PUBLICATION/TRANSGENE QUERIES
249248================================================================================
250- TermsForPub: 0.7371s ✅
249+ TermsForPub: 0.7792s ✅
251250 └─ Found 2 terms for publication
252- TransgeneExpressionHere: 3.5742s ✅
251+ TransgeneExpressionHere: 1.5952s ✅
253252 └─ Found 2350 transgene expressions, returned 10
254253✅ All publication/transgene queries completed
255254
@@ -262,7 +261,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
262261Performance test for specific term info queries. ... ok
263262
264263----------------------------------------------------------------------
265- Ran 1 test in 2.853s
264+ Ran 1 test in 3.258s
266265
267266OK
268267VFBquery functions patched with caching support
@@ -272,10 +271,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
272271==================================================
273272Performance Test Results:
274273==================================================
275- FBbt_00003748 query took: 1.4169 seconds
276- VFB_00101567 query took: 1.4354 seconds
277- Total time for both queries: 2.8523 seconds
278- Performance Level: 🟡 Good (1.5-3 seconds)
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
277+ Performance Level: 🟠 Acceptable (3-6 seconds)
279278==================================================
280279Performance test completed successfully!
281280```
@@ -293,4 +292,4 @@ Track performance trends across commits:
293292- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
294293
295294---
296- * Last updated: 2026-03-11 04:04:49 UTC*
295+ * Last updated: 2026-03-11 15:43:12 UTC*
0 commit comments