11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-04-13 04:55:07 UTC
4- ** Git Commit:** 0aa4e09af11ce032c7725ba799cb659ed37ed741
3+ ** Test Date:** 2026-04-14 04:41:23 UTC
4+ ** Git Commit:** 68681112d71a618afb12e279668b6524a0ae3919
55** Branch:** main
6- ** Workflow Run:** [ 24326278539 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24326278539 )
6+ ** Workflow Run:** [ 24381247694 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24381247694 )
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: 3.799640417098999 not less than 3.0 : AllAlignedImages exceeded threshold
125+ AssertionError: 3.135908842086792 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 99.321s
128+ Ran 15 tests in 64.637s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,113 +137,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 7.6878s ✅
141- get_term_info (individual): 2.3657s ✅
140+ get_term_info (mushroom body): 1.9544s ✅
141+ get_term_info (individual): 1.7863s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 2.3641s ✅
146+ NeuronsPartHere: 2.0592s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 2.2981s ✅
152- NeuronsPresynapticHere: 1.9954s ✅
153- NeuronsPostsynapticHere: 2.0811s ✅
154- NeuronNeuronConnectivity: 1.9506s ✅
151+ NeuronsSynaptic: 1.8370s ✅
152+ NeuronsPresynapticHere: 1.4470s ✅
153+ NeuronsPostsynapticHere: 1.6371s ✅
154+ NeuronNeuronConnectivity: 1.6363s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.8205s ✅
160- PartsOf: 1.8139s ✅
161- SubclassesOf: 1.7725s ✅
159+ ComponentsOf: 1.4187s ✅
160+ PartsOf: 1.4539s ✅
161+ SubclassesOf: 1.4354s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.8023s ✅
167- TractsNervesInnervatingHere: 1.7935s ✅
168- LineageClonesIn: 1.7896s ✅
166+ NeuronClassesFasciculatingHere: 1.4316s ✅
167+ TractsNervesInnervatingHere: 1.4232s ✅
168+ LineageClonesIn: 1.4107s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 3.0280s ✅
174- ImagesThatDevelopFrom: 1.8521s ✅
175- epFrag: 1.7808s ✅
173+ ImagesNeurons: 2.4559s ✅
174+ ImagesThatDevelopFrom: 1.4750s ✅
175+ epFrag: 1.4563s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.7906s ✅
180+ ListAllAvailableImages: 1.4424s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.8120s ✅
186- NeuronRegionConnectivityQuery: 1.7728s ✅
185+ NeuronNeuronConnectivityQuery: 1.4302s ✅
186+ NeuronRegionConnectivityQuery: 1.3991s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.9593s ✅
191+ SimilarMorphologyTo: 0.7458s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 5.2450s ✅
196+ NeuronInputsTo: 3.0526s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.2711s ✅
201+ ExpressionOverlapsHere: 1.0612s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.9148s ✅
207+ anatScRNAseqQuery: 0.7343s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 5.6068s ✅
209+ clusterExpression: 4.0487s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 1.0689s ✅
211+ expressionCluster: 0.7618s ✅
212212 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 1.1588s ✅
213+ scRNAdatasetData: 0.6975s ✅
214214 └─ Found 13 clusters in dataset, returned 10
215215
216216================================================================================
217217NBLAST SIMILARITY QUERIES
218218================================================================================
219- SimilarMorphologyTo: 1.1973s ✅
219+ SimilarMorphologyTo: 1.2201s ✅
220220 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 0.7818s ✅
221+ SimilarMorphologyToPartOf: 0.6754s ✅
222222 └─ Found 0 NBLASTexp matches
223- SimilarMorphologyToPartOfexp: 0.7275s ✅
223+ SimilarMorphologyToPartOfexp: 0.5932s ✅
224224 └─ Found 0 reverse NBLASTexp matches
225- SimilarMorphologyToNB: 0.8871s ✅
225+ SimilarMorphologyToNB: 0.5935s ✅
226226 └─ Found 15 NeuronBridge matches, returned 10
227- SimilarMorphologyToNBexp: 0.7260s ✅
227+ SimilarMorphologyToNBexp: 0.5874s ✅
228228 └─ Found 15 NeuronBridge expression matches, returned 10
229229✅ All NBLAST similarity queries completed
230230
231231================================================================================
232232DATASET/TEMPLATE QUERIES
233233================================================================================
234- PaintedDomains: 0.9338s ✅
234+ PaintedDomains: 0.7017s ✅
235235 └─ Found 46 painted domains, returned 10
236- DatasetImages: 0.9118s ✅
236+ DatasetImages: 0.5875s ✅
237237 └─ Found 46 images in dataset, returned 10
238- AllAlignedImages: 3.7996s ✅
238+ AllAlignedImages: 3.1359s ✅
239239 └─ Found 527179 aligned images, returned 10
240240
241241================================================================================
242242PUBLICATION/TRANSGENE QUERIES
243243================================================================================
244- TermsForPub: 1.0560s ✅
244+ TermsForPub: 0.7111s ✅
245245 └─ Found 2 terms for publication
246- TransgeneExpressionHere: 2.4009s ✅
246+ TransgeneExpressionHere: 1.4707s ✅
247247 └─ Found 2340 transgene expressions, returned 10
248248✅ All publication/transgene queries completed
249249
@@ -256,7 +256,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256256Performance test for specific term info queries. ... ok
257257
258258----------------------------------------------------------------------
259- Ran 1 test in 3.631s
259+ Ran 1 test in 2.894s
260260
261261OK
262262VFBquery functions patched with caching support
@@ -266,10 +266,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
266266==================================================
267267Performance Test Results:
268268==================================================
269- FBbt_00003748 query took: 1.8020 seconds
270- VFB_00101567 query took: 1.8291 seconds
271- Total time for both queries: 3.6311 seconds
272- Performance Level: 🟠 Acceptable (3-6 seconds)
269+ FBbt_00003748 query took: 1.4503 seconds
270+ VFB_00101567 query took: 1.4430 seconds
271+ Total time for both queries: 2.8933 seconds
272+ Performance Level: 🟡 Good (1.5-3 seconds)
273273==================================================
274274Performance test completed successfully!
275275```
@@ -287,4 +287,4 @@ Track performance trends across commits:
287287- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
288288
289289---
290- * Last updated: 2026-04-13 04:55:07 UTC*
290+ * Last updated: 2026-04-14 04:41:23 UTC*
0 commit comments