11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-13 10:01:46 UTC
4- ** Git Commit:** df26b52285ede75eb22ada3ac6fffccac3423f04
3+ ** Test Date:** 2026-03-14 04:07:11 UTC
4+ ** Git Commit:** d1bd73897d50c261bc3406f68d0080e414eaa864
55** Branch:** main
6- ** Workflow Run:** [ 23045689700 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23045689700 )
6+ ** Workflow Run:** [ 23079980438 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23079980438 )
77
88## Test Overview
99
@@ -120,12 +120,12 @@ FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPer
120120Test dataset and template queries
121121----------------------------------------------------------------------
122122Traceback (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: 3.041283130645752 not less than 3.0 : AllAlignedImages exceeded threshold
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: 6.250988245010376 not less than 3.0 : AllDatasets exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 80.786s
128+ Ran 15 tests in 156.160s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,113 +137,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 2.4679s ✅
141- get_term_info (individual): 2.4740s ✅
140+ get_term_info (mushroom body): 2.5674s ✅
141+ get_term_info (individual): 2.1586s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 2.7067s ✅
146+ NeuronsPartHere: 2.3203s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 3.4183s ✅
152- NeuronsPresynapticHere: 2.4502s ✅
153- NeuronsPostsynapticHere: 2.6343s ✅
154- NeuronNeuronConnectivity: 2.0129s ✅
151+ NeuronsSynaptic: 2.6909s ✅
152+ NeuronsPresynapticHere: 1.8889s ✅
153+ NeuronsPostsynapticHere: 2.1485s ✅
154+ NeuronNeuronConnectivity: 2.0062s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 2.1635s ✅
160- PartsOf: 1.9936s ✅
161- SubclassesOf: 2.0059s ✅
159+ ComponentsOf: 1.8132s ✅
160+ PartsOf: 2.3311s ✅
161+ SubclassesOf: 1.8453s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.9915s ✅
167- TractsNervesInnervatingHere: 2.0320s ✅
168- LineageClonesIn: 2.0073s ✅
166+ NeuronClassesFasciculatingHere: 1.8243s ✅
167+ TractsNervesInnervatingHere: 1.8646s ✅
168+ LineageClonesIn: 1.8641s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 3.3014s ✅
174- ImagesThatDevelopFrom: 2.0782s ✅
175- epFrag: 2.1462s ✅
173+ ImagesNeurons: 3.1140s ✅
174+ ImagesThatDevelopFrom: 1.8966s ✅
175+ epFrag: 1.8636s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.9988s ✅
180+ ListAllAvailableImages: 1.8891s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 2.0059s ✅
186- NeuronRegionConnectivityQuery: 2.0028s ✅
185+ NeuronNeuronConnectivityQuery: 1.8205s ✅
186+ NeuronRegionConnectivityQuery: 1.8168s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 1.0357s ✅
191+ SimilarMorphologyTo: 0.9765s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 3.5739s ✅
196+ NeuronInputsTo: 4.0066s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.4364s ✅
201+ ExpressionOverlapsHere: 1.3018s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 1.0053s ✅
207+ anatScRNAseqQuery: 0.9802s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 0.9682s ✅
209+ clusterExpression: 63.3178s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 1.0951s ✅
211+ clusterExpression: Skipped (test data may not exist): 63.31779980659485 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 1.1266s ✅
212213 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 0.9342s ✅
214+ scRNAdatasetData: 0.7460s ✅
214215 └─ Found 13 clusters in dataset, returned 10
215216
216217================================================================================
217218NBLAST SIMILARITY QUERIES
218219================================================================================
219- SimilarMorphologyTo: 1.0434s ✅
220+ SimilarMorphologyTo: 2.9197s ✅
220221 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 1.0540s ✅
222+ SimilarMorphologyToPartOf: 0.7163s ✅
222223 └─ Found 0 NBLASTexp matches
223- SimilarMorphologyToPartOfexp: 0.9064s ✅
224+ SimilarMorphologyToPartOfexp: 0.8161s ✅
224225 └─ Found 0 reverse NBLASTexp matches
225- SimilarMorphologyToNB: 0.7436s ✅
226+ SimilarMorphologyToNB: 1.8194s ✅
226227 └─ Found 15 NeuronBridge matches, returned 10
227- SimilarMorphologyToNBexp: 0.7699s ✅
228+ SimilarMorphologyToNBexp: 0.8376s ✅
228229 └─ Found 15 NeuronBridge expression matches, returned 10
229230✅ All NBLAST similarity queries completed
230231
231232================================================================================
232233DATASET/TEMPLATE QUERIES
233234================================================================================
234- PaintedDomains: 0.9948s ✅
235+ PaintedDomains: 0.8971s ✅
235236 └─ Found 46 painted domains, returned 10
236- DatasetImages: 0.9251s ✅
237+ DatasetImages: 0.6864s ✅
237238 └─ Found 46 images in dataset, returned 10
238- AllAlignedImages: 3.0413s ✅
239+ AllAlignedImages: 2.9242s ✅
239240 └─ Found 546915 aligned images, returned 10
241+ AlignedDatasets: 0.9480s ✅
242+ └─ Found 72 aligned datasets, returned 10
243+ AllDatasets: 6.2510s ✅
244+ └─ Found 128 total datasets, returned 20
240245
241246================================================================================
242247PUBLICATION/TRANSGENE QUERIES
243248================================================================================
244- TermsForPub: 0.9867s ✅
249+ TermsForPub: 0.9306s ✅
245250 └─ Found 2 terms for publication
246- TransgeneExpressionHere: 1.8238s ✅
251+ TransgeneExpressionHere: 2.8540s ✅
247252 └─ Found 2350 transgene expressions, returned 10
248253✅ All publication/transgene queries completed
249254
@@ -256,7 +261,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256261Performance test for specific term info queries. ... ok
257262
258263----------------------------------------------------------------------
259- Ran 1 test in 4.137s
264+ Ran 1 test in 3.806s
260265
261266OK
262267VFBquery functions patched with caching support
@@ -266,9 +271,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
266271==================================================
267272Performance Test Results:
268273==================================================
269- FBbt_00003748 query took: 2.0091 seconds
270- VFB_00101567 query took: 2.1277 seconds
271- Total time for both queries: 4.1368 seconds
274+ FBbt_00003748 query took: 1.9062 seconds
275+ VFB_00101567 query took: 1.8999 seconds
276+ Total time for both queries: 3.8061 seconds
272277Performance Level: 🟠 Acceptable (3-6 seconds)
273278==================================================
274279Performance test completed successfully!
@@ -287,4 +292,4 @@ Track performance trends across commits:
287292- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
288293
289294---
290- * Last updated: 2026-03-13 10:01:46 UTC*
295+ * Last updated: 2026-03-14 04:07:11 UTC*
0 commit comments