11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-04-13 18:51:13 UTC
4- ** Git Commit:** e6305c538e164f2573c4c204fd3457acbe4675d5
5- ** Branch:** 38/merge
6- ** Workflow Run:** [ 24360853454 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24360853454 )
3+ ** Test Date:** 2026-03-30 10:31:19 UTC
4+ ** Git Commit:** 01b7f4af4c1f78b683a728124e9892e85732161e
5+ ** Branch:** main
6+ ** Workflow Run:** [ 23740149842 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23740149842 )
77
88## Test Overview
99
@@ -122,10 +122,10 @@ Test dataset and template queries
122122Traceback (most recent call last):
123123 File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 660, in test_13_dataset_template_queries
124124 self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllAlignedImages exceeded threshold")
125- AssertionError: 4.026433706283569 not less than 3.0 : AllAlignedImages exceeded threshold
125+ AssertionError: 7.013141632080078 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 125.594s
128+ Ran 15 tests in 110.035s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,114 +137,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 1.7197s ✅
141- get_term_info (individual): 1.3654s ✅
140+ get_term_info (mushroom body): 2.6564s ✅
141+ get_term_info (individual): 2.6602s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 1.6850s ✅
146+ NeuronsPartHere: 3.1075s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 1.5972s ✅
152- NeuronsPresynapticHere: 1.3124s ✅
153- NeuronsPostsynapticHere: 1.6315s ✅
154- NeuronNeuronConnectivity: 1.5685s ✅
151+ NeuronsSynaptic: 2.9505s ✅
152+ NeuronsPresynapticHere: 2.4136s ✅
153+ NeuronsPostsynapticHere: 2.1935s ✅
154+ NeuronNeuronConnectivity: 1.9000s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.1740s ✅
160- PartsOf: 1.3339s ✅
161- SubclassesOf: 1.1715s ✅
159+ ComponentsOf: 1.9292s ✅
160+ PartsOf: 2.4126s ✅
161+ SubclassesOf: 1.8715s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.5285s ✅
167- TractsNervesInnervatingHere: 1.2776s ✅
168- LineageClonesIn: 1.1748s ✅
166+ NeuronClassesFasciculatingHere: 1.8822s ✅
167+ TractsNervesInnervatingHere: 1.8852s ✅
168+ LineageClonesIn: 1.8848s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 2.1157s ✅
174- ImagesThatDevelopFrom: 1.2952s ✅
175- epFrag: 1.1740s ✅
173+ ImagesNeurons: 3.1867s ✅
174+ ImagesThatDevelopFrom: 1.9679s ✅
175+ epFrag: 1.8675s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.2677s ✅
180+ ListAllAvailableImages: 1.8908s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.2726s ✅
186- NeuronRegionConnectivityQuery: 1.2568s ✅
185+ NeuronNeuronConnectivityQuery: 1.8734s ✅
186+ NeuronRegionConnectivityQuery: 1.9057s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.7672s ✅
191+ SimilarMorphologyTo: 0.9818s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 3.3149s ✅
196+ NeuronInputsTo: 3.3833s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 0.9710s ✅
201+ ExpressionOverlapsHere: 1.2898s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.5957s ✅
207+ anatScRNAseqQuery: 0.9500s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 69.3918s ✅
209+ clusterExpression: 14.0053s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 69.39180970191956 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 0.7136s ✅
211+ expressionCluster: 0.9872s ✅
213212 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 0.6722s ✅
213+ scRNAdatasetData: 1.1084s ✅
215214 └─ Found 13 clusters in dataset, returned 10
216215
217216================================================================================
218217NBLAST SIMILARITY QUERIES
219218================================================================================
220- SimilarMorphologyTo: 0.9145s ✅
219+ SimilarMorphologyTo: 7.5624s ✅
221220 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.6419s ✅
221+ SimilarMorphologyToPartOf: 0.8351s ✅
223222 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.4844s ✅
223+ SimilarMorphologyToPartOfexp: 0.7110s ✅
225224 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 0.5615s ✅
225+ SimilarMorphologyToNB: 0.8188s ✅
227226 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 0.5670s ✅
227+ SimilarMorphologyToNBexp: 1.1694s ✅
229228 └─ Found 15 NeuronBridge expression matches, returned 10
230229✅ All NBLAST similarity queries completed
231230
232231================================================================================
233232DATASET/TEMPLATE QUERIES
234233================================================================================
235- PaintedDomains: 0.7613s ✅
234+ PaintedDomains: 0.9323s ✅
236235 └─ Found 46 painted domains, returned 10
237- DatasetImages: 0.5175s ✅
236+ DatasetImages: 0.9288s ✅
238237 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 4.0264s ✅
238+ AllAlignedImages: 7.0131s ✅
240239 └─ Found 527179 aligned images, returned 10
241240
242241================================================================================
243242PUBLICATION/TRANSGENE QUERIES
244243================================================================================
245- TermsForPub: 0.7443s ✅
244+ TermsForPub: 0.9332s ✅
246245 └─ Found 2 terms for publication
247- TransgeneExpressionHere: 1.3615s ✅
246+ TransgeneExpressionHere: 2.7297s ✅
248247 └─ Found 2340 transgene expressions, returned 10
249248✅ All publication/transgene queries completed
250249
@@ -257,7 +256,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
257256Performance test for specific term info queries. ... ok
258257
259258----------------------------------------------------------------------
260- Ran 1 test in 2.705s
259+ Ran 1 test in 3.804s
261260
262261OK
263262VFBquery functions patched with caching support
@@ -267,10 +266,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
267266==================================================
268267Performance Test Results:
269268==================================================
270- FBbt_00003748 query took: 1.4327 seconds
271- VFB_00101567 query took: 1.2721 seconds
272- Total time for both queries: 2.7048 seconds
273- Performance Level: 🟡 Good (1.5-3 seconds)
269+ FBbt_00003748 query took: 1.8841 seconds
270+ VFB_00101567 query took: 1.9189 seconds
271+ Total time for both queries: 3.8030 seconds
272+ Performance Level: 🟠 Acceptable (3-6 seconds)
274273==================================================
275274Performance test completed successfully!
276275```
@@ -288,4 +287,4 @@ Track performance trends across commits:
288287- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
289288
290289---
291- * Last updated: 2026-04-13 18:51:13 UTC*
290+ * Last updated: 2026-03-30 10:31:19 UTC*
0 commit comments