11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-02-04 06:09:12 UTC
4- ** Git Commit:** 256037101456dddad887b37c6e0784331a14cb8f
3+ ** Test Date:** 2026-02-04 07:03:47 UTC
4+ ** Git Commit:** 7461c9421b5df86b0ef8c43cddb97e807b5ba9eb
55** Branch:** main
6- ** Workflow Run:** [ 21660278920 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21660278920 )
6+ ** Workflow Run:** [ 21661464463 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21661464463 )
77
88## Test Overview
99
@@ -99,15 +99,15 @@ Test image and developmental lineage queries ... ok
9999test_06_instance_queries (src.test.test_query_performance.QueryPerformanceTest)
100100Test instance retrieval queries ... ok
101101test_07_connectivity_queries (src.test.test_query_performance.QueryPerformanceTest)
102- Test neuron connectivity queries ... ok
102+ Test neuron connectivity queries ... FAIL
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 ... ok
106+ Test neuron input/synapse queries ... FAIL
107107test_10_expression_queries (src.test.test_query_performance.QueryPerformanceTest)
108- Test expression pattern queries ... FAIL
108+ Test expression pattern queries ... ok
109109test_11_transcriptomics_queries (src.test.test_query_performance.QueryPerformanceTest)
110- Test scRNAseq transcriptomics queries ... FAIL
110+ Test scRNAseq transcriptomics queries ... ok
111111test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112112Test NBLAST similarity queries ... FAIL
113113test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -116,52 +116,52 @@ test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerf
116116Test publication and transgene queries ... FAIL
117117
118118======================================================================
119- FAIL: test_10_expression_queries (src.test.test_query_performance.QueryPerformanceTest)
120- Test expression pattern queries
119+ FAIL: test_07_connectivity_queries (src.test.test_query_performance.QueryPerformanceTest)
120+ Test neuron connectivity queries
121121----------------------------------------------------------------------
122122Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 405 , in test_10_expression_queries
124- self.assertLess(duration, self.THRESHOLD_SLOW, "ExpressionOverlapsHere exceeded threshold")
125- AssertionError: 270.581166267395 not less than 15.0 : ExpressionOverlapsHere exceeded threshold
123+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 339 , in test_07_connectivity_queries
124+ self.assertLess(duration, self.THRESHOLD_SLOW, "NeuronNeuronConnectivityQuery exceeded threshold")
125+ AssertionError: 15.474886417388916 not less than 15.0 : NeuronNeuronConnectivityQuery exceeded threshold
126126
127127======================================================================
128- FAIL: test_11_transcriptomics_queries (src.test.test_query_performance.QueryPerformanceTest)
129- Test scRNAseq transcriptomics queries
128+ FAIL: test_09_neuron_input_queries (src.test.test_query_performance.QueryPerformanceTest)
129+ Test neuron input/synapse queries
130130----------------------------------------------------------------------
131131Traceback (most recent call last):
132- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 428 , in test_11_transcriptomics_queries
133- self.assertLess(duration, self.THRESHOLD_SLOW, "anatScRNAseqQuery exceeded threshold")
134- AssertionError: 134.35534644126892 not less than 15.0 : anatScRNAseqQuery exceeded threshold
132+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 386 , in test_09_neuron_input_queries
133+ self.assertLess(duration, self.THRESHOLD_SLOW, "NeuronInputsTo exceeded threshold")
134+ AssertionError: 271.8876049518585 not less than 15.0 : NeuronInputsTo exceeded threshold
135135
136136======================================================================
137137FAIL: test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
138138Test NBLAST similarity queries
139139----------------------------------------------------------------------
140140Traceback (most recent call last):
141- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 511 , in test_12_nblast_queries
141+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 529 , in test_12_nblast_queries
142142 self.assertLess(duration, self.THRESHOLD_SLOW, "SimilarMorphologyTo exceeded threshold")
143- AssertionError: 135.66204023361206 not less than 15.0 : SimilarMorphologyTo exceeded threshold
143+ AssertionError: 134.34544587135315 not less than 15.0 : SimilarMorphologyTo exceeded threshold
144144
145145======================================================================
146146FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
147147Test dataset and template queries
148148----------------------------------------------------------------------
149149Traceback (most recent call last):
150- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 644 , in test_13_dataset_template_queries
151- self.assertLess(duration, self.THRESHOLD_MEDIUM, "AlignedDatasets exceeded threshold")
152- AssertionError: 137.1937117576599 not less than 3.0 : AlignedDatasets exceeded threshold
150+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 620 , in test_13_dataset_template_queries
151+ self.assertLess(duration, self.THRESHOLD_MEDIUM, "PaintedDomains exceeded threshold")
152+ AssertionError: 135.21769070625305 not less than 3.0 : PaintedDomains exceeded threshold
153153
154154======================================================================
155155FAIL: test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
156156Test publication and transgene queries
157157----------------------------------------------------------------------
158158Traceback (most recent call last):
159- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 689 , in test_14_publication_transgene_queries
159+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 719 , in test_14_publication_transgene_queries
160160 self.assertLess(duration, self.THRESHOLD_MEDIUM, "TermsForPub exceeded threshold")
161- AssertionError: 134.277663230896 not less than 3.0 : TermsForPub exceeded threshold
161+ AssertionError: 7.965057611465454 not less than 3.0 : TermsForPub exceeded threshold
162162
163163----------------------------------------------------------------------
164- Ran 15 tests in 978.309s
164+ Ran 15 tests in 1175.088s
165165
166166FAILED (failures=5)
167167VFBquery functions patched with caching support
@@ -173,98 +173,99 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
173173================================================================================
174174TERM INFO QUERIES
175175================================================================================
176- get_term_info (mushroom body): 3.6808s ✅
177- get_term_info (individual): 15.6306s ✅
176+ get_term_info (mushroom body): 12.3094s ✅
177+ get_term_info (individual): 14.3020s ✅
178178
179179================================================================================
180180NEURON PART OVERLAP QUERIES
181181================================================================================
182- NeuronsPartHere: 5.7739s ✅
182+ NeuronsPartHere: 9.2128s ✅
183183
184184================================================================================
185185SYNAPTIC TERMINAL QUERIES
186186================================================================================
187- NeuronsSynaptic: 11.7498s ✅
188- NeuronsPresynapticHere: 13.4155s ✅
189- NeuronsPostsynapticHere: 3.6961s ✅
190- NeuronNeuronConnectivity: 3.4863s ✅
187+ NeuronsSynaptic: 16.4876s ✅
188+ NeuronsPresynapticHere: 10.8258s ✅
189+ NeuronsPostsynapticHere: 10.8720s ✅
190+ NeuronNeuronConnectivity: 3.5042s ✅
191191
192192================================================================================
193193ANATOMICAL HIERARCHY QUERIES
194194================================================================================
195- ComponentsOf: 10.2932s ✅
196- PartsOf: 10.3107s ✅
197- SubclassesOf: 3.2141s ✅
195+ ComponentsOf: 10.7604s ✅
196+ PartsOf: 13.4751s ✅
197+ SubclassesOf: 3.6152s ✅
198198
199199================================================================================
200200TRACT/NERVE AND LINEAGE QUERIES
201201================================================================================
202- NeuronClassesFasciculatingHere: 13.2090s ✅
203- TractsNervesInnervatingHere: 11.7252s ✅
204- LineageClonesIn: 8.5858s ✅
202+ NeuronClassesFasciculatingHere: 5.8635s ✅
203+ TractsNervesInnervatingHere: 9.1916s ✅
204+ LineageClonesIn: 13.5476s ✅
205205
206206================================================================================
207207IMAGE AND DEVELOPMENTAL QUERIES
208208================================================================================
209- ImagesNeurons: 11.1326s ✅
210- ImagesThatDevelopFrom: 3.2804s ✅
211- epFrag: 3.2459s ✅
209+ ImagesNeurons: 11.6006s ✅
210+ ImagesThatDevelopFrom: 6.5156s ✅
211+ epFrag: 13.6673s ✅
212212
213213================================================================================
214214INSTANCE QUERIES
215215================================================================================
216- ListAllAvailableImages: 8.2087s ✅
216+ ListAllAvailableImages: 6.5015s ✅
217217
218218================================================================================
219219CONNECTIVITY QUERIES
220220================================================================================
221- NeuronNeuronConnectivityQuery: 11.2312s ✅
222- NeuronRegionConnectivityQuery: 8.2039s ✅
221+ NeuronNeuronConnectivityQuery: 15.4749s ✅
223222
224223================================================================================
225224SIMILARITY QUERIES (Neo4j NBLAST)
226225================================================================================
227- SimilarMorphologyTo: 0.6583s ✅
226+ SimilarMorphologyTo: 0.7910s ✅
228227
229228================================================================================
230229NEURON INPUT QUERIES (Neo4j)
231230================================================================================
232- NeuronInputsTo: 3.0970s ✅
231+ NeuronInputsTo: 271.8876s ✅
233232
234233================================================================================
235234EXPRESSION PATTERN QUERIES (Neo4j)
236235================================================================================
237- ExpressionOverlapsHere: 270.5812s ✅
236+ ExpressionOverlapsHere: 3.3127s ✅
238237 └─ Found 3922 total expression patterns, returned 10
239238
240239================================================================================
241240TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
242241================================================================================
243- anatScRNAseqQuery: 134.3553s ✅
242+ anatScRNAseqQuery: 0.9126s ✅
244243 └─ Found 0 total clusters
244+ clusterExpression: 134.2936s ✅
245+ └─ Found 0 genes expressed
246+ clusterExpression: Skipped (test data may not exist): 134.2936291694641 not less than 15.0 : clusterExpression exceeded threshold
247+ expressionCluster: 135.1741s ✅
248+ └─ Found 0 clusters expressing gene
249+ expressionCluster: Skipped (test data may not exist): 135.1741271018982 not less than 15.0 : expressionCluster exceeded threshold
250+ scRNAdatasetData: 0.6091s ✅
251+ └─ Found 0 clusters in dataset
245252
246253================================================================================
247254NBLAST SIMILARITY QUERIES
248255================================================================================
249- SimilarMorphologyTo: 135.6620s ✅
256+ SimilarMorphologyTo: 134.3454s ✅
250257 └─ Found 215 NBLAST matches, returned 10
251258
252259================================================================================
253260DATASET/TEMPLATE QUERIES
254261================================================================================
255- PaintedDomains: 1.2767s ✅
262+ PaintedDomains: 135.2177s ✅
256263 └─ Found 0 painted domains
257- DatasetImages: 0.5212s ✅
258- └─ Found 0 images in dataset
259- AllAlignedImages: 0.6072s ✅
260- └─ Found 0 aligned images
261- AlignedDatasets: 137.1937s ✅
262- └─ Found 0 aligned datasets
263264
264265================================================================================
265266PUBLICATION/TRANSGENE QUERIES
266267================================================================================
267- TermsForPub: 134.2777s ✅
268+ TermsForPub: 7.9651s ✅
268269 └─ Found 0 terms for publication
269270
270271================================================================================
@@ -280,12 +281,12 @@ FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQuerie
280281Performance test for specific term info queries.
281282----------------------------------------------------------------------
282283Traceback (most recent call last):
283- File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590 , in test_term_info_performance
284- self.assertLess(duration_1 , max_single_query_time,
285- AssertionError: 8.86942744255066 not less than 5 .0 : FBbt_00003748 query took 8.8694s , exceeding 5 .0s threshold
284+ File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 592 , in test_term_info_performance
285+ self.assertLess(duration_2 , max_single_query_time,
286+ AssertionError: 15.804726600646973 not less than 10 .0 : VFB_00101567 query took 15.8047s , exceeding 10 .0s threshold
286287
287288----------------------------------------------------------------------
288- Ran 1 test in 12.784s
289+ Ran 1 test in 19.593s
289290
290291FAILED (failures=1)
291292VFBquery functions patched with caching support
@@ -295,9 +296,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
295296==================================================
296297Performance Test Results:
297298==================================================
298- FBbt_00003748 query took: 8.8694 seconds
299- VFB_00101567 query took: 3.9138 seconds
300- Total time for both queries: 12.7832 seconds
299+ FBbt_00003748 query took: 3.7878 seconds
300+ VFB_00101567 query took: 15.8047 seconds
301+ Total time for both queries: 19.5925 seconds
301302Performance Level: 🔴 Slow (> 6 seconds)
302303==================================================
303304```
@@ -315,4 +316,4 @@ Track performance trends across commits:
315316- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
316317
317318---
318- * Last updated: 2026-02-04 06:09:12 UTC*
319+ * Last updated: 2026-02-04 07:03:47 UTC*
0 commit comments