11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-13 09:50:07 UTC
4- ** Git Commit:** 57bb9e8929eae576c4d447423f9f778bb6cb8dbc
3+ ** Test Date:** 2026-03-13 09:58:56 UTC
4+ ** Git Commit:** 2aecfff524f9e4fc1ffc3c8dc3177cef629c444f
55** Branch:** main
6- ** Workflow Run:** [ 23045268268 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23045268268 )
6+ ** Workflow Run:** [ 23045602873 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23045602873 )
77
88## Test Overview
99
@@ -111,14 +111,23 @@ Test scRNAseq transcriptomics queries ... ok
111111test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112112Test 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
118+ ======================================================================
119+ FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
120+ Test dataset and template queries
118121----------------------------------------------------------------------
119- Ran 15 tests in 67.336s
122+ Traceback (most recent call last):
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.077903985977173 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121- OK
127+ ----------------------------------------------------------------------
128+ Ran 15 tests in 62.338s
129+
130+ FAILED (failures=1)
122131VFBquery functions patched with caching support
123132VFBquery: SOLR caching enabled by default (3-month TTL)
124133 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -128,118 +137,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137================================================================================
129138TERM INFO QUERIES
130139================================================================================
131- get_term_info (mushroom body): 1.8737s ✅
132- get_term_info (individual): 1.7448s ✅
140+ get_term_info (mushroom body): 1.8674s ✅
141+ get_term_info (individual): 1.8586s ✅
133142
134143================================================================================
135144NEURON PART OVERLAP QUERIES
136145================================================================================
137- NeuronsPartHere: 2.0892s ✅
146+ NeuronsPartHere: 1.8454s ✅
138147
139148================================================================================
140149SYNAPTIC TERMINAL QUERIES
141150================================================================================
142- NeuronsSynaptic: 1.8332s ✅
143- NeuronsPresynapticHere: 1.6726s ✅
144- NeuronsPostsynapticHere: 1.6923s ✅
145- NeuronNeuronConnectivity: 1.4570s ✅
151+ NeuronsSynaptic: 2.4013s ✅
152+ NeuronsPresynapticHere: 1.5653s ✅
153+ NeuronsPostsynapticHere: 1.7616s ✅
154+ NeuronNeuronConnectivity: 1.5353s ✅
146155
147156================================================================================
148157ANATOMICAL HIERARCHY QUERIES
149158================================================================================
150- ComponentsOf: 1.4177s ✅
151- PartsOf: 1.5511s ✅
152- SubclassesOf: 1.4314s ✅
159+ ComponentsOf: 1.4889s ✅
160+ PartsOf: 1.4189s ✅
161+ SubclassesOf: 1.4375s ✅
153162
154163================================================================================
155164TRACT/NERVE AND LINEAGE QUERIES
156165================================================================================
157- NeuronClassesFasciculatingHere: 1.5709s ✅
158- TractsNervesInnervatingHere: 1.4267s ✅
159- LineageClonesIn: 1.4306s ✅
166+ NeuronClassesFasciculatingHere: 1.5170s ✅
167+ TractsNervesInnervatingHere: 1.5380s ✅
168+ LineageClonesIn: 1.4143s ✅
160169
161170================================================================================
162171IMAGE AND DEVELOPMENTAL QUERIES
163172================================================================================
164- ImagesNeurons: 3.0780s ✅
165- ImagesThatDevelopFrom: 1.6932s ✅
166- epFrag: 1.4448s ✅
173+ ImagesNeurons: 2.7001s ✅
174+ ImagesThatDevelopFrom: 1.5283s ✅
175+ epFrag: 1.4377s ✅
167176
168177================================================================================
169178INSTANCE QUERIES
170179================================================================================
171- ListAllAvailableImages: 1.4395s ✅
180+ ListAllAvailableImages: 1.3863s ✅
172181
173182================================================================================
174183CONNECTIVITY QUERIES
175184================================================================================
176- NeuronNeuronConnectivityQuery: 1.4566s ✅
177- NeuronRegionConnectivityQuery: 1.4562s ✅
185+ NeuronNeuronConnectivityQuery: 1.4311s ✅
186+ NeuronRegionConnectivityQuery: 1.4060s ✅
178187
179188================================================================================
180189SIMILARITY QUERIES (Neo4j NBLAST)
181190================================================================================
182- SimilarMorphologyTo: 0.7497s ✅
191+ SimilarMorphologyTo: 1.8868s ✅
183192
184193================================================================================
185194NEURON INPUT QUERIES (Neo4j)
186195================================================================================
187- NeuronInputsTo: 3.0257s ✅
196+ NeuronInputsTo: 3.2756s ✅
188197
189198================================================================================
190199EXPRESSION PATTERN QUERIES (Neo4j)
191200================================================================================
192- ExpressionOverlapsHere: 1.0359s ✅
201+ ExpressionOverlapsHere: 1.1519s ✅
193202 └─ Found 3922 total expression patterns, returned 10
194203
195204================================================================================
196205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206================================================================================
198- anatScRNAseqQuery: 0.7195s ✅
207+ anatScRNAseqQuery: 0.7098s ✅
199208 └─ Found 57 total clusters, returned 10
200- clusterExpression: 0.9834s ✅
209+ clusterExpression: 0.9499s ✅
201210 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 4.1973s ✅
211+ expressionCluster: 0.6923s ✅
203212 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.7010s ✅
213+ scRNAdatasetData: 0.5768s ✅
205214 └─ Found 13 clusters in dataset, returned 10
206215
207216================================================================================
208217NBLAST SIMILARITY QUERIES
209218================================================================================
210- SimilarMorphologyTo: 0.9125s ✅
219+ SimilarMorphologyTo: 0.8956s ✅
211220 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.5661s ✅
221+ SimilarMorphologyToPartOf: 0.6960s ✅
213222 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.5707s ✅
223+ SimilarMorphologyToPartOfexp: 0.6743s ✅
215224 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.5696s ✅
225+ SimilarMorphologyToNB: 0.5776s ✅
217226 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.5719s ✅
227+ SimilarMorphologyToNBexp: 0.5880s ✅
219228 └─ Found 15 NeuronBridge expression matches, returned 10
220229✅ All NBLAST similarity queries completed
221230
222231================================================================================
223232DATASET/TEMPLATE QUERIES
224233================================================================================
225- PaintedDomains: 0.7116s ✅
234+ PaintedDomains: 0.7326s ✅
226235 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.8095s ✅
236+ DatasetImages: 0.6718s ✅
228237 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.4737s ✅
238+ AllAlignedImages: 3.0779s ✅
230239 └─ Found 546915 aligned images, returned 10
231- AlignedDatasets: 0.7199s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 0.7558s ✅
234- └─ Found 128 total datasets, returned 20
235- ✅ All dataset/template queries completed
236240
237241================================================================================
238242PUBLICATION/TRANSGENE QUERIES
239243================================================================================
240- TermsForPub: 1.1366s ✅
244+ TermsForPub: 0.6949s ✅
241245 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 1.3795s ✅
246+ TransgeneExpressionHere: 1.3876s ✅
243247 └─ Found 2350 transgene expressions, returned 10
244248✅ All publication/transgene queries completed
245249
@@ -249,34 +253,25 @@ PERFORMANCE TEST SUMMARY
249253All performance tests completed!
250254================================================================================
251255test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252- Performance test for specific term info queries. ... Solr cache write failed; disabling cache for 60s: HTTPSConnectionPool(host='solr.virtualflybrain.org', port=443): Read timed out. (read timeout=10)
253- FAIL
254-
255- ======================================================================
256- FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
257- Performance test for specific term info queries.
258- ----------------------------------------------------------------------
259- Traceback (most recent call last):
260- File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590, in test_term_info_performance
261- self.assertLess(duration_1, max_single_query_time,
262- AssertionError: 28.392619371414185 not less than 10.0 : FBbt_00003748 query took 28.3926s, exceeding 10.0s threshold
256+ Performance test for specific term info queries. ... ok
263257
264258----------------------------------------------------------------------
265- Ran 1 test in 48.550s
259+ Ran 1 test in 2.902s
266260
267- FAILED (failures=1)
261+ OK
268262VFBquery functions patched with caching support
269263VFBquery: SOLR caching enabled by default (3-month TTL)
270264 Disable with: export VFBQUERY_CACHE_ENABLED=false
271265
272266==================================================
273267Performance Test Results:
274268==================================================
275- FBbt_00003748 query took: 28.3926 seconds
276- VFB_00101567 query took: 20.1561 seconds
277- Total time for both queries: 48.5487 seconds
278- Performance Level: 🔴 Slow (> 6 seconds)
269+ FBbt_00003748 query took: 1.4423 seconds
270+ VFB_00101567 query took: 1.4592 seconds
271+ Total time for both queries: 2.9014 seconds
272+ Performance Level: 🟡 Good (1.5-3 seconds)
279273==================================================
274+ Performance test completed successfully!
280275```
281276
282277## Summary
@@ -292,4 +287,4 @@ Track performance trends across commits:
292287- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
293288
294289---
295- * Last updated: 2026-03-13 09:50:07 UTC*
290+ * Last updated: 2026-03-13 09:58:56 UTC*
0 commit comments