11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 17:21:41 UTC
4- ** Git Commit:** 71f9a8d671e7d827ed104ffcfa286cc012c570c8
3+ ** Test Date:** 2026-03-11 17:53:09 UTC
4+ ** Git Commit:** 0ffde096b5942c4e034c96cd249a09f58bc21860
55** Branch:** main
6- ** Workflow Run:** [ 22965293963 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22965293963 )
6+ ** Workflow Run:** [ 22966684140 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22966684140 )
77
88## Test Overview
99
@@ -120,12 +120,12 @@ FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPer
120120Test dataset and template queries
121121----------------------------------------------------------------------
122122Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 660 , in test_13_dataset_template_queries
124- self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllAlignedImages exceeded threshold")
125- AssertionError: 3.2554502487182617 not less than 3.0 : AllAlignedImages exceeded threshold
123+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 693 , in test_13_dataset_template_queries
124+ self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllDatasets exceeded threshold")
125+ AssertionError: 4.088317155838013 not less than 3.0 : AllDatasets exceeded threshold
126126
127127----------------------------------------------------------------------
128- Ran 15 tests in 133.810s
128+ Ran 15 tests in 65.254s
129129
130130FAILED (failures=1)
131131VFBquery functions patched with caching support
@@ -137,114 +137,117 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137137================================================================================
138138TERM INFO QUERIES
139139================================================================================
140- get_term_info (mushroom body): 2.1970s ✅
141- get_term_info (individual): 2.5872s ✅
140+ get_term_info (mushroom body): 1.9892s ✅
141+ get_term_info (individual): 1.6199s ✅
142142
143143================================================================================
144144NEURON PART OVERLAP QUERIES
145145================================================================================
146- NeuronsPartHere: 2.4559s ✅
146+ NeuronsPartHere: 1.8294s ✅
147147
148148================================================================================
149149SYNAPTIC TERMINAL QUERIES
150150================================================================================
151- NeuronsSynaptic: 2.2274s ✅
152- NeuronsPresynapticHere: 2.0692s ✅
153- NeuronsPostsynapticHere: 1.8107s ✅
154- NeuronNeuronConnectivity: 1.6657s ✅
151+ NeuronsSynaptic: 2.0202s ✅
152+ NeuronsPresynapticHere: 1.5453s ✅
153+ NeuronsPostsynapticHere: 1.6404s ✅
154+ NeuronNeuronConnectivity: 1.4021s ✅
155155
156156================================================================================
157157ANATOMICAL HIERARCHY QUERIES
158158================================================================================
159- ComponentsOf: 1.7232s ✅
160- PartsOf: 1.5752s ✅
161- SubclassesOf: 1.7310s ✅
159+ ComponentsOf: 1.4960s ✅
160+ PartsOf: 1.4963s ✅
161+ SubclassesOf: 1.3872s ✅
162162
163163================================================================================
164164TRACT/NERVE AND LINEAGE QUERIES
165165================================================================================
166- NeuronClassesFasciculatingHere: 1.8439s ✅
167- TractsNervesInnervatingHere: 1.7306s ✅
168- LineageClonesIn: 1.5758s ✅
166+ NeuronClassesFasciculatingHere: 1.3866s ✅
167+ TractsNervesInnervatingHere: 1.4102s ✅
168+ LineageClonesIn: 1.4129s ✅
169169
170170================================================================================
171171IMAGE AND DEVELOPMENTAL QUERIES
172172================================================================================
173- ImagesNeurons: 2.7480s ✅
174- ImagesThatDevelopFrom: 1.6533s ✅
175- epFrag: 1.5697s ✅
173+ ImagesNeurons: 2.4055s ✅
174+ ImagesThatDevelopFrom: 1.4404s ✅
175+ epFrag: 1.4158s ✅
176176
177177================================================================================
178178INSTANCE QUERIES
179179================================================================================
180- ListAllAvailableImages: 1.6280s ✅
180+ ListAllAvailableImages: 1.3937s ✅
181181
182182================================================================================
183183CONNECTIVITY QUERIES
184184================================================================================
185- NeuronNeuronConnectivityQuery: 1.6796s ✅
186- NeuronRegionConnectivityQuery: 1.5941s ✅
185+ NeuronNeuronConnectivityQuery: 1.3954s ✅
186+ NeuronRegionConnectivityQuery: 1.4048s ✅
187187
188188================================================================================
189189SIMILARITY QUERIES (Neo4j NBLAST)
190190================================================================================
191- SimilarMorphologyTo: 0.8204s ✅
191+ SimilarMorphologyTo: 0.7456s ✅
192192
193193================================================================================
194194NEURON INPUT QUERIES (Neo4j)
195195================================================================================
196- NeuronInputsTo: 3.1604s ✅
196+ NeuronInputsTo: 3.1516s ✅
197197
198198================================================================================
199199EXPRESSION PATTERN QUERIES (Neo4j)
200200================================================================================
201- ExpressionOverlapsHere: 1.1155s ✅
201+ ExpressionOverlapsHere: 1.0320s ✅
202202 └─ Found 3922 total expression patterns, returned 10
203203
204204================================================================================
205205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206206================================================================================
207- anatScRNAseqQuery: 0.8097s ✅
207+ anatScRNAseqQuery: 0.7061s ✅
208208 └─ Found 57 total clusters, returned 10
209- clusterExpression: 56.5270s ✅
209+ clusterExpression: 0.8428s ✅
210210 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 56.52697467803955 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 0.8523s ✅
211+ expressionCluster: 0.7940s ✅
213212 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 0.8334s ✅
213+ scRNAdatasetData: 0.5851s ✅
215214 └─ Found 13 clusters in dataset, returned 10
216215
217216================================================================================
218217NBLAST SIMILARITY QUERIES
219218================================================================================
220- SimilarMorphologyTo: 1.0267s ✅
219+ SimilarMorphologyTo: 0.8733s ✅
221220 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.7626s ✅
221+ SimilarMorphologyToPartOf: 0.5787s ✅
223222 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.8275s ✅
223+ SimilarMorphologyToPartOfexp: 0.5634s ✅
225224 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 0.7719s ✅
225+ SimilarMorphologyToNB: 0.5588s ✅
227226 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 1.1848s ✅
227+ SimilarMorphologyToNBexp: 0.5459s ✅
229228 └─ Found 15 NeuronBridge expression matches, returned 10
230229✅ All NBLAST similarity queries completed
231230
232231================================================================================
233232DATASET/TEMPLATE QUERIES
234233================================================================================
235- PaintedDomains: 0.8075s ✅
234+ PaintedDomains: 0.7055s ✅
236235 └─ Found 46 painted domains, returned 10
237- DatasetImages: 0.8571s ✅
236+ DatasetImages: 0.7645s ✅
238237 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 3.2555s ✅
238+ AllAlignedImages: 2.4664s ✅
240239 └─ Found 546915 aligned images, returned 10
240+ AlignedDatasets: 0.7066s ✅
241+ └─ Found 72 aligned datasets, returned 10
242+ AllDatasets: 4.0883s ✅
243+ └─ Found 128 total datasets, returned 20
241244
242245================================================================================
243246PUBLICATION/TRANSGENE QUERIES
244247================================================================================
245- TermsForPub: 0.7905s ✅
248+ TermsForPub: 0.7018s ✅
246249 └─ Found 2 terms for publication
247- TransgeneExpressionHere: 1.6033s ✅
250+ TransgeneExpressionHere: 1.4814s ✅
248251 └─ Found 2350 transgene expressions, returned 10
249252✅ All publication/transgene queries completed
250253
@@ -257,7 +260,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
257260Performance test for specific term info queries. ... ok
258261
259262----------------------------------------------------------------------
260- Ran 1 test in 3.225s
263+ Ran 1 test in 2.878s
261264
262265OK
263266VFBquery functions patched with caching support
@@ -267,10 +270,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
267270==================================================
268271Performance Test Results:
269272==================================================
270- FBbt_00003748 query took: 1.6026 seconds
271- VFB_00101567 query took: 1.6220 seconds
272- Total time for both queries: 3.2247 seconds
273- Performance Level: 🟠 Acceptable (3-6 seconds)
273+ FBbt_00003748 query took: 1.4339 seconds
274+ VFB_00101567 query took: 1.4431 seconds
275+ Total time for both queries: 2.8770 seconds
276+ Performance Level: 🟡 Good (1.5-3 seconds)
274277==================================================
275278Performance test completed successfully!
276279```
@@ -288,4 +291,4 @@ Track performance trends across commits:
288291- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
289292
290293---
291- * Last updated: 2026-03-11 17:21:41 UTC*
294+ * Last updated: 2026-03-11 17:53:09 UTC*
0 commit comments