11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-04-08 04:32:26 UTC
4- ** Git Commit:** 899b8c315acc1ebe20ea378d64ac439b5a946321
3+ ** Test Date:** 2026-04-09 04:28:57 UTC
4+ ** Git Commit:** bb46f1fc5cde969ffc4680f282091b3da9568b96
55** Branch:** main
6- ** Workflow Run:** [ 24117764359 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24117764359 )
6+ ** Workflow Run:** [ 24172335516 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24172335516 )
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: 5.18203067779541 not less than 3.0 : AllAlignedImages exceeded threshold
125+ AssertionError: 4.880831480026245 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 93.369s
128+ Ran 15 tests in 91.505s
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): 6.9955s ✅
141- get_term_info (individual): 2.7513s ✅
140+ get_term_info (mushroom body): 2.0761s ✅
141+ get_term_info (individual): 1.7295s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 2.5767s ✅
146+ NeuronsPartHere: 2.1470s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 2.7027s ✅
152- NeuronsPresynapticHere: 2.4645s ✅
153- NeuronsPostsynapticHere: 2.6567s ✅
154- NeuronNeuronConnectivity: 2.0234s ✅
151+ NeuronsSynaptic: 2.1580s ✅
152+ NeuronsPresynapticHere: 1.6258s ✅
153+ NeuronsPostsynapticHere: 1.8424s ✅
154+ NeuronNeuronConnectivity: 1.8467s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.7748s ✅
160- PartsOf: 1.8500s ✅
161- SubclassesOf: 1.8023s ✅
159+ ComponentsOf: 1.8162s ✅
160+ PartsOf: 1.7370s ✅
161+ SubclassesOf: 1.4858s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.7374s ✅
167- TractsNervesInnervatingHere: 1.7788s ✅
168- LineageClonesIn: 1.9886s ✅
166+ NeuronClassesFasciculatingHere: 1.6163s ✅
167+ TractsNervesInnervatingHere: 1.4687s ✅
168+ LineageClonesIn: 1.4700s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 4.7617s ✅
174- ImagesThatDevelopFrom: 1.8702s ✅
175- epFrag: 1.8358s ✅
173+ ImagesNeurons: 2.5675s ✅
174+ ImagesThatDevelopFrom: 1.5083s ✅
175+ epFrag: 1.5146s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.8983s ✅
180+ ListAllAvailableImages: 1.4788s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.8020s ✅
186- NeuronRegionConnectivityQuery: 1.8060s ✅
185+ NeuronNeuronConnectivityQuery: 1.4809s ✅
186+ NeuronRegionConnectivityQuery: 1.6026s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.9970s ✅
191+ SimilarMorphologyTo: 0.8701s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 3.1971s ✅
196+ NeuronInputsTo: 3.0872s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.3092s ✅
201+ ExpressionOverlapsHere: 1.0629s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.8947s ✅
207+ anatScRNAseqQuery: 0.7410s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 8.0951s ✅
209+ clusterExpression: 11.1347s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 0.9004s ✅
211+ expressionCluster: 0.9242s ✅
212212 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 1.5116s ✅
213+ scRNAdatasetData: 0.6756s ✅
214214 └─ Found 13 clusters in dataset, returned 10
215215
216216================================================================================
217217NBLAST SIMILARITY QUERIES
218218================================================================================
219- SimilarMorphologyTo: 1.1599s ✅
219+ SimilarMorphologyTo: 12.0527s ✅
220220 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 0.7155s ✅
221+ SimilarMorphologyToPartOf: 0.8312s ✅
222222 └─ Found 0 NBLASTexp matches
223- SimilarMorphologyToPartOfexp: 0.6894s ✅
223+ SimilarMorphologyToPartOfexp: 0.6834s ✅
224224 └─ Found 0 reverse NBLASTexp matches
225- SimilarMorphologyToNB: 0.7927s ✅
225+ SimilarMorphologyToNB: 0.7745s ✅
226226 └─ Found 15 NeuronBridge matches, returned 10
227- SimilarMorphologyToNBexp: 0.6969s ✅
227+ SimilarMorphologyToNBexp: 1.1515s ✅
228228 └─ Found 15 NeuronBridge expression matches, returned 10
229229✅ All NBLAST similarity queries completed
230230
231231================================================================================
232232DATASET/TEMPLATE QUERIES
233233================================================================================
234- PaintedDomains: 0.9116s ✅
234+ PaintedDomains: 0.7308s ✅
235235 └─ Found 46 painted domains, returned 10
236- DatasetImages: 0.8923s ✅
236+ DatasetImages: 0.6576s ✅
237237 └─ Found 46 images in dataset, returned 10
238- AllAlignedImages: 5.1820s ✅
238+ AllAlignedImages: 4.8808s ✅
239239 └─ Found 527179 aligned images, returned 10
240240
241241================================================================================
242242PUBLICATION/TRANSGENE QUERIES
243243================================================================================
244- TermsForPub: 0.8866s ✅
244+ TermsForPub: 0.7246s ✅
245245 └─ Found 2 terms for publication
246- TransgeneExpressionHere: 2.5894s ✅
246+ TransgeneExpressionHere: 2.5025s ✅
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.687s
259+ Ran 1 test in 3.015s
260260
261261OK
262262VFBquery functions patched with caching support
@@ -266,9 +266,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
266266==================================================
267267Performance Test Results:
268268==================================================
269- FBbt_00003748 query took: 1.8390 seconds
270- VFB_00101567 query took: 1.8476 seconds
271- Total time for both queries: 3.6866 seconds
269+ FBbt_00003748 query took: 1.4977 seconds
270+ VFB_00101567 query took: 1.5167 seconds
271+ Total time for both queries: 3.0144 seconds
272272Performance Level: 🟠 Acceptable (3-6 seconds)
273273==================================================
274274Performance test completed successfully!
@@ -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-08 04:32:26 UTC*
290+ * Last updated: 2026-04-09 04:28:57 UTC*
0 commit comments