11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 18:08:17 UTC
4- ** Git Commit:** 2c7485fc8a326f9ed32ce8ddb9edff8847b0c7a1
3+ ** Test Date:** 2026-03-11 22:04:41 UTC
4+ ** Git Commit:** 0a477b31a252e869b456cd13aca2274893bf5d03
55** Branch:** main
6- ** Workflow Run:** [ 22967300519 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22967300519 )
6+ ** Workflow Run:** [ 22976586933 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22976586933 )
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 81.992s
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.6530964374542236 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121- OK
127+ ----------------------------------------------------------------------
128+ Ran 15 tests in 61.875s
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): 2.6554s ✅
132- get_term_info (individual): 2.6722s ✅
140+ get_term_info (mushroom body): 1.8491s ✅
141+ get_term_info (individual): 1.7579s ✅
133142
134143================================================================================
135144NEURON PART OVERLAP QUERIES
136145================================================================================
137- NeuronsPartHere: 2.5457s ✅
146+ NeuronsPartHere: 1.9808s ✅
138147
139148================================================================================
140149SYNAPTIC TERMINAL QUERIES
141150================================================================================
142- NeuronsSynaptic: 2.6996s ✅
143- NeuronsPresynapticHere: 2.0266s ✅
144- NeuronsPostsynapticHere: 2.0950s ✅
145- NeuronNeuronConnectivity: 2.3511s ✅
151+ NeuronsSynaptic: 1.8591s ✅
152+ NeuronsPresynapticHere: 1.5489s ✅
153+ NeuronsPostsynapticHere: 1.6216s ✅
154+ NeuronNeuronConnectivity: 1.5193s ✅
146155
147156================================================================================
148157ANATOMICAL HIERARCHY QUERIES
149158================================================================================
150- ComponentsOf: 2.1075s ✅
151- PartsOf: 1.7673s ✅
152- SubclassesOf: 1.9925s ✅
159+ ComponentsOf: 1.6287s ✅
160+ PartsOf: 1.4136s ✅
161+ SubclassesOf: 1.3899s ✅
153162
154163================================================================================
155164TRACT/NERVE AND LINEAGE QUERIES
156165================================================================================
157- NeuronClassesFasciculatingHere: 1.9459s ✅
158- TractsNervesInnervatingHere: 2.1028s ✅
159- LineageClonesIn: 2.1371s ✅
166+ NeuronClassesFasciculatingHere: 1.3907s ✅
167+ TractsNervesInnervatingHere: 1.6185s ✅
168+ LineageClonesIn: 1.3966s ✅
160169
161170================================================================================
162171IMAGE AND DEVELOPMENTAL QUERIES
163172================================================================================
164- ImagesNeurons: 3.2670s ✅
165- ImagesThatDevelopFrom: 2.0830s ✅
166- epFrag: 1.9677s ✅
173+ ImagesNeurons: 2.4414s ✅
174+ ImagesThatDevelopFrom: 1.4466s ✅
175+ epFrag: 1.3843s ✅
167176
168177================================================================================
169178INSTANCE QUERIES
170179================================================================================
171- ListAllAvailableImages: 1.9402s ✅
180+ ListAllAvailableImages: 1.3667s ✅
172181
173182================================================================================
174183CONNECTIVITY QUERIES
175184================================================================================
176- NeuronNeuronConnectivityQuery: 1.9520s ✅
177- NeuronRegionConnectivityQuery: 1.9989s ✅
185+ NeuronNeuronConnectivityQuery: 1.4262s ✅
186+ NeuronRegionConnectivityQuery: 1.4231s ✅
178187
179188================================================================================
180189SIMILARITY QUERIES (Neo4j NBLAST)
181190================================================================================
182- SimilarMorphologyTo: 1.1828s ✅
191+ SimilarMorphologyTo: 0.7488s ✅
183192
184193================================================================================
185194NEURON INPUT QUERIES (Neo4j)
186195================================================================================
187- NeuronInputsTo: 3.0798s ✅
196+ NeuronInputsTo: 4.1205s ✅
188197
189198================================================================================
190199EXPRESSION PATTERN QUERIES (Neo4j)
191200================================================================================
192- ExpressionOverlapsHere: 1.3565s ✅
201+ ExpressionOverlapsHere: 1.0303s ✅
193202 └─ Found 3922 total expression patterns, returned 10
194203
195204================================================================================
196205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206================================================================================
198- anatScRNAseqQuery: 1.0028s ✅
207+ anatScRNAseqQuery: 0.7013s ✅
199208 └─ Found 57 total clusters, returned 10
200- clusterExpression: 1.0806s ✅
209+ clusterExpression: 0.9562s ✅
201210 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 1.0719s ✅
211+ expressionCluster: 0.5836s ✅
203212 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.7769s ✅
213+ scRNAdatasetData: 0.6751s ✅
205214 └─ Found 13 clusters in dataset, returned 10
206215
207216================================================================================
208217NBLAST SIMILARITY QUERIES
209218================================================================================
210- SimilarMorphologyTo: 1.1587s ✅
219+ SimilarMorphologyTo: 0.9265s ✅
211220 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.7578s ✅
221+ SimilarMorphologyToPartOf: 0.7553s ✅
213222 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.9378s ✅
223+ SimilarMorphologyToPartOfexp: 0.5285s ✅
215224 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.7501s ✅
225+ SimilarMorphologyToNB: 0.6437s ✅
217226 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.8878s ✅
227+ SimilarMorphologyToNBexp: 0.5551s ✅
219228 └─ Found 15 NeuronBridge expression matches, returned 10
220229✅ All NBLAST similarity queries completed
221230
222231================================================================================
223232DATASET/TEMPLATE QUERIES
224233================================================================================
225- PaintedDomains: 0.9688s ✅
234+ PaintedDomains: 0.7087s ✅
226235 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.7913s ✅
236+ DatasetImages: 0.5790s ✅
228237 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.7315s ✅
238+ AllAlignedImages: 3.6531s ✅
230239 └─ Found 546915 aligned images, returned 10
231- AlignedDatasets: 1.0018s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 0.9599s ✅
234- └─ Found 128 total datasets, returned 20
235- ✅ All dataset/template queries completed
236240
237241================================================================================
238242PUBLICATION/TRANSGENE QUERIES
239243================================================================================
240- TermsForPub: 0.9679s ✅
244+ TermsForPub: 0.7077s ✅
241245 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 1.8077s ✅
246+ TransgeneExpressionHere: 1.3131s ✅
243247 └─ Found 2350 transgene expressions, returned 10
244248✅ All publication/transgene queries completed
245249
@@ -252,7 +256,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252256Performance test for specific term info queries. ... ok
253257
254258----------------------------------------------------------------------
255- Ran 1 test in 4.047s
259+ Ran 1 test in 2.811s
256260
257261OK
258262VFBquery functions patched with caching support
@@ -262,10 +266,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262266==================================================
263267Performance Test Results:
264268==================================================
265- FBbt_00003748 query took: 2.0446 seconds
266- VFB_00101567 query took: 2.0015 seconds
267- Total time for both queries: 4.0461 seconds
268- Performance Level: 🟠 Acceptable (3-6 seconds)
269+ FBbt_00003748 query took: 1.3958 seconds
270+ VFB_00101567 query took: 1.4153 seconds
271+ Total time for both queries: 2.8111 seconds
272+ Performance Level: 🟡 Good (1.5-3 seconds)
269273==================================================
270274Performance test completed successfully!
271275```
@@ -283,4 +287,4 @@ Track performance trends across commits:
283287- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
284288
285289---
286- * Last updated: 2026-03-11 18:08:17 UTC*
290+ * Last updated: 2026-03-11 22:04:41 UTC*
0 commit comments