11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-04-03 04:25:44 UTC
4- ** Git Commit:** 9efd0255d47f3be41eeaea807d06a1c3737154ef
3+ ** Test Date:** 2026-04-04 04:11:25 UTC
4+ ** Git Commit:** f7354ddab2a93d517097c2e213f2dd3be1a450e8
55** Branch:** main
6- ** Workflow Run:** [ 23933675248 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23933675248 )
6+ ** Workflow Run:** [ 23971001371 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23971001371 )
77
88## Test Overview
99
@@ -111,23 +111,14 @@ 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 ... FAIL
114+ Test dataset and template queries ... ok
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
121118----------------------------------------------------------------------
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
119+ Ran 15 tests in 84.786s
126120
127- ----------------------------------------------------------------------
128- Ran 15 tests in 102.413s
129-
130- FAILED (failures=1)
121+ OK
131122VFBquery functions patched with caching support
132123VFBquery: SOLR caching enabled by default (3-month TTL)
133124 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -137,114 +128,119 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137128================================================================================
138129TERM INFO QUERIES
139130================================================================================
140- get_term_info (mushroom body): 2.7069s ✅
141- get_term_info (individual): 1.5735s ✅
131+ get_term_info (mushroom body): 2.1493s ✅
132+ get_term_info (individual): 1.5287s ✅
142133
143134================================================================================
144135NEURON PART OVERLAP QUERIES
145136================================================================================
146- NeuronsPartHere: 1.9524s ✅
137+ NeuronsPartHere: 2.1176s ✅
147138
148139================================================================================
149140SYNAPTIC TERMINAL QUERIES
150141================================================================================
151- NeuronsSynaptic: 2.0559s ✅
152- NeuronsPresynapticHere: 1.5464s ✅
153- NeuronsPostsynapticHere: 2.1134s ✅
154- NeuronNeuronConnectivity: 1.6915s ✅
142+ NeuronsSynaptic: 2.1112s ✅
143+ NeuronsPresynapticHere: 1.5644s ✅
144+ NeuronsPostsynapticHere: 1.6974s ✅
145+ NeuronNeuronConnectivity: 1.4091s ✅
155146
156147================================================================================
157148ANATOMICAL HIERARCHY QUERIES
158149================================================================================
159- ComponentsOf: 1.4132s ✅
160- PartsOf: 1.3266s ✅
161- SubclassesOf: 1.7995s ✅
150+ ComponentsOf: 1.4969s ✅
151+ PartsOf: 1.7920s ✅
152+ SubclassesOf: 1.2494s ✅
162153
163154================================================================================
164155TRACT/NERVE AND LINEAGE QUERIES
165156================================================================================
166- NeuronClassesFasciculatingHere: 1.8721s ✅
167- TractsNervesInnervatingHere: 1.3115s ✅
168- LineageClonesIn: 1.2788s ✅
157+ NeuronClassesFasciculatingHere: 1.2895s ✅
158+ TractsNervesInnervatingHere: 2.0112s ✅
159+ LineageClonesIn: 1.4183s ✅
169160
170161================================================================================
171162IMAGE AND DEVELOPMENTAL QUERIES
172163================================================================================
173- ImagesNeurons: 2.2705s ✅
174- ImagesThatDevelopFrom: 1.3577s ✅
175- epFrag: 1.2966s ✅
164+ ImagesNeurons: 2.4706s ✅
165+ ImagesThatDevelopFrom: 1.4897s ✅
166+ epFrag: 1.1943s ✅
176167
177168================================================================================
178169INSTANCE QUERIES
179170================================================================================
180- ListAllAvailableImages: 1.2923s ✅
171+ ListAllAvailableImages: 1.2512s ✅
181172
182173================================================================================
183174CONNECTIVITY QUERIES
184175================================================================================
185- NeuronNeuronConnectivityQuery: 1.3184s ✅
186- NeuronRegionConnectivityQuery: 1.6823s ✅
176+ NeuronNeuronConnectivityQuery: 1.2700s ✅
177+ NeuronRegionConnectivityQuery: 1.1641s ✅
187178
188179================================================================================
189180SIMILARITY QUERIES (Neo4j NBLAST)
190181================================================================================
191- SimilarMorphologyTo: 1.2470s ✅
182+ SimilarMorphologyTo: 1.0230s ✅
192183
193184================================================================================
194185NEURON INPUT QUERIES (Neo4j)
195186================================================================================
196- NeuronInputsTo: 2.6948s ✅
187+ NeuronInputsTo: 5.4618s ✅
197188
198189================================================================================
199190EXPRESSION PATTERN QUERIES (Neo4j)
200191================================================================================
201- ExpressionOverlapsHere: 0.9843s ✅
192+ ExpressionOverlapsHere: 0.8812s ✅
202193 └─ Found 3922 total expression patterns, returned 10
203194
204195================================================================================
205196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197================================================================================
207- anatScRNAseqQuery: 0.6444s ✅
198+ anatScRNAseqQuery: 0.6022s ✅
208199 └─ Found 57 total clusters, returned 10
209- clusterExpression: 26.5485s ✅
200+ clusterExpression: 17.9490s ✅
210201 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 26.548524856567383 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 0.7016s ✅
202+ clusterExpression: Skipped (test data may not exist): 17.948986530303955 not less than 15.0 : clusterExpression exceeded threshold
203+ expressionCluster: 0.6774s ✅
213204 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 0.5767s ✅
205+ scRNAdatasetData: 0.8329s ✅
215206 └─ Found 13 clusters in dataset, returned 10
216207
217208================================================================================
218209NBLAST SIMILARITY QUERIES
219210================================================================================
220- SimilarMorphologyTo: 0.9788s ✅
211+ SimilarMorphologyTo: 3.6405s ✅
221212 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 1.1983s ✅
213+ SimilarMorphologyToPartOf: 0.5470s ✅
223214 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.7849s ✅
215+ SimilarMorphologyToPartOfexp: 0.5019s ✅
225216 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 0.7177s ✅
217+ SimilarMorphologyToNB: 0.7508s ✅
227218 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 0.7245s ✅
219+ SimilarMorphologyToNBexp: 0.4998s ✅
229220 └─ Found 15 NeuronBridge expression matches, returned 10
230221✅ All NBLAST similarity queries completed
231222
232223================================================================================
233224DATASET/TEMPLATE QUERIES
234225================================================================================
235- PaintedDomains: 0.6367s ✅
226+ PaintedDomains: 0.5965s ✅
236227 └─ Found 46 painted domains, returned 10
237- DatasetImages: 0.8108s ✅
228+ DatasetImages: 0.6020s ✅
238229 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 7.3449s ✅
230+ AllAlignedImages: 2.3812s ✅
240231 └─ Found 527179 aligned images, returned 10
232+ AlignedDatasets: 0.5995s ✅
233+ └─ Found 72 aligned datasets, returned 10
234+ AllDatasets: 0.9769s ✅
235+ └─ Found 130 total datasets, returned 20
236+ ✅ All dataset/template queries completed
241237
242238================================================================================
243239PUBLICATION/TRANSGENE QUERIES
244240================================================================================
245- TermsForPub: 0.6251s ✅
241+ TermsForPub: 0.6033s ✅
246242 └─ Found 2 terms for publication
247- TransgeneExpressionHere: 2.3200s ✅
243+ TransgeneExpressionHere: 1.7981s ✅
248244 └─ Found 2340 transgene expressions, returned 10
249245✅ All publication/transgene queries completed
250246
@@ -257,7 +253,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
257253Performance test for specific term info queries. ... ok
258254
259255----------------------------------------------------------------------
260- Ran 1 test in 2.580s
256+ Ran 1 test in 2.409s
261257
262258OK
263259VFBquery functions patched with caching support
@@ -267,9 +263,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
267263==================================================
268264Performance Test Results:
269265==================================================
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
266+ FBbt_00003748 query took: 1.2017 seconds
267+ VFB_00101567 query took: 1.2068 seconds
268+ Total time for both queries: 2.4085 seconds
273269Performance Level: 🟡 Good (1.5-3 seconds)
274270==================================================
275271Performance test completed successfully!
@@ -288,4 +284,4 @@ Track performance trends across commits:
288284- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
289285
290286---
291- * Last updated: 2026-04-03 04:25:44 UTC*
287+ * Last updated: 2026-04-04 04:11:25 UTC*
0 commit comments