11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-02-06 04:15:20 UTC
4- ** Git Commit:** ab50f0915db6ec1278fe120ed9fb37706e7cba4a
3+ ** Test Date:** 2026-02-07 04:03:14 UTC
4+ ** Git Commit:** 33869fc9161af2b8148ba6776800945472539c22
55** Branch:** main
6- ** Workflow Run:** [ 21738300539 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21738300539 )
6+ ** Workflow Run:** [ 21773832018 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21773832018 )
77
88## Test Overview
99
@@ -93,7 +93,7 @@ Test synaptic terminal queries ... ok
9393test_04_anatomy_hierarchy_queries (src.test.test_query_performance.QueryPerformanceTest)
9494Test anatomical hierarchy queries ... ok
9595test_05_tract_lineage_queries (src.test.test_query_performance.QueryPerformanceTest)
96- Test tract/nerve and lineage clone queries ... FAIL
96+ Test tract/nerve and lineage clone queries ... ok
9797test_05b_image_queries (src.test.test_query_performance.QueryPerformanceTest)
9898Test image and developmental lineage queries ... ok
9999test_06_instance_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -115,19 +115,10 @@ 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_05_tract_lineage_queries (src.test.test_query_performance.QueryPerformanceTest)
120- Test tract/nerve and lineage clone queries
121118----------------------------------------------------------------------
122- Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 255, in test_05_tract_lineage_queries
124- self.assertLess(duration, self.THRESHOLD_SLOW, "TractsNervesInnervatingHere exceeded threshold")
125- AssertionError: 361.280663728714 not less than 15.0 : TractsNervesInnervatingHere exceeded threshold
119+ Ran 15 tests in 86.578s
126120
127- ----------------------------------------------------------------------
128- Ran 15 tests in 445.253s
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): 2.5470s ✅
141- get_term_info (individual): 2.2512s ✅
131+ get_term_info (mushroom body): 2.1332s ✅
132+ get_term_info (individual): 2.2596s ✅
142133
143134================================================================================
144135NEURON PART OVERLAP QUERIES
145136================================================================================
146- NeuronsPartHere: 2.7604s ✅
137+ NeuronsPartHere: 2.4139s ✅
147138
148139================================================================================
149140SYNAPTIC TERMINAL QUERIES
150141================================================================================
151- NeuronsSynaptic: 2.5811s ✅
152- NeuronsPresynapticHere: 2.2855s ✅
153- NeuronsPostsynapticHere: 2.3422s ✅
154- NeuronNeuronConnectivity: 1.9255s ✅
142+ NeuronsSynaptic: 2.1676s ✅
143+ NeuronsPresynapticHere: 1.9901s ✅
144+ NeuronsPostsynapticHere: 2.0320s ✅
145+ NeuronNeuronConnectivity: 2.0710s ✅
155146
156147================================================================================
157148ANATOMICAL HIERARCHY QUERIES
158149================================================================================
159- ComponentsOf: 1.9194s ✅
160- PartsOf: 1.9069s ✅
161- SubclassesOf: 1.9198s ✅
150+ ComponentsOf: 1.9877s ✅
151+ PartsOf: 1.5494s ✅
152+ SubclassesOf: 1.5225s ✅
162153
163154================================================================================
164155TRACT/NERVE AND LINEAGE QUERIES
165156================================================================================
166- NeuronClassesFasciculatingHere: 1.9146s ✅
167- TractsNervesInnervatingHere: 361.2807s ✅
157+ NeuronClassesFasciculatingHere: 2.0088s ✅
158+ TractsNervesInnervatingHere: 1.5094s ✅
159+ LineageClonesIn: 4.4899s ✅
168160
169161================================================================================
170162IMAGE AND DEVELOPMENTAL QUERIES
171163================================================================================
172- ImagesNeurons: 3.8383s ✅
173- ImagesThatDevelopFrom: 2.4157s ✅
174- epFrag: 2.1713s ✅
164+ ImagesNeurons: 2.7388s ✅
165+ ImagesThatDevelopFrom: 1.6009s ✅
166+ epFrag: 1.5409s ✅
175167
176168================================================================================
177169INSTANCE QUERIES
178170================================================================================
179- ListAllAvailableImages: 2.3700s ✅
171+ ListAllAvailableImages: 1.5460s ✅
180172
181173================================================================================
182174CONNECTIVITY QUERIES
183175================================================================================
184- NeuronNeuronConnectivityQuery: 1.9736s ✅
185- NeuronRegionConnectivityQuery: 1.9282s ✅
176+ NeuronNeuronConnectivityQuery: 1.5640s ✅
177+ NeuronRegionConnectivityQuery: 1.5705s ✅
186178
187179================================================================================
188180SIMILARITY QUERIES (Neo4j NBLAST)
189181================================================================================
190- SimilarMorphologyTo: 0.9999s ✅
182+ SimilarMorphologyTo: 0.8033s ✅
191183
192184================================================================================
193185NEURON INPUT QUERIES (Neo4j)
194186================================================================================
195- NeuronInputsTo: 3.2735s ✅
187+ NeuronInputsTo: 2.9703s ✅
196188
197189================================================================================
198190EXPRESSION PATTERN QUERIES (Neo4j)
199191================================================================================
200- ExpressionOverlapsHere: 1.4178s ✅
192+ ExpressionOverlapsHere: 1.0902s ✅
201193 └─ Found 3922 total expression patterns, returned 10
202194
203195================================================================================
204196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
205197================================================================================
206- anatScRNAseqQuery: 1.0380s ✅
198+ anatScRNAseqQuery: 0.8016s ✅
207199 └─ Found 57 total clusters, returned 10
208- clusterExpression: 5.8727s ✅
200+ clusterExpression: 7.2974s ✅
209201 └─ Found 4589 genes expressed, returned 10
210- expressionCluster: 0.8734s ✅
202+ expressionCluster: 0.8660s ✅
211203 └─ Found 9 clusters expressing gene
212- scRNAdatasetData: 1.0892s ✅
204+ scRNAdatasetData: 0.8278s ✅
213205 └─ Found 13 clusters in dataset, returned 10
214206
215207================================================================================
216208NBLAST SIMILARITY QUERIES
217209================================================================================
218- SimilarMorphologyTo: 1.1924s ✅
210+ SimilarMorphologyTo: 1.1249s ✅
219211 └─ Found 215 NBLAST matches, returned 10
220- SimilarMorphologyToPartOf: 0.7706s ✅
212+ SimilarMorphologyToPartOf: 0.7215s ✅
221213 └─ Found 0 NBLASTexp matches
222- SimilarMorphologyToPartOfexp: 0.7540s ✅
214+ SimilarMorphologyToPartOfexp: 0.7113s ✅
223215 └─ Found 0 reverse NBLASTexp matches
224- SimilarMorphologyToNB: 0.7539s ✅
216+ SimilarMorphologyToNB: 0.5755s ✅
225217 └─ Found 15 NeuronBridge matches, returned 10
226- SimilarMorphologyToNBexp: 0.7581s ✅
218+ SimilarMorphologyToNBexp: 0.6026s ✅
227219 └─ Found 15 NeuronBridge expression matches, returned 10
228220✅ All NBLAST similarity queries completed
229221
230222================================================================================
231223DATASET/TEMPLATE QUERIES
232224================================================================================
233- PaintedDomains: 0.9674s ✅
225+ PaintedDomains: 0.7544s ✅
234226 └─ Found 46 painted domains, returned 10
235- DatasetImages: 0.9451s ✅
227+ DatasetImages: 1.3321s ✅
236228 └─ Found 46 images in dataset, returned 10
237- AllAlignedImages: 2.1269s ✅
229+ AllAlignedImages: 2.1378s ✅
238230 └─ Found 378914 aligned images, returned 10
239- AlignedDatasets: 0.9850s ✅
231+ AlignedDatasets: 0.7746s ✅
240232 └─ Found 72 aligned datasets, returned 10
241- AllDatasets: 1.0246s ✅
233+ AllDatasets: 1.0165s ✅
242234 └─ Found 116 total datasets, returned 20
243235✅ All dataset/template queries completed
244236
245237================================================================================
246238PUBLICATION/TRANSGENE QUERIES
247239================================================================================
248- TermsForPub: 1.0022s ✅
240+ TermsForPub: 0.7584s ✅
249241 └─ Found 2 terms for publication
250- TransgeneExpressionHere: 2.0784s ✅
242+ TransgeneExpressionHere: 1.6095s ✅
251243 └─ Found 2346 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 3.925s
255+ Ran 1 test in 3.079s
264256
265257OK
266258VFBquery functions patched with caching support
@@ -270,9 +262,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
270262==================================================
271263Performance Test Results:
272264==================================================
273- FBbt_00003748 query took: 1.9776 seconds
274- VFB_00101567 query took: 1.9475 seconds
275- Total time for both queries: 3.9250 seconds
265+ FBbt_00003748 query took: 1.5555 seconds
266+ VFB_00101567 query took: 1.5233 seconds
267+ Total time for both queries: 3.0788 seconds
276268Performance Level: 🟠 Acceptable (3-6 seconds)
277269==================================================
278270Performance test completed successfully!
@@ -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-02-06 04:15:20 UTC*
286+ * Last updated: 2026-02-07 04:03:14 UTC*
0 commit comments