11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 17:53:09 UTC
4- ** Git Commit:** 0ffde096b5942c4e034c96cd249a09f58bc21860
3+ ** Test Date:** 2026-03-11 18:08:17 UTC
4+ ** Git Commit:** 2c7485fc8a326f9ed32ce8ddb9edff8847b0c7a1
55** Branch:** main
6- ** Workflow Run:** [ 22966684140 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22966684140 )
6+ ** Workflow Run:** [ 22967300519 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22967300519 )
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 693, in test_13_dataset_template_queries
124- self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllDatasets exceeded threshold")
125- AssertionError: 4.088317155838013 not less than 3.0 : AllDatasets exceeded threshold
119+ Ran 15 tests in 81.992s
126120
127- ----------------------------------------------------------------------
128- Ran 15 tests in 65.254s
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,117 +128,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137128================================================================================
138129TERM INFO QUERIES
139130================================================================================
140- get_term_info (mushroom body): 1.9892s ✅
141- get_term_info (individual): 1.6199s ✅
131+ get_term_info (mushroom body): 2.6554s ✅
132+ get_term_info (individual): 2.6722s ✅
142133
143134================================================================================
144135NEURON PART OVERLAP QUERIES
145136================================================================================
146- NeuronsPartHere: 1.8294s ✅
137+ NeuronsPartHere: 2.5457s ✅
147138
148139================================================================================
149140SYNAPTIC TERMINAL QUERIES
150141================================================================================
151- NeuronsSynaptic: 2.0202s ✅
152- NeuronsPresynapticHere: 1.5453s ✅
153- NeuronsPostsynapticHere: 1.6404s ✅
154- NeuronNeuronConnectivity: 1.4021s ✅
142+ NeuronsSynaptic: 2.6996s ✅
143+ NeuronsPresynapticHere: 2.0266s ✅
144+ NeuronsPostsynapticHere: 2.0950s ✅
145+ NeuronNeuronConnectivity: 2.3511s ✅
155146
156147================================================================================
157148ANATOMICAL HIERARCHY QUERIES
158149================================================================================
159- ComponentsOf: 1.4960s ✅
160- PartsOf: 1.4963s ✅
161- SubclassesOf: 1.3872s ✅
150+ ComponentsOf: 2.1075s ✅
151+ PartsOf: 1.7673s ✅
152+ SubclassesOf: 1.9925s ✅
162153
163154================================================================================
164155TRACT/NERVE AND LINEAGE QUERIES
165156================================================================================
166- NeuronClassesFasciculatingHere: 1.3866s ✅
167- TractsNervesInnervatingHere: 1.4102s ✅
168- LineageClonesIn: 1.4129s ✅
157+ NeuronClassesFasciculatingHere: 1.9459s ✅
158+ TractsNervesInnervatingHere: 2.1028s ✅
159+ LineageClonesIn: 2.1371s ✅
169160
170161================================================================================
171162IMAGE AND DEVELOPMENTAL QUERIES
172163================================================================================
173- ImagesNeurons: 2.4055s ✅
174- ImagesThatDevelopFrom: 1.4404s ✅
175- epFrag: 1.4158s ✅
164+ ImagesNeurons: 3.2670s ✅
165+ ImagesThatDevelopFrom: 2.0830s ✅
166+ epFrag: 1.9677s ✅
176167
177168================================================================================
178169INSTANCE QUERIES
179170================================================================================
180- ListAllAvailableImages: 1.3937s ✅
171+ ListAllAvailableImages: 1.9402s ✅
181172
182173================================================================================
183174CONNECTIVITY QUERIES
184175================================================================================
185- NeuronNeuronConnectivityQuery: 1.3954s ✅
186- NeuronRegionConnectivityQuery: 1.4048s ✅
176+ NeuronNeuronConnectivityQuery: 1.9520s ✅
177+ NeuronRegionConnectivityQuery: 1.9989s ✅
187178
188179================================================================================
189180SIMILARITY QUERIES (Neo4j NBLAST)
190181================================================================================
191- SimilarMorphologyTo: 0.7456s ✅
182+ SimilarMorphologyTo: 1.1828s ✅
192183
193184================================================================================
194185NEURON INPUT QUERIES (Neo4j)
195186================================================================================
196- NeuronInputsTo: 3.1516s ✅
187+ NeuronInputsTo: 3.0798s ✅
197188
198189================================================================================
199190EXPRESSION PATTERN QUERIES (Neo4j)
200191================================================================================
201- ExpressionOverlapsHere: 1.0320s ✅
192+ ExpressionOverlapsHere: 1.3565s ✅
202193 └─ Found 3922 total expression patterns, returned 10
203194
204195================================================================================
205196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197================================================================================
207- anatScRNAseqQuery: 0.7061s ✅
198+ anatScRNAseqQuery: 1.0028s ✅
208199 └─ Found 57 total clusters, returned 10
209- clusterExpression: 0.8428s ✅
200+ clusterExpression: 1.0806s ✅
210201 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 0.7940s ✅
202+ expressionCluster: 1.0719s ✅
212203 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 0.5851s ✅
204+ scRNAdatasetData: 0.7769s ✅
214205 └─ Found 13 clusters in dataset, returned 10
215206
216207================================================================================
217208NBLAST SIMILARITY QUERIES
218209================================================================================
219- SimilarMorphologyTo: 0.8733s ✅
210+ SimilarMorphologyTo: 1.1587s ✅
220211 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 0.5787s ✅
212+ SimilarMorphologyToPartOf: 0.7578s ✅
222213 └─ Found 0 NBLASTexp matches
223- SimilarMorphologyToPartOfexp: 0.5634s ✅
214+ SimilarMorphologyToPartOfexp: 0.9378s ✅
224215 └─ Found 0 reverse NBLASTexp matches
225- SimilarMorphologyToNB: 0.5588s ✅
216+ SimilarMorphologyToNB: 0.7501s ✅
226217 └─ Found 15 NeuronBridge matches, returned 10
227- SimilarMorphologyToNBexp: 0.5459s ✅
218+ SimilarMorphologyToNBexp: 0.8878s ✅
228219 └─ Found 15 NeuronBridge expression matches, returned 10
229220✅ All NBLAST similarity queries completed
230221
231222================================================================================
232223DATASET/TEMPLATE QUERIES
233224================================================================================
234- PaintedDomains: 0.7055s ✅
225+ PaintedDomains: 0.9688s ✅
235226 └─ Found 46 painted domains, returned 10
236- DatasetImages: 0.7645s ✅
227+ DatasetImages: 0.7913s ✅
237228 └─ Found 46 images in dataset, returned 10
238- AllAlignedImages: 2.4664s ✅
229+ AllAlignedImages: 2.7315s ✅
239230 └─ Found 546915 aligned images, returned 10
240- AlignedDatasets: 0.7066s ✅
231+ AlignedDatasets: 1.0018s ✅
241232 └─ Found 72 aligned datasets, returned 10
242- AllDatasets: 4.0883s ✅
233+ AllDatasets: 0.9599s ✅
243234 └─ Found 128 total datasets, returned 20
235+ ✅ All dataset/template queries completed
244236
245237================================================================================
246238PUBLICATION/TRANSGENE QUERIES
247239================================================================================
248- TermsForPub: 0.7018s ✅
240+ TermsForPub: 0.9679s ✅
249241 └─ Found 2 terms for publication
250- TransgeneExpressionHere: 1.4814s ✅
242+ TransgeneExpressionHere: 1.8077s ✅
251243 └─ Found 2350 transgene expressions, returned 10
252244✅ All publication/transgene queries completed
253245
@@ -260,7 +252,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
260252Performance test for specific term info queries. ... ok
261253
262254----------------------------------------------------------------------
263- Ran 1 test in 2.878s
255+ Ran 1 test in 4.047s
264256
265257OK
266258VFBquery functions patched with caching support
@@ -270,10 +262,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
270262==================================================
271263Performance Test Results:
272264==================================================
273- FBbt_00003748 query took: 1.4339 seconds
274- VFB_00101567 query took: 1.4431 seconds
275- Total time for both queries: 2.8770 seconds
276- Performance Level: 🟡 Good (1.5-3 seconds)
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)
277269==================================================
278270Performance test completed successfully!
279271```
@@ -291,4 +283,4 @@ Track performance trends across commits:
291283- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
292284
293285---
294- * Last updated: 2026-03-11 17:53:09 UTC*
286+ * Last updated: 2026-03-11 18:08:17 UTC*
0 commit comments