11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-23 04:22:43 UTC
4- ** Git Commit:** 91009c3d552cac3e7699d69b829d44c06b67d6b2
3+ ** Test Date:** 2026-03-24 04:16:14 UTC
4+ ** Git Commit:** 0099d5b6a284ab47948fcb5ad319c8bcb5792059
55** Branch:** main
6- ** Workflow Run:** [ 23421308397 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23421308397 )
6+ ** Workflow Run:** [ 23472678251 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23472678251 )
77
88## Test Overview
99
@@ -109,16 +109,43 @@ Test 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 ... ok
112+ Test NBLAST similarity queries ... FAIL
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)
116- Test publication and transgene queries ... ok
116+ Test publication and transgene queries ... FAIL
117+
118+ ======================================================================
119+ FAIL: test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
120+ Test NBLAST similarity queries
121+ ----------------------------------------------------------------------
122+ Traceback (most recent call last):
123+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 535, in test_12_nblast_queries
124+ self.assertLess(duration, self.THRESHOLD_SLOW, "SimilarMorphologyTo exceeded threshold")
125+ AssertionError: 26.695521116256714 not less than 15.0 : SimilarMorphologyTo exceeded threshold
126+
127+ ======================================================================
128+ FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
129+ Test dataset and template queries
130+ ----------------------------------------------------------------------
131+ Traceback (most recent call last):
132+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 646, in test_13_dataset_template_queries
133+ self.assertLess(duration, self.THRESHOLD_MEDIUM, "DatasetImages exceeded threshold")
134+ AssertionError: 7.77028489112854 not less than 3.0 : DatasetImages exceeded threshold
135+
136+ ======================================================================
137+ FAIL: test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
138+ Test publication and transgene queries
139+ ----------------------------------------------------------------------
140+ Traceback (most recent call last):
141+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 745, in test_14_publication_transgene_queries
142+ self.assertLess(duration, self.THRESHOLD_SLOW, "TransgeneExpressionHere exceeded threshold")
143+ AssertionError: 26.72512459754944 not less than 15.0 : TransgeneExpressionHere exceeded threshold
117144
118145----------------------------------------------------------------------
119- Ran 15 tests in 63.515s
146+ Ran 15 tests in 297.093s
120147
121- OK
148+ FAILED (failures=3)
122149VFBquery functions patched with caching support
123150VFBquery: SOLR caching enabled by default (3-month TTL)
124151 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -128,120 +155,106 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128155================================================================================
129156TERM INFO QUERIES
130157================================================================================
131- get_term_info (mushroom body): 1.9706s ✅
132- get_term_info (individual): 1.7976s ✅
158+ get_term_info (mushroom body): 5.0607s ✅
159+ get_term_info (individual): 1.9692s ✅
133160
134161================================================================================
135162NEURON PART OVERLAP QUERIES
136163================================================================================
137- NeuronsPartHere: 2.0756s ✅
164+ NeuronsPartHere: 2.0352s ✅
138165
139166================================================================================
140167SYNAPTIC TERMINAL QUERIES
141168================================================================================
142- NeuronsSynaptic: 1.9558s ✅
143- NeuronsPresynapticHere: 1.4027s ✅
144- NeuronsPostsynapticHere: 1.8855s ✅
145- NeuronNeuronConnectivity: 1.2796s ✅
169+ NeuronsSynaptic: 1.9125s ✅
170+ NeuronsPresynapticHere: 1.7468s ✅
171+ NeuronsPostsynapticHere: 1.6815s ✅
172+ NeuronNeuronConnectivity: 1.5671s ✅
146173
147174================================================================================
148175ANATOMICAL HIERARCHY QUERIES
149176================================================================================
150- ComponentsOf: 1.7084s ✅
151- PartsOf: 1.5158s ✅
152- SubclassesOf: 1.5175s ✅
177+ ComponentsOf: 1.5328s ✅
178+ PartsOf: 1.4387s ✅
179+ SubclassesOf: 1.4515s ✅
153180
154181================================================================================
155182TRACT/NERVE AND LINEAGE QUERIES
156183================================================================================
157- NeuronClassesFasciculatingHere: 1.3647s ✅
158- TractsNervesInnervatingHere: 1.2109s ✅
159- LineageClonesIn: 1.4375s ✅
184+ NeuronClassesFasciculatingHere: 1.4031s ✅
185+ TractsNervesInnervatingHere: 1.3984s ✅
186+ LineageClonesIn: 1.4125s ✅
160187
161188================================================================================
162189IMAGE AND DEVELOPMENTAL QUERIES
163190================================================================================
164- ImagesNeurons: 2.1544s ✅
165- ImagesThatDevelopFrom: 1.2379s ✅
166- epFrag: 1.6778s ✅
191+ ImagesNeurons: 2.4564s ✅
192+ ImagesThatDevelopFrom: 1.4829s ✅
193+ epFrag: 1.4997s ✅
167194
168195================================================================================
169196INSTANCE QUERIES
170197================================================================================
171- ListAllAvailableImages: 1.1886s ✅
198+ ListAllAvailableImages: 1.4237s ✅
172199
173200================================================================================
174201CONNECTIVITY QUERIES
175202================================================================================
176- NeuronNeuronConnectivityQuery: 1.1997s ✅
177- NeuronRegionConnectivityQuery: 1.1907s ✅
203+ NeuronNeuronConnectivityQuery: 1.4471s ✅
204+ NeuronRegionConnectivityQuery: 1.4128s ✅
178205
179206================================================================================
180207SIMILARITY QUERIES (Neo4j NBLAST)
181208================================================================================
182- SimilarMorphologyTo: 0.6607s ✅
209+ SimilarMorphologyTo: 0.7554s ✅
183210
184211================================================================================
185212NEURON INPUT QUERIES (Neo4j)
186213================================================================================
187- NeuronInputsTo: 3.5261s ✅
214+ NeuronInputsTo: 8.9214s ✅
188215
189216================================================================================
190217EXPRESSION PATTERN QUERIES (Neo4j)
191218================================================================================
192- ExpressionOverlapsHere: 0.9017s ✅
219+ ExpressionOverlapsHere: 1.0704s ✅
193220 └─ Found 3922 total expression patterns, returned 10
194221
195222================================================================================
196223TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197224================================================================================
198- anatScRNAseqQuery: 0.6272s ✅
225+ anatScRNAseqQuery: 0.7066s ✅
199226 └─ Found 57 total clusters, returned 10
200- clusterExpression: 3.4564s ✅
227+ clusterExpression: 57.9391s ✅
201228 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 0.7283s ✅
229+ clusterExpression: Skipped (test data may not exist): 57.939138650894165 not less than 15.0 : clusterExpression exceeded threshold
230+ expressionCluster: 31.7104s ✅
203231 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.6192s ✅
232+ expressionCluster: Skipped (test data may not exist): 31.710397720336914 not less than 15.0 : expressionCluster exceeded threshold
233+ scRNAdatasetData: 37.6573s ✅
205234 └─ Found 13 clusters in dataset, returned 10
235+ scRNAdatasetData: Skipped (test data may not exist): 37.657275676727295 not less than 15.0 : scRNAdatasetData exceeded threshold
206236
207237================================================================================
208238NBLAST SIMILARITY QUERIES
209239================================================================================
210- SimilarMorphologyTo: 0.8103s ✅
240+ SimilarMorphologyTo: 26.6955s ✅
211241 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.6934s ✅
213- └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.5668s ✅
215- └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.7522s ✅
217- └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.5673s ✅
219- └─ Found 15 NeuronBridge expression matches, returned 10
220- ✅ All NBLAST similarity queries completed
221242
222243================================================================================
223244DATASET/TEMPLATE QUERIES
224245================================================================================
225- PaintedDomains: 0.5917s ✅
246+ PaintedDomains: 0.7183s ✅
226247 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.6075s ✅
248+ DatasetImages: 7.7703s ✅
228249 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.8524s ✅
230- └─ Found 465165 aligned images, returned 10
231- AlignedDatasets: 0.6080s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 0.9871s ✅
234- └─ Found 130 total datasets, returned 20
235- ✅ All dataset/template queries completed
236250
237251================================================================================
238252PUBLICATION/TRANSGENE QUERIES
239253================================================================================
240- TermsForPub: 0.5897s ✅
254+ TermsForPub: 0.7170s ✅
241255 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 1.4857s ✅
243- └─ Found 2338 transgene expressions, returned 10
244- ✅ All publication/transgene queries completed
256+ TransgeneExpressionHere: 26.7251s ✅
257+ └─ Found 2340 transgene expressions, returned 10
245258
246259================================================================================
247260PERFORMANCE TEST SUMMARY
@@ -252,7 +265,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252265Performance test for specific term info queries. ... ok
253266
254267----------------------------------------------------------------------
255- Ran 1 test in 2.445s
268+ Ran 1 test in 2.913s
256269
257270OK
258271VFBquery functions patched with caching support
@@ -262,9 +275,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262275==================================================
263276Performance Test Results:
264277==================================================
265- FBbt_00003748 query took: 1.2413 seconds
266- VFB_00101567 query took: 1.2033 seconds
267- Total time for both queries: 2.4445 seconds
278+ FBbt_00003748 query took: 1.4277 seconds
279+ VFB_00101567 query took: 1.4844 seconds
280+ Total time for both queries: 2.9121 seconds
268281Performance Level: 🟡 Good (1.5-3 seconds)
269282==================================================
270283Performance test completed successfully!
@@ -283,4 +296,4 @@ Track performance trends across commits:
283296- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
284297
285298---
286- * Last updated: 2026-03-23 04:22:43 UTC*
299+ * Last updated: 2026-03-24 04:16:14 UTC*
0 commit comments