11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-18 08:55:53 UTC
4- ** Git Commit:** 9bdd8e1e33bf04db86bdc180efde885251965568
3+ ** Test Date:** 2026-03-19 04:16:46 UTC
4+ ** Git Commit:** 650aa132102c8df768b99b269619fd4f71e6b06a
55** Branch:** main
6- ** Workflow Run:** [ 23236622471 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23236622471 )
6+ ** Workflow Run:** [ 23279511606 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23279511606 )
77
88## Test Overview
99
@@ -111,14 +111,23 @@ Test scRNAseq transcriptomics queries ... ok
111111test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112112Test NBLAST similarity queries ... ok
113113test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
114- Test dataset and template queries ... ok
114+ Test dataset and template queries ... FAIL
115115test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
116116Test publication and transgene queries ... ok
117117
118+ ======================================================================
119+ FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
120+ Test dataset and template queries
118121----------------------------------------------------------------------
119- Ran 15 tests in 72.667s
122+ Traceback (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: 6.632084131240845 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121- OK
127+ ----------------------------------------------------------------------
128+ Ran 15 tests in 116.683s
129+
130+ FAILED (failures=1)
122131VFBquery functions patched with caching support
123132VFBquery: SOLR caching enabled by default (3-month TTL)
124133 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -128,118 +137,114 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137================================================================================
129138TERM INFO QUERIES
130139================================================================================
131- get_term_info (mushroom body): 1.9719s ✅
132- get_term_info (individual): 1.8145s ✅
140+ get_term_info (mushroom body): 2.1962s ✅
141+ get_term_info (individual): 1.6673s ✅
133142
134143================================================================================
135144NEURON PART OVERLAP QUERIES
136145================================================================================
137- NeuronsPartHere: 1.8690s ✅
146+ NeuronsPartHere: 2.0149s ✅
138147
139148================================================================================
140149SYNAPTIC TERMINAL QUERIES
141150================================================================================
142- NeuronsSynaptic: 1.8500s ✅
143- NeuronsPresynapticHere: 1.7175s ✅
144- NeuronsPostsynapticHere: 1.7627s ✅
145- NeuronNeuronConnectivity: 1.6074s ✅
151+ NeuronsSynaptic: 1.8236s ✅
152+ NeuronsPresynapticHere: 1.7131s ✅
153+ NeuronsPostsynapticHere: 1.6719s ✅
154+ NeuronNeuronConnectivity: 1.4744s ✅
146155
147156================================================================================
148157ANATOMICAL HIERARCHY QUERIES
149158================================================================================
150- ComponentsOf: 1.4052s ✅
151- PartsOf: 1.5257s ✅
152- SubclassesOf: 1.4035s ✅
159+ ComponentsOf: 1.5045s ✅
160+ PartsOf: 1.2768s ✅
161+ SubclassesOf: 1.2766s ✅
153162
154163================================================================================
155164TRACT/NERVE AND LINEAGE QUERIES
156165================================================================================
157- NeuronClassesFasciculatingHere: 1.4521s ✅
158- TractsNervesInnervatingHere: 1.4057s ✅
159- LineageClonesIn: 1.4283s ✅
166+ NeuronClassesFasciculatingHere: 1.2788s ✅
167+ TractsNervesInnervatingHere: 1.7202s ✅
168+ LineageClonesIn: 1.1874s ✅
160169
161170================================================================================
162171IMAGE AND DEVELOPMENTAL QUERIES
163172================================================================================
164- ImagesNeurons: 2.4749s ✅
165- ImagesThatDevelopFrom: 1.4629s ✅
166- epFrag: 1.4198s ✅
173+ ImagesNeurons: 2.2620s ✅
174+ ImagesThatDevelopFrom: 1.2323s ✅
175+ epFrag: 1.3792s ✅
167176
168177================================================================================
169178INSTANCE QUERIES
170179================================================================================
171- ListAllAvailableImages: 1.4403s ✅
180+ ListAllAvailableImages: 1.2522s ✅
172181
173182================================================================================
174183CONNECTIVITY QUERIES
175184================================================================================
176- NeuronNeuronConnectivityQuery: 1.3901s ✅
177- NeuronRegionConnectivityQuery: 1.6785s ✅
185+ NeuronNeuronConnectivityQuery: 1.2273s ✅
186+ NeuronRegionConnectivityQuery: 1.3922s ✅
178187
179188================================================================================
180189SIMILARITY QUERIES (Neo4j NBLAST)
181190================================================================================
182- SimilarMorphologyTo: 0.8229s ✅
191+ SimilarMorphologyTo: 0.6392s ✅
183192
184193================================================================================
185194NEURON INPUT QUERIES (Neo4j)
186195================================================================================
187- NeuronInputsTo: 3.7017s ✅
196+ NeuronInputsTo: 2.8321s ✅
188197
189198================================================================================
190199EXPRESSION PATTERN QUERIES (Neo4j)
191200================================================================================
192- ExpressionOverlapsHere: 1.0405s ✅
201+ ExpressionOverlapsHere: 0.9735s ✅
193202 └─ Found 3922 total expression patterns, returned 10
194203
195204================================================================================
196205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206================================================================================
198- anatScRNAseqQuery: 0.7334s ✅
207+ anatScRNAseqQuery: 0.6256s ✅
199208 └─ Found 57 total clusters, returned 10
200- clusterExpression: 2.7934s ✅
209+ clusterExpression: 34.7036s ✅
201210 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 0.6803s ✅
211+ clusterExpression: Skipped (test data may not exist): 34.70363998413086 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 13.6422s ✅
203213 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.5857s ✅
214+ scRNAdatasetData: 1.6521s ✅
205215 └─ Found 13 clusters in dataset, returned 10
206216
207217================================================================================
208218NBLAST SIMILARITY QUERIES
209219================================================================================
210- SimilarMorphologyTo: 0.9042s ✅
220+ SimilarMorphologyTo: 0.7655s ✅
211221 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.6509s ✅
222+ SimilarMorphologyToPartOf: 1.0643s ✅
213223 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.6604s ✅
224+ SimilarMorphologyToPartOfexp: 0.4727s ✅
215225 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.7006s ✅
226+ SimilarMorphologyToNB: 1.5214s ✅
217227 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.7309s ✅
228+ SimilarMorphologyToNBexp: 0.5670s ✅
219229 └─ Found 15 NeuronBridge expression matches, returned 10
220230✅ All NBLAST similarity queries completed
221231
222232================================================================================
223233DATASET/TEMPLATE QUERIES
224234================================================================================
225- PaintedDomains: 0.7278s ✅
235+ PaintedDomains: 0.5969s ✅
226236 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.5858s ✅
237+ DatasetImages: 0.6723s ✅
228238 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.4267s ✅
239+ AllAlignedImages: 6.6321s ✅
230240 └─ Found 465165 aligned images, returned 10
231- AlignedDatasets: 0.7098s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 0.7739s ✅
234- └─ Found 130 total datasets, returned 20
235- ✅ All dataset/template queries completed
236241
237242================================================================================
238243PUBLICATION/TRANSGENE QUERIES
239244================================================================================
240- TermsForPub: 0.7110s ✅
245+ TermsForPub: 0.6008s ✅
241246 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 7.4294s ✅
247+ TransgeneExpressionHere: 3.7719s ✅
243248 └─ Found 2338 transgene expressions, returned 10
244249✅ All publication/transgene queries completed
245250
@@ -249,33 +254,25 @@ PERFORMANCE TEST SUMMARY
249254All performance tests completed!
250255================================================================================
251256test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252- Performance test for specific term info queries. ... FAIL
253-
254- ======================================================================
255- FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256- Performance test for specific term info queries.
257- ----------------------------------------------------------------------
258- Traceback (most recent call last):
259- File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590, in test_term_info_performance
260- self.assertLess(duration_1, max_single_query_time,
261- AssertionError: 19.566471576690674 not less than 10.0 : FBbt_00003748 query took 19.5665s, exceeding 10.0s threshold
257+ Performance test for specific term info queries. ... ok
262258
263259----------------------------------------------------------------------
264- Ran 1 test in 21.002s
260+ Ran 1 test in 2.520s
265261
266- FAILED (failures=1)
262+ OK
267263VFBquery functions patched with caching support
268264VFBquery: SOLR caching enabled by default (3-month TTL)
269265 Disable with: export VFBQUERY_CACHE_ENABLED=false
270266
271267==================================================
272268Performance Test Results:
273269==================================================
274- FBbt_00003748 query took: 19.5665 seconds
275- VFB_00101567 query took: 1.4352 seconds
276- Total time for both queries: 21.0017 seconds
277- Performance Level: 🔴 Slow (> 6 seconds)
270+ FBbt_00003748 query took: 1.3052 seconds
271+ VFB_00101567 query took: 1.2148 seconds
272+ Total time for both queries: 2.5200 seconds
273+ Performance Level: 🟡 Good (1.5-3 seconds)
278274==================================================
275+ Performance test completed successfully!
279276```
280277
281278## Summary
@@ -291,4 +288,4 @@ Track performance trends across commits:
291288- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
292289
293290---
294- * Last updated: 2026-03-18 08:55:53 UTC*
291+ * Last updated: 2026-03-19 04:16:46 UTC*
0 commit comments