11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-04-09 04:28:57 UTC
4- ** Git Commit:** bb46f1fc5cde969ffc4680f282091b3da9568b96
3+ ** Test Date:** 2026-04-10 04:43:22 UTC
4+ ** Git Commit:** 4c0513142c8f864dcc55adaddd907ed25211997c
55** Branch:** main
6- ** Workflow Run:** [ 24172335516 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24172335516 )
6+ ** Workflow Run:** [ 24226714617 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24226714617 )
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.880831480026245 not less than 3.0 : AllAlignedImages exceeded threshold
125+ AssertionError: 3.5388259887695312 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 91.505s
128+ Ran 15 tests in 136.413s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,113 +137,114 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 2.0761s ✅
141- get_term_info (individual): 1.7295s ✅
140+ get_term_info (mushroom body): 2.5108s ✅
141+ get_term_info (individual): 1.7247s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 2.1470s ✅
146+ NeuronsPartHere: 1.8298s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 2.1580s ✅
152- NeuronsPresynapticHere: 1.6258s ✅
153- NeuronsPostsynapticHere: 1.8424s ✅
154- NeuronNeuronConnectivity: 1.8467s ✅
151+ NeuronsSynaptic: 1.7550s ✅
152+ NeuronsPresynapticHere: 1.6887s ✅
153+ NeuronsPostsynapticHere: 1.7500s ✅
154+ NeuronNeuronConnectivity: 1.7954s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.8162s ✅
160- PartsOf: 1.7370s ✅
161- SubclassesOf: 1.4858s ✅
159+ ComponentsOf: 1.5309s ✅
160+ PartsOf: 1.5967s ✅
161+ SubclassesOf: 1.6031s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.6163s ✅
167- TractsNervesInnervatingHere: 1.4687s ✅
168- LineageClonesIn: 1.4700s ✅
166+ NeuronClassesFasciculatingHere: 1.2429s ✅
167+ TractsNervesInnervatingHere: 1.4384s ✅
168+ LineageClonesIn: 1.4972s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 2.5675s ✅
174- ImagesThatDevelopFrom: 1.5083s ✅
175- epFrag: 1.5146s ✅
173+ ImagesNeurons: 2.2249s ✅
174+ ImagesThatDevelopFrom: 1.5913s ✅
175+ epFrag: 1.2878s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.4788s ✅
180+ ListAllAvailableImages: 1.2284s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.4809s ✅
186- NeuronRegionConnectivityQuery: 1.6026s ✅
185+ NeuronNeuronConnectivityQuery: 1.2162s ✅
186+ NeuronRegionConnectivityQuery: 1.2312s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.8701s ✅
191+ SimilarMorphologyTo: 0.7677s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 3.0872s ✅
196+ NeuronInputsTo: 5.4158s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.0629s ✅
201+ ExpressionOverlapsHere: 0.8777s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.7410s ✅
207+ anatScRNAseqQuery: 0.7998s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 11.1347s ✅
209+ clusterExpression: 68.9526s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 0.9242s ✅
211+ clusterExpression: Skipped (test data may not exist): 68.9525694847107 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 0.7790s ✅
212213 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 0.6756s ✅
214+ scRNAdatasetData: 0.7083s ✅
214215 └─ Found 13 clusters in dataset, returned 10
215216
216217================================================================================
217218NBLAST SIMILARITY QUERIES
218219================================================================================
219- SimilarMorphologyTo: 12.0527s ✅
220+ SimilarMorphologyTo: 0.8099s ✅
220221 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 0.8312s ✅
222+ SimilarMorphologyToPartOf: 0.7380s ✅
222223 └─ Found 0 NBLASTexp matches
223- SimilarMorphologyToPartOfexp: 0.6834s ✅
224+ SimilarMorphologyToPartOfexp: 0.6964s ✅
224225 └─ Found 0 reverse NBLASTexp matches
225- SimilarMorphologyToNB: 0.7745s ✅
226+ SimilarMorphologyToNB: 0.6597s ✅
226227 └─ Found 15 NeuronBridge matches, returned 10
227- SimilarMorphologyToNBexp: 1.1515s ✅
228+ SimilarMorphologyToNBexp: 1.0260s ✅
228229 └─ Found 15 NeuronBridge expression matches, returned 10
229230✅ All NBLAST similarity queries completed
230231
231232================================================================================
232233DATASET/TEMPLATE QUERIES
233234================================================================================
234- PaintedDomains: 0.7308s ✅
235+ PaintedDomains: 0.6025s ✅
235236 └─ Found 46 painted domains, returned 10
236- DatasetImages: 0.6576s ✅
237+ DatasetImages: 0.7546s ✅
237238 └─ Found 46 images in dataset, returned 10
238- AllAlignedImages: 4.8808s ✅
239+ AllAlignedImages: 3.5388s ✅
239240 └─ Found 527179 aligned images, returned 10
240241
241242================================================================================
242243PUBLICATION/TRANSGENE QUERIES
243244================================================================================
244- TermsForPub: 0.7246s ✅
245+ TermsForPub: 0.6160s ✅
245246 └─ Found 2 terms for publication
246- TransgeneExpressionHere: 2.5025s ✅
247+ TransgeneExpressionHere: 4.8217s ✅
247248 └─ Found 2340 transgene expressions, returned 10
248249✅ All publication/transgene queries completed
249250
@@ -256,7 +257,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256257Performance test for specific term info queries. ... ok
257258
258259----------------------------------------------------------------------
259- Ran 1 test in 3.015s
260+ Ran 1 test in 2.705s
260261
261262OK
262263VFBquery functions patched with caching support
@@ -266,10 +267,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
266267==================================================
267268Performance Test Results:
268269==================================================
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
272- Performance Level: 🟠 Acceptable (3-6 seconds)
270+ FBbt_00003748 query took: 1.3542 seconds
271+ VFB_00101567 query took: 1.3500 seconds
272+ Total time for both queries: 2.7043 seconds
273+ Performance Level: 🟡 Good (1.5-3 seconds)
273274==================================================
274275Performance test completed successfully!
275276```
@@ -287,4 +288,4 @@ Track performance trends across commits:
287288- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
288289
289290---
290- * Last updated: 2026-04-09 04:28:57 UTC*
291+ * Last updated: 2026-04-10 04:43:22 UTC*
0 commit comments