11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-18 04:19:01 UTC
4- ** Git Commit:** beba3eb5703dab6f33f00c45134a31a0bc982585
3+ ** Test Date:** 2026-03-18 08:55:53 UTC
4+ ** Git Commit:** 9bdd8e1e33bf04db86bdc180efde885251965568
55** Branch:** main
6- ** Workflow Run:** [ 23228816254 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23228816254 )
6+ ** Workflow Run:** [ 23236622471 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23236622471 )
77
88## Test Overview
99
@@ -111,23 +111,14 @@ 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 ... FAIL
114+ Test dataset and template queries ... ok
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
121- ----------------------------------------------------------------------
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: 4.078628063201904 not less than 3.0 : AllAlignedImages exceeded threshold
126-
127118----------------------------------------------------------------------
128- Ran 15 tests in 134.483s
119+ Ran 15 tests in 72.667s
129120
130- FAILED (failures=1)
121+ OK
131122VFBquery functions patched with caching support
132123VFBquery: SOLR caching enabled by default (3-month TTL)
133124 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -137,114 +128,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137128================================================================================
138129TERM INFO QUERIES
139130================================================================================
140- get_term_info (mushroom body): 2.5807s ✅
141- get_term_info (individual): 2.4825s ✅
131+ get_term_info (mushroom body): 1.9719s ✅
132+ get_term_info (individual): 1.8145s ✅
142133
143134================================================================================
144135NEURON PART OVERLAP QUERIES
145136================================================================================
146- NeuronsPartHere: 2.5936s ✅
137+ NeuronsPartHere: 1.8690s ✅
147138
148139================================================================================
149140SYNAPTIC TERMINAL QUERIES
150141================================================================================
151- NeuronsSynaptic: 2.6601s ✅
152- NeuronsPresynapticHere: 2.1237s ✅
153- NeuronsPostsynapticHere: 2.5381s ✅
154- NeuronNeuronConnectivity: 1.9596s ✅
142+ NeuronsSynaptic: 1.8500s ✅
143+ NeuronsPresynapticHere: 1.7175s ✅
144+ NeuronsPostsynapticHere: 1.7627s ✅
145+ NeuronNeuronConnectivity: 1.6074s ✅
155146
156147================================================================================
157148ANATOMICAL HIERARCHY QUERIES
158149================================================================================
159- ComponentsOf: 2.2380s ✅
160- PartsOf: 1.9231s ✅
161- SubclassesOf: 1.9032s ✅
150+ ComponentsOf: 1.4052s ✅
151+ PartsOf: 1.5257s ✅
152+ SubclassesOf: 1.4035s ✅
162153
163154================================================================================
164155TRACT/NERVE AND LINEAGE QUERIES
165156================================================================================
166- NeuronClassesFasciculatingHere: 1.9427s ✅
167- TractsNervesInnervatingHere: 1.9139s ✅
168- LineageClonesIn: 2.0148s ✅
157+ NeuronClassesFasciculatingHere: 1.4521s ✅
158+ TractsNervesInnervatingHere: 1.4057s ✅
159+ LineageClonesIn: 1.4283s ✅
169160
170161================================================================================
171162IMAGE AND DEVELOPMENTAL QUERIES
172163================================================================================
173- ImagesNeurons: 3.4091s ✅
174- ImagesThatDevelopFrom: 1.9587s ✅
175- epFrag: 1.9462s ✅
164+ ImagesNeurons: 2.4749s ✅
165+ ImagesThatDevelopFrom: 1.4629s ✅
166+ epFrag: 1.4198s ✅
176167
177168================================================================================
178169INSTANCE QUERIES
179170================================================================================
180- ListAllAvailableImages: 2.0690s ✅
171+ ListAllAvailableImages: 1.4403s ✅
181172
182173================================================================================
183174CONNECTIVITY QUERIES
184175================================================================================
185- NeuronNeuronConnectivityQuery: 1.9652s ✅
186- NeuronRegionConnectivityQuery: 1.9178s ✅
176+ NeuronNeuronConnectivityQuery: 1.3901s ✅
177+ NeuronRegionConnectivityQuery: 1.6785s ✅
187178
188179================================================================================
189180SIMILARITY QUERIES (Neo4j NBLAST)
190181================================================================================
191- SimilarMorphologyTo: 1.0073s ✅
182+ SimilarMorphologyTo: 0.8229s ✅
192183
193184================================================================================
194185NEURON INPUT QUERIES (Neo4j)
195186================================================================================
196- NeuronInputsTo: 4.1550s ✅
187+ NeuronInputsTo: 3.7017s ✅
197188
198189================================================================================
199190EXPRESSION PATTERN QUERIES (Neo4j)
200191================================================================================
201- ExpressionOverlapsHere: 1.3318s ✅
192+ ExpressionOverlapsHere: 1.0405s ✅
202193 └─ Found 3922 total expression patterns, returned 10
203194
204195================================================================================
205196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197================================================================================
207- anatScRNAseqQuery: 1.0053s ✅
198+ anatScRNAseqQuery: 0.7334s ✅
208199 └─ Found 57 total clusters, returned 10
209- clusterExpression: 41.9593s ✅
200+ clusterExpression: 2.7934s ✅
210201 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 41.959288120269775 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 1.0983s ✅
202+ expressionCluster: 0.6803s ✅
213203 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 1.7973s ✅
204+ scRNAdatasetData: 0.5857s ✅
215205 └─ Found 13 clusters in dataset, returned 10
216206
217207================================================================================
218208NBLAST SIMILARITY QUERIES
219209================================================================================
220- SimilarMorphologyTo: 4.5870s ✅
210+ SimilarMorphologyTo: 0.9042s ✅
221211 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.7982s ✅
212+ SimilarMorphologyToPartOf: 0.6509s ✅
223213 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 1.0646s ✅
214+ SimilarMorphologyToPartOfexp: 0.6604s ✅
225215 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 1.1240s ✅
216+ SimilarMorphologyToNB: 0.7006s ✅
227217 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 1.0199s ✅
218+ SimilarMorphologyToNBexp: 0.7309s ✅
229219 └─ Found 15 NeuronBridge expression matches, returned 10
230220✅ All NBLAST similarity queries completed
231221
232222================================================================================
233223DATASET/TEMPLATE QUERIES
234224================================================================================
235- PaintedDomains: 0.9789s ✅
225+ PaintedDomains: 0.7278s ✅
236226 └─ Found 46 painted domains, returned 10
237- DatasetImages: 0.9180s ✅
227+ DatasetImages: 0.5858s ✅
238228 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 4.0786s ✅
229+ AllAlignedImages: 2.4267s ✅
240230 └─ 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
241236
242237================================================================================
243238PUBLICATION/TRANSGENE QUERIES
244239================================================================================
245- TermsForPub: 0.9604s ✅
240+ TermsForPub: 0.7110s ✅
246241 └─ Found 2 terms for publication
247- TransgeneExpressionHere: 6.6195s ✅
242+ TransgeneExpressionHere: 7.4294s ✅
248243 └─ Found 2338 transgene expressions, returned 10
249244✅ All publication/transgene queries completed
250245
@@ -254,25 +249,33 @@ PERFORMANCE TEST SUMMARY
254249All performance tests completed!
255250================================================================================
256251test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
257- Performance test for specific term info queries. ... ok
252+ Performance test for specific term info queries. ... FAIL
258253
254+ ======================================================================
255+ FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256+ Performance test for specific term info queries.
259257----------------------------------------------------------------------
260- Ran 1 test in 3.911s
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
261262
262- OK
263+ ----------------------------------------------------------------------
264+ Ran 1 test in 21.002s
265+
266+ FAILED (failures=1)
263267VFBquery functions patched with caching support
264268VFBquery: SOLR caching enabled by default (3-month TTL)
265269 Disable with: export VFBQUERY_CACHE_ENABLED=false
266270
267271==================================================
268272Performance Test Results:
269273==================================================
270- FBbt_00003748 query took: 1.9489 seconds
271- VFB_00101567 query took: 1.9618 seconds
272- Total time for both queries: 3.9107 seconds
273- Performance Level: 🟠 Acceptable (3- 6 seconds)
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)
274278==================================================
275- Performance test completed successfully!
276279```
277280
278281## Summary
@@ -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-18 04:19:01 UTC*
294+ * Last updated: 2026-03-18 08:55:53 UTC*
0 commit comments