11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-21 04:03:05 UTC
4- ** Git Commit:** 0c1e8f6280a87dc3efb0b61507352e202d23f2dd
3+ ** Test Date:** 2026-03-22 04:14:15 UTC
4+ ** Git Commit:** 1aaea5aaeab80558339a1055cdbf8f612849ba62
55** Branch:** main
6- ** Workflow Run:** [ 23371510598 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23371510598 )
6+ ** Workflow Run:** [ 23395417656 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23395417656 )
77
88## Test Overview
99
@@ -103,49 +103,22 @@ Test neuron connectivity queries ... ok
103103test_08_similarity_queries (src.test.test_query_performance.QueryPerformanceTest)
104104Test NBLAST similarity queries ... ok
105105test_09_neuron_input_queries (src.test.test_query_performance.QueryPerformanceTest)
106- Test neuron input/synapse queries ... FAIL
106+ Test neuron input/synapse queries ... ok
107107test_10_expression_queries (src.test.test_query_performance.QueryPerformanceTest)
108108Test expression pattern queries ... ok
109109test_11_transcriptomics_queries (src.test.test_query_performance.QueryPerformanceTest)
110110Test scRNAseq transcriptomics queries ... ok
111111test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112- Test NBLAST similarity queries ... FAIL
112+ Test 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_09_neuron_input_queries (src.test.test_query_performance.QueryPerformanceTest)
120- Test neuron input/synapse queries
121- ----------------------------------------------------------------------
122- Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 392, in test_09_neuron_input_queries
124- self.assertLess(duration, self.THRESHOLD_SLOW, "NeuronInputsTo exceeded threshold")
125- AssertionError: 29.831858158111572 not less than 15.0 : NeuronInputsTo exceeded threshold
126-
127- ======================================================================
128- FAIL: test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
129- Test NBLAST similarity queries
130- ----------------------------------------------------------------------
131- Traceback (most recent call last):
132- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 591, in test_12_nblast_queries
133- self.assertLess(duration, self.THRESHOLD_SLOW, "SimilarMorphologyToNBexp exceeded threshold")
134- AssertionError: 30.452998876571655 not less than 15.0 : SimilarMorphologyToNBexp exceeded threshold
135-
136- ======================================================================
137- FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
138- Test dataset and template queries
139- ----------------------------------------------------------------------
140- Traceback (most recent call last):
141- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 660, in test_13_dataset_template_queries
142- self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllAlignedImages exceeded threshold")
143- AssertionError: 9.841363430023193 not less than 3.0 : AllAlignedImages exceeded threshold
144-
145118----------------------------------------------------------------------
146- Ran 15 tests in 236.021s
119+ Ran 15 tests in 101.727s
147120
148- FAILED (failures=3)
121+ OK
149122VFBquery functions patched with caching support
150123VFBquery: SOLR caching enabled by default (3-month TTL)
151124 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -155,114 +128,119 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
155128================================================================================
156129TERM INFO QUERIES
157130================================================================================
158- get_term_info (mushroom body): 1.7313s ✅
159- get_term_info (individual): 1.8412s ✅
131+ get_term_info (mushroom body): 2.3032s ✅
132+ get_term_info (individual): 2.3370s ✅
160133
161134================================================================================
162135NEURON PART OVERLAP QUERIES
163136================================================================================
164- NeuronsPartHere: 2.0800s ✅
137+ NeuronsPartHere: 2.1638s ✅
165138
166139================================================================================
167140SYNAPTIC TERMINAL QUERIES
168141================================================================================
169- NeuronsSynaptic: 1.8152s ✅
170- NeuronsPresynapticHere: 1.5860s ✅
171- NeuronsPostsynapticHere: 1.8201s ✅
172- NeuronNeuronConnectivity: 1.5092s ✅
142+ NeuronsSynaptic: 2.5961s ✅
143+ NeuronsPresynapticHere: 1.8715s ✅
144+ NeuronsPostsynapticHere: 1.9219s ✅
145+ NeuronNeuronConnectivity: 1.6227s ✅
173146
174147================================================================================
175148ANATOMICAL HIERARCHY QUERIES
176149================================================================================
177- ComponentsOf: 1.4055s ✅
178- PartsOf: 1.4228s ✅
179- SubclassesOf: 1.4214s ✅
150+ ComponentsOf: 1.6735s ✅
151+ PartsOf: 1.5699s ✅
152+ SubclassesOf: 2.0585s ✅
180153
181154================================================================================
182155TRACT/NERVE AND LINEAGE QUERIES
183156================================================================================
184- NeuronClassesFasciculatingHere: 1.4578s ✅
185- TractsNervesInnervatingHere: 1.5744s ✅
186- LineageClonesIn: 1.4283s ✅
157+ NeuronClassesFasciculatingHere: 1.6752s ✅
158+ TractsNervesInnervatingHere: 1.6530s ✅
159+ LineageClonesIn: 1.5448s ✅
187160
188161================================================================================
189162IMAGE AND DEVELOPMENTAL QUERIES
190163================================================================================
191- ImagesNeurons: 2.5739s ✅
192- ImagesThatDevelopFrom: 1.5295s ✅
193- epFrag: 1.4114s ✅
164+ ImagesNeurons: 2.6559s ✅
165+ ImagesThatDevelopFrom: 1.5848s ✅
166+ epFrag: 1.5204s ✅
194167
195168================================================================================
196169INSTANCE QUERIES
197170================================================================================
198- ListAllAvailableImages: 1.4346s ✅
171+ ListAllAvailableImages: 1.5925s ✅
199172
200173================================================================================
201174CONNECTIVITY QUERIES
202175================================================================================
203- NeuronNeuronConnectivityQuery: 1.4552s ✅
204- NeuronRegionConnectivityQuery: 1.4684s ✅
176+ NeuronNeuronConnectivityQuery: 1.6326s ✅
177+ NeuronRegionConnectivityQuery: 1.5501s ✅
205178
206179================================================================================
207180SIMILARITY QUERIES (Neo4j NBLAST)
208181================================================================================
209- SimilarMorphologyTo: 0.7791s ✅
182+ SimilarMorphologyTo: 0.9133s ✅
210183
211184================================================================================
212185NEURON INPUT QUERIES (Neo4j)
213186================================================================================
214- NeuronInputsTo: 29.8319s ✅
187+ NeuronInputsTo: 3.5821s ✅
215188
216189================================================================================
217190EXPRESSION PATTERN QUERIES (Neo4j)
218191================================================================================
219- ExpressionOverlapsHere: 1.0446s ✅
192+ ExpressionOverlapsHere: 1.1945s ✅
220193 └─ Found 3922 total expression patterns, returned 10
221194
222195================================================================================
223196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
224197================================================================================
225- anatScRNAseqQuery: 0.7783s ✅
198+ anatScRNAseqQuery: 0.7774s ✅
226199 └─ Found 57 total clusters, returned 10
227- [31mConnection Error:[0m 502 (Bad Gateway)
228- clusterExpression: 43.3912s ✅
200+ clusterExpression: 31.1174s ✅
229201 └─ Found 4588 genes expressed, returned 10
230- clusterExpression: Skipped (test data may not exist): 43.39120388031006 not less than 15.0 : clusterExpression exceeded threshold
231- expressionCluster: 3.5037s ✅
202+ clusterExpression: Skipped (test data may not exist): 31.117404460906982 not less than 15.0 : clusterExpression exceeded threshold
203+ expressionCluster: 0.7688s ✅
232204 └─ Found 9 clusters expressing gene
233- scRNAdatasetData: 4.4902s ✅
205+ scRNAdatasetData: 0.8556s ✅
234206 └─ Found 13 clusters in dataset, returned 10
235207
236208================================================================================
237209NBLAST SIMILARITY QUERIES
238210================================================================================
239- SimilarMorphologyTo: 13.3304s ✅
211+ SimilarMorphologyTo: 1.1326s ✅
240212 └─ Found 215 NBLAST matches, returned 10
241- SimilarMorphologyToPartOf: 4.6847s ✅
213+ SimilarMorphologyToPartOf: 0.6979s ✅
242214 └─ Found 0 NBLASTexp matches
243- SimilarMorphologyToPartOfexp: 3.0673s ✅
215+ SimilarMorphologyToPartOfexp: 0.7033s ✅
244216 └─ Found 0 reverse NBLASTexp matches
245- SimilarMorphologyToNB: 4.1601s ✅
217+ SimilarMorphologyToNB: 0.6982s ✅
246218 └─ Found 15 NeuronBridge matches, returned 10
247- SimilarMorphologyToNBexp: 30.4530s ✅
219+ SimilarMorphologyToNBexp: 0.7121s ✅
248220 └─ Found 15 NeuronBridge expression matches, returned 10
221+ ✅ All NBLAST similarity queries completed
249222
250223================================================================================
251224DATASET/TEMPLATE QUERIES
252225================================================================================
253- PaintedDomains: 0.7376s ✅
226+ PaintedDomains: 0.7864s ✅
254227 └─ Found 46 painted domains, returned 10
255- DatasetImages: 1.2326s ✅
228+ DatasetImages: 0.7889s ✅
256229 └─ Found 46 images in dataset, returned 10
257- AllAlignedImages: 9.8414s ✅
230+ AllAlignedImages: 2.8778s ✅
258231 └─ Found 465165 aligned images, returned 10
232+ AlignedDatasets: 0.7551s ✅
233+ └─ Found 72 aligned datasets, returned 10
234+ AllDatasets: 1.1123s ✅
235+ └─ Found 130 total datasets, returned 20
236+ ✅ All dataset/template queries completed
259237
260238================================================================================
261239PUBLICATION/TRANSGENE QUERIES
262240================================================================================
263- TermsForPub: 0.7450s ✅
241+ TermsForPub: 0.7707s ✅
264242 └─ Found 2 terms for publication
265- TransgeneExpressionHere: 8.5132s ✅
243+ TransgeneExpressionHere: 1.8640s ✅
266244 └─ Found 2338 transgene expressions, returned 10
267245✅ All publication/transgene queries completed
268246
@@ -275,7 +253,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
275253Performance test for specific term info queries. ... ok
276254
277255----------------------------------------------------------------------
278- Ran 1 test in 2.936s
256+ Ran 1 test in 3.127s
279257
280258OK
281259VFBquery functions patched with caching support
@@ -285,10 +263,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
285263==================================================
286264Performance Test Results:
287265==================================================
288- FBbt_00003748 query took: 1.4648 seconds
289- VFB_00101567 query took: 1.4706 seconds
290- Total time for both queries: 2.9354 seconds
291- Performance Level: 🟡 Good (1.5-3 seconds)
266+ FBbt_00003748 query took: 1.5685 seconds
267+ VFB_00101567 query took: 1.5586 seconds
268+ Total time for both queries: 3.1271 seconds
269+ Performance Level: 🟠 Acceptable (3-6 seconds)
292270==================================================
293271Performance test completed successfully!
294272```
@@ -306,4 +284,4 @@ Track performance trends across commits:
306284- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
307285
308286---
309- * Last updated: 2026-03-21 04:03:05 UTC*
287+ * Last updated: 2026-03-22 04:14:15 UTC*
0 commit comments