11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-30 04:40:29 UTC
4- ** Git Commit:** 80e0b5a7bdea02522d7af5a2963ec19a55dacdf8
3+ ** Test Date:** 2026-03-30 10:31:19 UTC
4+ ** Git Commit:** 01b7f4af4c1f78b683a728124e9892e85732161e
55** Branch:** main
6- ** Workflow Run:** [ 23728182049 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23728182049 )
6+ ** Workflow Run:** [ 23740149842 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23740149842 )
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.631070375442505 not less than 3.0 : AllAlignedImages exceeded threshold
125+ AssertionError: 7.013141632080078 not less than 3.0 : AllAlignedImages exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 63.330s
128+ Ran 15 tests in 110.035s
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): 2.1322s ✅
141- get_term_info (individual): 1.6438s ✅
140+ get_term_info (mushroom body): 2.6564s ✅
141+ get_term_info (individual): 2.6602s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 1.8551s ✅
146+ NeuronsPartHere: 3.1075s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 2.0120s ✅
152- NeuronsPresynapticHere: 2.0520s ✅
153- NeuronsPostsynapticHere: 1.5850s ✅
154- NeuronNeuronConnectivity: 1.9052s ✅
151+ NeuronsSynaptic: 2.9505s ✅
152+ NeuronsPresynapticHere: 2.4136s ✅
153+ NeuronsPostsynapticHere: 2.1935s ✅
154+ NeuronNeuronConnectivity: 1.9000s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.3811s ✅
160- PartsOf: 1.1858s ✅
161- SubclassesOf: 1.2927s ✅
159+ ComponentsOf: 1.9292s ✅
160+ PartsOf: 2.4126s ✅
161+ SubclassesOf: 1.8715s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.7724s ✅
167- TractsNervesInnervatingHere: 1.4433s ✅
168- LineageClonesIn: 1.6449s ✅
166+ NeuronClassesFasciculatingHere: 1.8822s ✅
167+ TractsNervesInnervatingHere: 1.8852s ✅
168+ LineageClonesIn: 1.8848s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 2.5540s ✅
174- ImagesThatDevelopFrom: 1.2422s ✅
175- epFrag: 1.2059s ✅
173+ ImagesNeurons: 3.1867s ✅
174+ ImagesThatDevelopFrom: 1.9679s ✅
175+ epFrag: 1.8675s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.0805s ✅
180+ ListAllAvailableImages: 1.8908s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.1949s ✅
186- NeuronRegionConnectivityQuery: 1.3062s ✅
185+ NeuronNeuronConnectivityQuery: 1.8734s ✅
186+ NeuronRegionConnectivityQuery: 1.9057s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.6694s ✅
191+ SimilarMorphologyTo: 0.9818s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 2.8939s ✅
196+ NeuronInputsTo: 3.3833s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 0.9095s ✅
201+ ExpressionOverlapsHere: 1.2898s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.6210s ✅
207+ anatScRNAseqQuery: 0.9500s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 3.7623s ✅
209+ clusterExpression: 14.0053s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 0.8455s ✅
211+ expressionCluster: 0.9872s ✅
212212 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 0.6830s ✅
213+ scRNAdatasetData: 1.1084s ✅
214214 └─ Found 13 clusters in dataset, returned 10
215215
216216================================================================================
217217NBLAST SIMILARITY QUERIES
218218================================================================================
219- SimilarMorphologyTo: 0.9593s ✅
219+ SimilarMorphologyTo: 7.5624s ✅
220220 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 0.5872s ✅
221+ SimilarMorphologyToPartOf: 0.8351s ✅
222222 └─ Found 0 NBLASTexp matches
223- SimilarMorphologyToPartOfexp: 0.4909s ✅
223+ SimilarMorphologyToPartOfexp: 0.7110s ✅
224224 └─ Found 0 reverse NBLASTexp matches
225- SimilarMorphologyToNB: 0.7150s ✅
225+ SimilarMorphologyToNB: 0.8188s ✅
226226 └─ Found 15 NeuronBridge matches, returned 10
227- SimilarMorphologyToNBexp: 0.5828s ✅
227+ SimilarMorphologyToNBexp: 1.1694s ✅
228228 └─ Found 15 NeuronBridge expression matches, returned 10
229229✅ All NBLAST similarity queries completed
230230
231231================================================================================
232232DATASET/TEMPLATE QUERIES
233233================================================================================
234- PaintedDomains: 0.6053s ✅
234+ PaintedDomains: 0.9323s ✅
235235 └─ Found 46 painted domains, returned 10
236- DatasetImages: 0.5618s ✅
236+ DatasetImages: 0.9288s ✅
237237 └─ Found 46 images in dataset, returned 10
238- AllAlignedImages: 3.6311s ✅
238+ AllAlignedImages: 7.0131s ✅
239239 └─ Found 527179 aligned images, returned 10
240240
241241================================================================================
242242PUBLICATION/TRANSGENE QUERIES
243243================================================================================
244- TermsForPub: 0.6010s ✅
244+ TermsForPub: 0.9332s ✅
245245 └─ Found 2 terms for publication
246- TransgeneExpressionHere: 2.0009s ✅
246+ TransgeneExpressionHere: 2.7297s ✅
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 2.465s
259+ Ran 1 test in 3.804s
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.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)
269+ FBbt_00003748 query took: 1.8841 seconds
270+ VFB_00101567 query took: 1.9189 seconds
271+ Total time for both queries: 3.8030 seconds
272+ Performance Level: 🟠 Acceptable (3-6 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-03-30 04:40:29 UTC*
290+ * Last updated: 2026-03-30 10:31:19 UTC*
0 commit comments