11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-02-04 12:22:27 UTC
4- ** Git Commit:** 06559a9a79d43130afd523ed39c2ea63e717bb96
3+ ** Test Date:** 2026-02-04 19:15:54 UTC
4+ ** Git Commit:** 347e3fbfa03a171d6eaad83a94bee4e6e0ca4974
55** Branch:** main
6- ** Workflow Run:** [ 21671211466 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21671211466 )
6+ ** Workflow Run:** [ 21684839278 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21684839278 )
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 75.656s
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: 5.788266658782959 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121- OK
127+ ----------------------------------------------------------------------
128+ Ran 15 tests in 129.071s
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): 3.0154s ✅
132- get_term_info (individual): 2.3973s ✅
140+ get_term_info (mushroom body): 2.7922s ✅
141+ get_term_info (individual): 2.4823s ✅
133142
134143================================================================================
135144NEURON PART OVERLAP QUERIES
136145================================================================================
137- NeuronsPartHere: 2.1980s ✅
146+ NeuronsPartHere: 2.5871s ✅
138147
139148================================================================================
140149SYNAPTIC TERMINAL QUERIES
141150================================================================================
142- NeuronsSynaptic: 2.3578s ✅
143- NeuronsPresynapticHere: 1.8445s ✅
144- NeuronsPostsynapticHere: 2.1666s ✅
145- NeuronNeuronConnectivity: 1.8148s ✅
151+ NeuronsSynaptic: 2.4935s ✅
152+ NeuronsPresynapticHere: 2.2946s ✅
153+ NeuronsPostsynapticHere: 2.2910s ✅
154+ NeuronNeuronConnectivity: 2.1211s ✅
146155
147156================================================================================
148157ANATOMICAL HIERARCHY QUERIES
149158================================================================================
150- ComponentsOf: 1.8139s ✅
151- PartsOf: 1.8362s ✅
152- SubclassesOf: 1.7836s ✅
159+ ComponentsOf: 1.9615s ✅
160+ PartsOf: 2.0212s ✅
161+ SubclassesOf: 1.9747s ✅
153162
154163================================================================================
155164TRACT/NERVE AND LINEAGE QUERIES
156165================================================================================
157- NeuronClassesFasciculatingHere: 1.8310s ✅
158- TractsNervesInnervatingHere: 1.8334s ✅
159- LineageClonesIn: 1.8157s ✅
166+ NeuronClassesFasciculatingHere: 1.9209s ✅
167+ TractsNervesInnervatingHere: 1.9600s ✅
168+ LineageClonesIn: 2.1855s ✅
160169
161170================================================================================
162171IMAGE AND DEVELOPMENTAL QUERIES
163172================================================================================
164- ImagesNeurons: 3.0411s ✅
165- ImagesThatDevelopFrom: 2.0473s ✅
166- epFrag: 1.8177s ✅
173+ ImagesNeurons: 3.2784s ✅
174+ ImagesThatDevelopFrom: 2.0427s ✅
175+ epFrag: 1.9753s ✅
167176
168177================================================================================
169178INSTANCE QUERIES
170179================================================================================
171- ListAllAvailableImages: 1.8402s ✅
180+ ListAllAvailableImages: 1.9490s ✅
172181
173182================================================================================
174183CONNECTIVITY QUERIES
175184================================================================================
176- NeuronNeuronConnectivityQuery: 1.8952s ✅
177- NeuronRegionConnectivityQuery: 1.8167s ✅
185+ NeuronNeuronConnectivityQuery: 1.9826s ✅
186+ NeuronRegionConnectivityQuery: 1.9815s ✅
178187
179188================================================================================
180189SIMILARITY QUERIES (Neo4j NBLAST)
181190================================================================================
182- SimilarMorphologyTo: 1.0869s ✅
191+ SimilarMorphologyTo: 1.1560s ✅
183192
184193================================================================================
185194NEURON INPUT QUERIES (Neo4j)
186195================================================================================
187- NeuronInputsTo: 3.1926s ✅
196+ NeuronInputsTo: 3.1656s ✅
188197
189198================================================================================
190199EXPRESSION PATTERN QUERIES (Neo4j)
191200================================================================================
192- ExpressionOverlapsHere: 1.2667s ✅
201+ ExpressionOverlapsHere: 1.3364s ✅
193202 └─ Found 3922 total expression patterns, returned 10
194203
195204================================================================================
196205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206================================================================================
198- anatScRNAseqQuery: 0.8970s ✅
207+ anatScRNAseqQuery: 0.9989s ✅
199208 └─ Found 57 total clusters, returned 10
200- clusterExpression: 0.9613s ✅
209+ clusterExpression: 36.8724s ✅
201210 └─ Found 4589 genes expressed, returned 10
202- expressionCluster: 0.7508s ✅
211+ clusterExpression: Skipped (test data may not exist): 36.87243103981018 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 0.9940s ✅
203213 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.7180s ✅
214+ scRNAdatasetData: 0.9422s ✅
205215 └─ Found 13 clusters in dataset, returned 10
206216
207217================================================================================
208218NBLAST SIMILARITY QUERIES
209219================================================================================
210- SimilarMorphologyTo: 1.0810s ✅
220+ SimilarMorphologyTo: 1.0773s ✅
211221 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.8339s ✅
222+ SimilarMorphologyToPartOf: 0.9308s ✅
213223 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.7011s ✅
224+ SimilarMorphologyToPartOfexp: 0.8135s ✅
215225 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.7018s ✅
226+ SimilarMorphologyToNB: 1.4490s ✅
217227 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.8286s ✅
228+ SimilarMorphologyToNBexp: 0.7703s ✅
219229 └─ Found 15 NeuronBridge expression matches, returned 10
220230✅ All NBLAST similarity queries completed
221231
222232================================================================================
223233DATASET/TEMPLATE QUERIES
224234================================================================================
225- PaintedDomains: 0.8968s ✅
235+ PaintedDomains: 0.9700s ✅
226236 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.7212s ✅
237+ DatasetImages: 0.9247s ✅
228238 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.2622s ✅
239+ AllAlignedImages: 5.7883s ✅
230240 └─ Found 378914 aligned images, returned 10
231- AlignedDatasets: 0.9065s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 0.9817s ✅
234- └─ Found 116 total datasets, returned 20
235- ✅ All dataset/template queries completed
236241
237242================================================================================
238243PUBLICATION/TRANSGENE QUERIES
239244================================================================================
240- TermsForPub: 0.8926s ✅
245+ TermsForPub: 1.0230s ✅
241246 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 1.6795s ✅
247+ TransgeneExpressionHere: 1.9417s ✅
243248 └─ Found 2346 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 3.681s
260+ Ran 1 test in 3.944s
256261
257262OK
258263VFBquery functions patched with caching support
@@ -262,9 +267,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262267==================================================
263268Performance Test Results:
264269==================================================
265- FBbt_00003748 query took: 1.8694 seconds
266- VFB_00101567 query took: 1.8115 seconds
267- Total time for both queries: 3.6809 seconds
270+ FBbt_00003748 query took: 1.9490 seconds
271+ VFB_00101567 query took: 1.9940 seconds
272+ Total time for both queries: 3.9429 seconds
268273Performance Level: 🟠 Acceptable (3-6 seconds)
269274==================================================
270275Performance test completed successfully!
@@ -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-02-04 12:22:27 UTC*
291+ * Last updated: 2026-02-04 19:15:54 UTC*
0 commit comments