11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-04-02 04:24:56 UTC
4- ** Git Commit:** 61aa5246a68235d553092532946a91899ea9da08
3+ ** Test Date:** 2026-04-03 04:25:44 UTC
4+ ** Git Commit:** 9efd0255d47f3be41eeaea807d06a1c3737154ef
55** Branch:** main
6- ** Workflow Run:** [ 23883678745 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23883678745 )
6+ ** Workflow Run:** [ 23933675248 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23933675248 )
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 94.773s
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: 7.344918489456177 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121- OK
127+ ----------------------------------------------------------------------
128+ Ran 15 tests in 102.413s
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,114 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137================================================================================
129138TERM INFO QUERIES
130139================================================================================
131- get_term_info (mushroom body): 2.9996s ✅
132- get_term_info (individual): 2.6712s ✅
140+ get_term_info (mushroom body): 2.7069s ✅
141+ get_term_info (individual): 1.5735s ✅
133142
134143================================================================================
135144NEURON PART OVERLAP QUERIES
136145================================================================================
137- NeuronsPartHere: 2.8930s ✅
146+ NeuronsPartHere: 1.9524s ✅
138147
139148================================================================================
140149SYNAPTIC TERMINAL QUERIES
141150================================================================================
142- NeuronsSynaptic: 2.5496s ✅
143- NeuronsPresynapticHere: 2.3869s ✅
144- NeuronsPostsynapticHere: 2.4473s ✅
145- NeuronNeuronConnectivity: 2.4050s ✅
151+ NeuronsSynaptic: 2.0559s ✅
152+ NeuronsPresynapticHere: 1.5464s ✅
153+ NeuronsPostsynapticHere: 2.1134s ✅
154+ NeuronNeuronConnectivity: 1.6915s ✅
146155
147156================================================================================
148157ANATOMICAL HIERARCHY QUERIES
149158================================================================================
150- ComponentsOf: 2.0303s ✅
151- PartsOf: 2.2720s ✅
152- SubclassesOf: 2.2630s ✅
159+ ComponentsOf: 1.4132s ✅
160+ PartsOf: 1.3266s ✅
161+ SubclassesOf: 1.7995s ✅
153162
154163================================================================================
155164TRACT/NERVE AND LINEAGE QUERIES
156165================================================================================
157- NeuronClassesFasciculatingHere: 2.1488s ✅
158- TractsNervesInnervatingHere: 2.0073s ✅
159- LineageClonesIn: 2.1418s ✅
166+ NeuronClassesFasciculatingHere: 1.8721s ✅
167+ TractsNervesInnervatingHere: 1.3115s ✅
168+ LineageClonesIn: 1.2788s ✅
160169
161170================================================================================
162171IMAGE AND DEVELOPMENTAL QUERIES
163172================================================================================
164- ImagesNeurons: 3.6881s ✅
165- ImagesThatDevelopFrom: 2.1547s ✅
166- epFrag: 2.3652s ✅
173+ ImagesNeurons: 2.2705s ✅
174+ ImagesThatDevelopFrom: 1.3577s ✅
175+ epFrag: 1.2966s ✅
167176
168177================================================================================
169178INSTANCE QUERIES
170179================================================================================
171- ListAllAvailableImages: 2.0623s ✅
180+ ListAllAvailableImages: 1.2923s ✅
172181
173182================================================================================
174183CONNECTIVITY QUERIES
175184================================================================================
176- NeuronNeuronConnectivityQuery: 2.0926s ✅
177- NeuronRegionConnectivityQuery: 2.1416s ✅
185+ NeuronNeuronConnectivityQuery: 1.3184s ✅
186+ NeuronRegionConnectivityQuery: 1.6823s ✅
178187
179188================================================================================
180189SIMILARITY QUERIES (Neo4j NBLAST)
181190================================================================================
182- SimilarMorphologyTo: 1.1923s ✅
191+ SimilarMorphologyTo: 1.2470s ✅
183192
184193================================================================================
185194NEURON INPUT QUERIES (Neo4j)
186195================================================================================
187- NeuronInputsTo: 3.5432s ✅
196+ NeuronInputsTo: 2.6948s ✅
188197
189198================================================================================
190199EXPRESSION PATTERN QUERIES (Neo4j)
191200================================================================================
192- ExpressionOverlapsHere: 1.4338s ✅
201+ ExpressionOverlapsHere: 0.9843s ✅
193202 └─ Found 3922 total expression patterns, returned 10
194203
195204================================================================================
196205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206================================================================================
198- anatScRNAseqQuery: 1.0489s ✅
207+ anatScRNAseqQuery: 0.6444s ✅
199208 └─ Found 57 total clusters, returned 10
200- clusterExpression: 2.0976s ✅
209+ clusterExpression: 26.5485s ✅
201210 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 1.1284s ✅
211+ clusterExpression: Skipped (test data may not exist): 26.548524856567383 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 0.7016s ✅
203213 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 1.1223s ✅
214+ scRNAdatasetData: 0.5767s ✅
205215 └─ Found 13 clusters in dataset, returned 10
206216
207217================================================================================
208218NBLAST SIMILARITY QUERIES
209219================================================================================
210- SimilarMorphologyTo: 1.2264s ✅
220+ SimilarMorphologyTo: 0.9788s ✅
211221 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 1.0721s ✅
222+ SimilarMorphologyToPartOf: 1.1983s ✅
213223 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.8496s ✅
224+ SimilarMorphologyToPartOfexp: 0.7849s ✅
215225 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 1.0386s ✅
226+ SimilarMorphologyToNB: 0.7177s ✅
217227 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.8817s ✅
228+ SimilarMorphologyToNBexp: 0.7245s ✅
219229 └─ Found 15 NeuronBridge expression matches, returned 10
220230✅ All NBLAST similarity queries completed
221231
222232================================================================================
223233DATASET/TEMPLATE QUERIES
224234================================================================================
225- PaintedDomains: 1.0686s ✅
235+ PaintedDomains: 0.6367s ✅
226236 └─ Found 46 painted domains, returned 10
227- DatasetImages: 1.0163s ✅
237+ DatasetImages: 0.8108s ✅
228238 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.8194s ✅
239+ AllAlignedImages: 7.3449s ✅
230240 └─ Found 527179 aligned images, returned 10
231- AlignedDatasets: 1.1054s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 1.3139s ✅
234- └─ Found 130 total datasets, returned 20
235- ✅ All dataset/template queries completed
236241
237242================================================================================
238243PUBLICATION/TRANSGENE QUERIES
239244================================================================================
240- TermsForPub: 1.0364s ✅
245+ TermsForPub: 0.6251s ✅
241246 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 2.3738s ✅
247+ TransgeneExpressionHere: 2.3200s ✅
243248 └─ Found 2340 transgene expressions, returned 10
244249✅ All publication/transgene queries completed
245250
@@ -252,7 +257,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252257Performance test for specific term info queries. ... ok
253258
254259----------------------------------------------------------------------
255- Ran 1 test in 4.125s
260+ Ran 1 test in 2.580s
256261
257262OK
258263VFBquery functions patched with caching support
@@ -262,10 +267,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262267==================================================
263268Performance Test Results:
264269==================================================
265- FBbt_00003748 query took: 2.0685 seconds
266- VFB_00101567 query took: 2.0565 seconds
267- Total time for both queries: 4.1251 seconds
268- Performance Level: 🟠 Acceptable (3-6 seconds)
270+ FBbt_00003748 query took: 1.2850 seconds
271+ VFB_00101567 query took: 1.2947 seconds
272+ Total time for both queries: 2.5797 seconds
273+ Performance Level: 🟡 Good (1.5-3 seconds)
269274==================================================
270275Performance test completed successfully!
271276```
@@ -283,4 +288,4 @@ Track performance trends across commits:
283288- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
284289
285290---
286- * Last updated: 2026-04-02 04:24:56 UTC*
291+ * Last updated: 2026-04-03 04:25:44 UTC*
0 commit comments