11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-12 04:08:32 UTC
4- ** Git Commit:** 9d04341933ac95062745b608d9b3c763fd397ec1
3+ ** Test Date:** 2026-03-12 07:50:46 UTC
4+ ** Git Commit:** 32f20df57137ba3bbafab75dec3d4ba411eedbd3
55** Branch:** main
6- ** Workflow Run:** [ 22986107998 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22986107998 )
6+ ** Workflow Run:** [ 22991749861 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22991749861 )
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 73.551s
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: 3.8431692123413086 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121- OK
127+ ----------------------------------------------------------------------
128+ Ran 15 tests in 119.899s
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.8556s ✅
132- get_term_info (individual): 1.6380s ✅
140+ get_term_info (mushroom body): 3.0132s ✅
141+ get_term_info (individual): 2.5560s ✅
133142
134143================================================================================
135144NEURON PART OVERLAP QUERIES
136145================================================================================
137- NeuronsPartHere: 2.0477s ✅
146+ NeuronsPartHere: 2.5068s ✅
138147
139148================================================================================
140149SYNAPTIC TERMINAL QUERIES
141150================================================================================
142- NeuronsSynaptic: 1.5014s ✅
143- NeuronsPresynapticHere: 1.9051s ✅
144- NeuronsPostsynapticHere: 1.7048s ✅
145- NeuronNeuronConnectivity: 1.7433s ✅
151+ NeuronsSynaptic: 2.6878s ✅
152+ NeuronsPresynapticHere: 1.9972s ✅
153+ NeuronsPostsynapticHere: 2.4136s ✅
154+ NeuronNeuronConnectivity: 2.3535s ✅
146155
147156================================================================================
148157ANATOMICAL HIERARCHY QUERIES
149158================================================================================
150- ComponentsOf: 1.2260s ✅
151- PartsOf: 1.5777s ✅
152- SubclassesOf: 1.2351s ✅
159+ ComponentsOf: 2.1149s ✅
160+ PartsOf: 2.1400s ✅
161+ SubclassesOf: 1.9167s ✅
153162
154163================================================================================
155164TRACT/NERVE AND LINEAGE QUERIES
156165================================================================================
157- NeuronClassesFasciculatingHere: 1.2614s ✅
158- TractsNervesInnervatingHere: 1.5402s ✅
159- LineageClonesIn: 1.3502s ✅
166+ NeuronClassesFasciculatingHere: 2.0180s ✅
167+ TractsNervesInnervatingHere: 1.9509s ✅
168+ LineageClonesIn: 1.9476s ✅
160169
161170================================================================================
162171IMAGE AND DEVELOPMENTAL QUERIES
163172================================================================================
164- ImagesNeurons: 2.4261s ✅
165- ImagesThatDevelopFrom: 1.3782s ✅
166- epFrag: 1.4841s ✅
173+ ImagesNeurons: 3.4373s ✅
174+ ImagesThatDevelopFrom: 2.0179s ✅
175+ epFrag: 1.9777s ✅
167176
168177================================================================================
169178INSTANCE QUERIES
170179================================================================================
171- ListAllAvailableImages: 1.2512s ✅
180+ ListAllAvailableImages: 1.9781s ✅
172181
173182================================================================================
174183CONNECTIVITY QUERIES
175184================================================================================
176- NeuronNeuronConnectivityQuery: 1.2719s ✅
177- NeuronRegionConnectivityQuery: 1.2731s ✅
185+ NeuronNeuronConnectivityQuery: 1.9420s ✅
186+ NeuronRegionConnectivityQuery: 1.9363s ✅
178187
179188================================================================================
180189SIMILARITY QUERIES (Neo4j NBLAST)
181190================================================================================
182- SimilarMorphologyTo: 0.6646s ✅
191+ SimilarMorphologyTo: 1.0292s ✅
183192
184193================================================================================
185194NEURON INPUT QUERIES (Neo4j)
186195================================================================================
187- NeuronInputsTo: 5.1522s ✅
196+ NeuronInputsTo: 3.2484s ✅
188197
189198================================================================================
190199EXPRESSION PATTERN QUERIES (Neo4j)
191200================================================================================
192- ExpressionOverlapsHere: 0.9269s ✅
201+ ExpressionOverlapsHere: 1.3670s ✅
193202 └─ Found 3922 total expression patterns, returned 10
194203
195204================================================================================
196205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206================================================================================
198- anatScRNAseqQuery: 0.6264s ✅
207+ anatScRNAseqQuery: 1.0158s ✅
199208 └─ Found 57 total clusters, returned 10
200- clusterExpression: 6.7040s ✅
209+ clusterExpression: 40.8975s ✅
201210 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 0.6950s ✅
211+ clusterExpression: Skipped (test data may not exist): 40.89745473861694 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 0.9319s ✅
203213 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.8030s ✅
214+ scRNAdatasetData: 0.7729s ✅
205215 └─ Found 13 clusters in dataset, returned 10
206216
207217================================================================================
208218NBLAST SIMILARITY QUERIES
209219================================================================================
210- SimilarMorphologyTo: 0.8279s ✅
220+ SimilarMorphologyTo: 1.2162s ✅
211221 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.5980s ✅
222+ SimilarMorphologyToPartOf: 0.7895s ✅
213223 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.6737s ✅
224+ SimilarMorphologyToPartOfexp: 0.7605s ✅
215225 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.6534s ✅
226+ SimilarMorphologyToNB: 0.8613s ✅
217227 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.6303s ✅
228+ SimilarMorphologyToNBexp: 0.7655s ✅
219229 └─ Found 15 NeuronBridge expression matches, returned 10
220230✅ All NBLAST similarity queries completed
221231
222232================================================================================
223233DATASET/TEMPLATE QUERIES
224234================================================================================
225- PaintedDomains: 0.6446s ✅
235+ PaintedDomains: 0.9610s ✅
226236 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.7595s ✅
237+ DatasetImages: 0.8894s ✅
228238 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.9863s ✅
239+ AllAlignedImages: 3.8432s ✅
230240 └─ Found 546915 aligned images, returned 10
231- AlignedDatasets: 0.6395s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 0.7460s ✅
234- └─ Found 128 total datasets, returned 20
235- ✅ All dataset/template queries completed
236241
237242================================================================================
238243PUBLICATION/TRANSGENE QUERIES
239244================================================================================
240- TermsForPub: 0.6082s ✅
245+ TermsForPub: 0.9519s ✅
241246 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 2.2009s ✅
247+ TransgeneExpressionHere: 2.2178s ✅
243248 └─ Found 2350 transgene expressions, returned 10
244249✅ All publication/transgene queries completed
245250
@@ -252,7 +257,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252257Performance test for specific term info queries. ... ok
253258
254259----------------------------------------------------------------------
255- Ran 1 test in 2.536s
260+ Ran 1 test in 4.065s
256261
257262OK
258263VFBquery functions patched with caching support
@@ -262,10 +267,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262267==================================================
263268Performance Test Results:
264269==================================================
265- FBbt_00003748 query took: 1.2508 seconds
266- VFB_00101567 query took: 1.2851 seconds
267- Total time for both queries: 2.5358 seconds
268- Performance Level: 🟡 Good (1.5-3 seconds)
270+ FBbt_00003748 query took: 2.0281 seconds
271+ VFB_00101567 query took: 2.0361 seconds
272+ Total time for both queries: 4.0642 seconds
273+ Performance Level: 🟠 Acceptable (3-6 seconds)
269274==================================================
270275Performance test completed successfully!
271276```
@@ -283,4 +288,4 @@ Track performance trends across commits:
283288- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
284289
285290---
286- * Last updated: 2026-03-12 04:08:32 UTC*
291+ * Last updated: 2026-03-12 07:50:46 UTC*
0 commit comments