11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-16 04:34:48 UTC
4- ** Git Commit:** d6a6a34ede99852dd7cab524b37be9cfe3d335e9
3+ ** Test Date:** 2026-03-17 04:12:33 UTC
4+ ** Git Commit:** ecf772a81b1b0ef45846feab45e6484f2a755866
55** Branch:** main
6- ** Workflow Run:** [ 23128064619 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23128064619 )
6+ ** Workflow Run:** [ 23177995694 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23177995694 )
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 79.004s
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: 9.165982246398926 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121- OK
127+ ----------------------------------------------------------------------
128+ Ran 15 tests in 111.568s
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,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137================================================================================
129138TERM INFO QUERIES
130139================================================================================
131- get_term_info (mushroom body): 2.0470s ✅
132- get_term_info (individual): 2.0415s ✅
140+ get_term_info (mushroom body): 2.6529s ✅
141+ get_term_info (individual): 2.6187s ✅
133142
134143================================================================================
135144NEURON PART OVERLAP QUERIES
136145================================================================================
137- NeuronsPartHere: 2.1872s ✅
146+ NeuronsPartHere: 2.6691s ✅
138147
139148================================================================================
140149SYNAPTIC TERMINAL QUERIES
141150================================================================================
142- NeuronsSynaptic: 2.3873s ✅
143- NeuronsPresynapticHere: 2.1083s ✅
144- NeuronsPostsynapticHere: 2.3038s ✅
145- NeuronNeuronConnectivity: 1.7351s ✅
151+ NeuronsSynaptic: 2.6136s ✅
152+ NeuronsPresynapticHere: 1.9302s ✅
153+ NeuronsPostsynapticHere: 2.2343s ✅
154+ NeuronNeuronConnectivity: 2.1971s ✅
146155
147156================================================================================
148157ANATOMICAL HIERARCHY QUERIES
149158================================================================================
150- ComponentsOf: 1.8165s ✅
151- PartsOf: 2.0255s ✅
152- SubclassesOf: 1.4821s ✅
159+ ComponentsOf: 1.9027s ✅
160+ PartsOf: 1.9178s ✅
161+ SubclassesOf: 1.9144s ✅
153162
154163================================================================================
155164TRACT/NERVE AND LINEAGE QUERIES
156165================================================================================
157- NeuronClassesFasciculatingHere: 1.6896s ✅
158- TractsNervesInnervatingHere: 1.8119s ✅
159- LineageClonesIn: 1.5786s ✅
166+ NeuronClassesFasciculatingHere: 2.1520s ✅
167+ TractsNervesInnervatingHere: 1.8904s ✅
168+ LineageClonesIn: 1.9157s ✅
160169
161170================================================================================
162171IMAGE AND DEVELOPMENTAL QUERIES
163172================================================================================
164- ImagesNeurons: 2.7756s ✅
165- ImagesThatDevelopFrom: 1.6033s ✅
166- epFrag: 1.6554s ✅
173+ ImagesNeurons: 3.2833s ✅
174+ ImagesThatDevelopFrom: 1.9688s ✅
175+ epFrag: 1.8826s ✅
167176
168177================================================================================
169178INSTANCE QUERIES
170179================================================================================
171- ListAllAvailableImages: 1.5011s ✅
180+ ListAllAvailableImages: 1.9361s ✅
172181
173182================================================================================
174183CONNECTIVITY QUERIES
175184================================================================================
176- NeuronNeuronConnectivityQuery: 1.5475s ✅
177- NeuronRegionConnectivityQuery: 1.5677s ✅
185+ NeuronNeuronConnectivityQuery: 2.1529s ✅
186+ NeuronRegionConnectivityQuery: 1.9041s ✅
178187
179188================================================================================
180189SIMILARITY QUERIES (Neo4j NBLAST)
181190================================================================================
182- SimilarMorphologyTo: 0.8035s ✅
191+ SimilarMorphologyTo: 1.0290s ✅
183192
184193================================================================================
185194NEURON INPUT QUERIES (Neo4j)
186195================================================================================
187- NeuronInputsTo: 2.8880s ✅
196+ NeuronInputsTo: 3.5305s ✅
188197
189198================================================================================
190199EXPRESSION PATTERN QUERIES (Neo4j)
191200================================================================================
192- ExpressionOverlapsHere: 1.1248s ✅
201+ ExpressionOverlapsHere: 1.3952s ✅
193202 └─ Found 3922 total expression patterns, returned 10
194203
195204================================================================================
196205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206================================================================================
198- anatScRNAseqQuery: 0.7346s ✅
207+ anatScRNAseqQuery: 0.9648s ✅
199208 └─ Found 57 total clusters, returned 10
200- clusterExpression: 2.5141s ✅
209+ clusterExpression: 9.5214s ✅
201210 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 3.8211s ✅
211+ expressionCluster: 2.5063s ✅
203212 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.8447s ✅
213+ scRNAdatasetData: 0.9453s ✅
205214 └─ Found 13 clusters in dataset, returned 10
206215
207216================================================================================
208217NBLAST SIMILARITY QUERIES
209218================================================================================
210- SimilarMorphologyTo: 1.0723s ✅
219+ SimilarMorphologyTo: 1.1671s ✅
211220 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 2.1430s ✅
221+ SimilarMorphologyToPartOf: 1.0138s ✅
213222 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.8361s ✅
223+ SimilarMorphologyToPartOfexp: 1.3917s ✅
215224 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.7804s ✅
225+ SimilarMorphologyToNB: 0.9049s ✅
217226 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.7199s ✅
227+ SimilarMorphologyToNBexp: 1.6948s ✅
219228 └─ Found 15 NeuronBridge expression matches, returned 10
220229✅ All NBLAST similarity queries completed
221230
222231================================================================================
223232DATASET/TEMPLATE QUERIES
224233================================================================================
225- PaintedDomains: 0.7904s ✅
234+ PaintedDomains: 0.9921s ✅
226235 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.7554s ✅
236+ DatasetImages: 0.8796s ✅
228237 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.6616s ✅
238+ AllAlignedImages: 9.1660s ✅
230239 └─ Found 465165 aligned images, returned 10
231- AlignedDatasets: 0.7688s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 1.0852s ✅
234- └─ Found 130 total datasets, returned 20
235- ✅ All dataset/template queries completed
236240
237241================================================================================
238242PUBLICATION/TRANSGENE QUERIES
239243================================================================================
240- TermsForPub: 0.7978s ✅
244+ TermsForPub: 0.9820s ✅
241245 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 1.5406s ✅
246+ TransgeneExpressionHere: 6.0167s ✅
243247 └─ Found 2338 transgene expressions, returned 10
244248✅ All publication/transgene queries completed
245249
@@ -252,7 +256,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252256Performance test for specific term info queries. ... ok
253257
254258----------------------------------------------------------------------
255- Ran 1 test in 3.128s
259+ Ran 1 test in 3.922s
256260
257261OK
258262VFBquery functions patched with caching support
@@ -262,9 +266,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262266==================================================
263267Performance Test Results:
264268==================================================
265- FBbt_00003748 query took: 1.5723 seconds
266- VFB_00101567 query took: 1.5554 seconds
267- Total time for both queries: 3.1276 seconds
269+ FBbt_00003748 query took: 1.9404 seconds
270+ VFB_00101567 query took: 1.9805 seconds
271+ Total time for both queries: 3.9210 seconds
268272Performance Level: 🟠 Acceptable (3-6 seconds)
269273==================================================
270274Performance test completed successfully!
@@ -283,4 +287,4 @@ Track performance trends across commits:
283287- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
284288
285289---
286- * Last updated: 2026-03-16 04:34:48 UTC*
290+ * Last updated: 2026-03-17 04:12:33 UTC*
0 commit comments