11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-29 04:33:28 UTC
4- ** Git Commit:** 54763d6208527f9793476776e655e440d6140539
3+ ** Test Date:** 2026-03-30 04:40:29 UTC
4+ ** Git Commit:** 80e0b5a7bdea02522d7af5a2963ec19a55dacdf8
55** Branch:** main
6- ** Workflow Run:** [ 23701409916 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23701409916 )
6+ ** Workflow Run:** [ 23728182049 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23728182049 )
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.3461339473724365 not less than 3.0 : AllAlignedImages exceeded threshold
125+ AssertionError: 3.631070375442505 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 112.296s
128+ Ran 15 tests in 63.330s
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): 2.6953s ✅
141- get_term_info (individual): 3.1864s ✅
140+ get_term_info (mushroom body): 2.1322s ✅
141+ get_term_info (individual): 1.6438s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 3.0109s ✅
146+ NeuronsPartHere: 1.8551s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 2.6924s ✅
152- NeuronsPresynapticHere: 2.3377s ✅
153- NeuronsPostsynapticHere: 2.4435s ✅
154- NeuronNeuronConnectivity: 2.3299s ✅
151+ NeuronsSynaptic: 2.0120s ✅
152+ NeuronsPresynapticHere: 2.0520s ✅
153+ NeuronsPostsynapticHere: 1.5850s ✅
154+ NeuronNeuronConnectivity: 1.9052s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 2.0527s ✅
160- PartsOf: 2.1265s ✅
161- SubclassesOf: 2.1037s ✅
159+ ComponentsOf: 1.3811s ✅
160+ PartsOf: 1.1858s ✅
161+ SubclassesOf: 1.2927s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.9779s ✅
167- TractsNervesInnervatingHere: 1.9516s ✅
168- LineageClonesIn: 1.9718s ✅
166+ NeuronClassesFasciculatingHere: 1.7724s ✅
167+ TractsNervesInnervatingHere: 1.4433s ✅
168+ LineageClonesIn: 1.6449s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 3.3161s ✅
174- ImagesThatDevelopFrom: 1.9902s ✅
175- epFrag: 1.9994s ✅
173+ ImagesNeurons: 2.5540s ✅
174+ ImagesThatDevelopFrom: 1.2422s ✅
175+ epFrag: 1.2059s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.9604s ✅
180+ ListAllAvailableImages: 1.0805s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.9826s ✅
186- NeuronRegionConnectivityQuery: 1.9385s ✅
185+ NeuronNeuronConnectivityQuery: 1.1949s ✅
186+ NeuronRegionConnectivityQuery: 1.3062s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 1.0329s ✅
191+ SimilarMorphologyTo: 0.6694s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 3.4434s ✅
196+ NeuronInputsTo: 2.8939s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.3878s ✅
201+ ExpressionOverlapsHere: 0.9095s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.9914s ✅
207+ anatScRNAseqQuery: 0.6210s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 19.0376s ✅
209+ clusterExpression: 3.7623s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 19.03756356239319 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 0.9370s ✅
211+ expressionCluster: 0.8455s ✅
213212 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 1.3417s ✅
213+ scRNAdatasetData: 0.6830s ✅
215214 └─ Found 13 clusters in dataset, returned 10
216215
217216================================================================================
218217NBLAST SIMILARITY QUERIES
219218================================================================================
220- SimilarMorphologyTo: 1.0788s ✅
219+ SimilarMorphologyTo: 0.9593s ✅
221220 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.9343s ✅
221+ SimilarMorphologyToPartOf: 0.5872s ✅
223222 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.8727s ✅
223+ SimilarMorphologyToPartOfexp: 0.4909s ✅
225224 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 1.1481s ✅
225+ SimilarMorphologyToNB: 0.7150s ✅
227226 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 1.1541s ✅
227+ SimilarMorphologyToNBexp: 0.5828s ✅
229228 └─ Found 15 NeuronBridge expression matches, returned 10
230229✅ All NBLAST similarity queries completed
231230
232231================================================================================
233232DATASET/TEMPLATE QUERIES
234233================================================================================
235- PaintedDomains: 0.9659s ✅
234+ PaintedDomains: 0.6053s ✅
236235 └─ Found 46 painted domains, returned 10
237- DatasetImages: 1.0821s ✅
236+ DatasetImages: 0.5618s ✅
238237 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 4.3461s ✅
238+ AllAlignedImages: 3.6311s ✅
240239 └─ Found 527179 aligned images, returned 10
241240
242241================================================================================
243242PUBLICATION/TRANSGENE QUERIES
244243================================================================================
245- TermsForPub: 0.9721s ✅
244+ TermsForPub: 0.6010s ✅
246245 └─ Found 2 terms for publication
247- TransgeneExpressionHere: 4.2474s ✅
246+ TransgeneExpressionHere: 2.0009s ✅
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 3.982s
259+ Ran 1 test in 2.465s
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.9763 seconds
271- VFB_00101567 query took: 2.0057 seconds
272- Total time for both queries: 3.9820 seconds
273- Performance Level: 🟠 Acceptable (3-6 seconds)
269+ FBbt_00003748 query took: 1.2020 seconds
270+ VFB_00101567 query took: 1.2625 seconds
271+ Total time for both queries: 2.4645 seconds
272+ Performance Level: 🟡 Good (1.5-3 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-03-29 04:33:28 UTC*
290+ * Last updated: 2026-03-30 04:40:29 UTC*
0 commit comments