11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-12 00:25:51 UTC
4- ** Git Commit:** ba6eb6eeb99a8021eeea6e7393509eeba35de247
3+ ** Test Date:** 2026-03-12 00:30:38 UTC
4+ ** Git Commit:** 8a064ca7e13d9fd00d4b7db0dccc0b7d4c35afb6
55** Branch:** main
6- ** Workflow Run:** [ 22980864590 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22980864590 )
6+ ** Workflow Run:** [ 22980993323 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22980993323 )
77
88## Test Overview
99
@@ -109,23 +109,23 @@ 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)
114- Test dataset and template queries ... ok
114+ Test dataset and template queries ... FAIL
115115test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
116116Test publication and transgene queries ... ok
117117
118118======================================================================
119- FAIL: test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
120- Test NBLAST similarity queries
119+ FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
120+ Test dataset and template queries
121121----------------------------------------------------------------------
122122Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 549 , in test_12_nblast_queries
124- self.assertLess(duration, self.THRESHOLD_MEDIUM, "SimilarMorphologyToPartOf exceeded threshold")
125- AssertionError: 3.2150936126708984 not less than 3.0 : SimilarMorphologyToPartOf 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: 4.292314529418945 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 60.432s
128+ Ran 15 tests in 74.410s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,111 +137,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 1.9343s ✅
141- get_term_info (individual): 1.8675s ✅
140+ get_term_info (mushroom body): 2.0009s ✅
141+ get_term_info (individual): 1.9660s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 2.0860s ✅
146+ NeuronsPartHere: 2.3986s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 1.7747s ✅
152- NeuronsPresynapticHere: 1.5072s ✅
153- NeuronsPostsynapticHere: 1.7568s ✅
154- NeuronNeuronConnectivity: 1.5882s ✅
151+ NeuronsSynaptic: 2.0240s ✅
152+ NeuronsPresynapticHere: 1.7245s ✅
153+ NeuronsPostsynapticHere: 2.0878s ✅
154+ NeuronNeuronConnectivity: 1.6826s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.3110s ✅
160- PartsOf: 1.2343s ✅
161- SubclassesOf: 1.5601s ✅
159+ ComponentsOf: 1.6804s ✅
160+ PartsOf: 1.6767s ✅
161+ SubclassesOf: 1.6773s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.2364s ✅
167- TractsNervesInnervatingHere: 1.8729s ✅
168- LineageClonesIn: 1.2184s ✅
166+ NeuronClassesFasciculatingHere: 1.6855s ✅
167+ TractsNervesInnervatingHere: 1.6784s ✅
168+ LineageClonesIn: 1.6733s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 2.2306s ✅
174- ImagesThatDevelopFrom: 1.2860s ✅
175- epFrag: 1.3494s ✅
173+ ImagesNeurons: 2.8920s ✅
174+ ImagesThatDevelopFrom: 6.7490s ✅
175+ epFrag: 1.6734s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.2317s ✅
180+ ListAllAvailableImages: 1.6909s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.2293s ✅
186- NeuronRegionConnectivityQuery: 1.2493s ✅
185+ NeuronNeuronConnectivityQuery: 1.6867s ✅
186+ NeuronRegionConnectivityQuery: 1.6768s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.6740s ✅
191+ SimilarMorphologyTo: 0.9059s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 3.0794s ✅
196+ NeuronInputsTo: 2.9903s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 0.9423s ✅
201+ ExpressionOverlapsHere: 1.2207s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.6231s ✅
207+ anatScRNAseqQuery: 0.9824s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 0.9900s ✅
209+ clusterExpression: 0.8295s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 0.7123s ✅
211+ expressionCluster: 0.8158s ✅
212212 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 0.5273s ✅
213+ scRNAdatasetData: 0.7130s ✅
214214 └─ Found 13 clusters in dataset, returned 10
215215
216216================================================================================
217217NBLAST SIMILARITY QUERIES
218218================================================================================
219- SimilarMorphologyTo: 1.0494s ✅
219+ SimilarMorphologyTo: 1.0058s ✅
220220 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 3.2151s ✅
221+ SimilarMorphologyToPartOf: 0.6594s ✅
222222 └─ Found 0 NBLASTexp matches
223+ SimilarMorphologyToPartOfexp: 0.9036s ✅
224+ └─ Found 0 reverse NBLASTexp matches
225+ SimilarMorphologyToNB: 0.9252s ✅
226+ └─ Found 15 NeuronBridge matches, returned 10
227+ SimilarMorphologyToNBexp: 0.6575s ✅
228+ └─ Found 15 NeuronBridge expression matches, returned 10
229+ ✅ All NBLAST similarity queries completed
223230
224231================================================================================
225232DATASET/TEMPLATE QUERIES
226233================================================================================
227- PaintedDomains: 0.6242s ✅
234+ PaintedDomains: 0.9625s ✅
228235 └─ Found 46 painted domains, returned 10
229- DatasetImages: 0.6683s ✅
236+ DatasetImages: 0.6667s ✅
230237 └─ Found 46 images in dataset, returned 10
231- AllAlignedImages: 2.7341s ✅
238+ AllAlignedImages: 4.2923s ✅
232239 └─ Found 546915 aligned images, returned 10
233- AlignedDatasets: 0.6368s ✅
234- └─ Found 72 aligned datasets, returned 10
235- AllDatasets: 0.7992s ✅
236- └─ Found 128 total datasets, returned 20
237- ✅ All dataset/template queries completed
238240
239241================================================================================
240242PUBLICATION/TRANSGENE QUERIES
241243================================================================================
242- TermsForPub: 0.6191s ✅
244+ TermsForPub: 0.8423s ✅
243245 └─ Found 2 terms for publication
244- TransgeneExpressionHere: 1.2171s ✅
246+ TransgeneExpressionHere: 1.6237s ✅
245247 └─ Found 2350 transgene expressions, returned 10
246248✅ All publication/transgene queries completed
247249
@@ -254,7 +256,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
254256Performance test for specific term info queries. ... ok
255257
256258----------------------------------------------------------------------
257- Ran 1 test in 2.501s
259+ Ran 1 test in 3.398s
258260
259261OK
260262VFBquery functions patched with caching support
@@ -264,10 +266,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
264266==================================================
265267Performance Test Results:
266268==================================================
267- FBbt_00003748 query took: 1.2464 seconds
268- VFB_00101567 query took: 1.2545 seconds
269- Total time for both queries: 2.5010 seconds
270- Performance Level: 🟡 Good (1.5-3 seconds)
269+ FBbt_00003748 query took: 1.6994 seconds
270+ VFB_00101567 query took: 1.6986 seconds
271+ Total time for both queries: 3.3981 seconds
272+ Performance Level: 🟠 Acceptable (3-6 seconds)
271273==================================================
272274Performance test completed successfully!
273275```
@@ -285,4 +287,4 @@ Track performance trends across commits:
285287- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
286288
287289---
288- * Last updated: 2026-03-12 00:25:51 UTC*
290+ * Last updated: 2026-03-12 00:30:38 UTC*
0 commit comments