11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 23:41:38 UTC
4- ** Git Commit:** d36ddb5078453129046804bdf1a50c44f98a2c63
3+ ** Test Date:** 2026-03-11 23:52:41 UTC
4+ ** Git Commit:** bbf0d3fafd9cbe55513c8b221a0d1268a59fd70c
55** Branch:** main
6- ** Workflow Run:** [ 22979617211 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22979617211 )
6+ ** Workflow Run:** [ 22979846959 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22979846959 )
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: 16.03207039833069 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: 49.17259168624878 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: 40.38633942604065 not less than 15.0 : TransgeneExpressionHere exceeded threshold
117144
118145----------------------------------------------------------------------
119- Ran 15 tests in 82.217s
146+ Ran 15 tests in 251.882s
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,104 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128155================================================================================
129156TERM INFO QUERIES
130157================================================================================
131- get_term_info (mushroom body): 6.6709s ✅
132- get_term_info (individual): 2.5300s ✅
158+ get_term_info (mushroom body): 2.0216s ✅
159+ get_term_info (individual): 1.7303s ✅
133160
134161================================================================================
135162NEURON PART OVERLAP QUERIES
136163================================================================================
137- NeuronsPartHere: 3.0426s ✅
164+ NeuronsPartHere: 2.2293s ✅
138165
139166================================================================================
140167SYNAPTIC TERMINAL QUERIES
141168================================================================================
142- NeuronsSynaptic: 2.3536s ✅
143- NeuronsPresynapticHere: 1.9334s ✅
144- NeuronsPostsynapticHere: 2.1563s ✅
145- NeuronNeuronConnectivity: 1.8506s ✅
169+ NeuronsSynaptic: 2.0835s ✅
170+ NeuronsPresynapticHere: 1.7062s ✅
171+ NeuronsPostsynapticHere: 1.8406s ✅
172+ NeuronNeuronConnectivity: 1.4428s ✅
146173
147174================================================================================
148175ANATOMICAL HIERARCHY QUERIES
149176================================================================================
150- ComponentsOf: 1.8716s ✅
151- PartsOf: 2.3571s ✅
152- SubclassesOf: 1.8208s ✅
177+ ComponentsOf: 1.4297s ✅
178+ PartsOf: 1.6139s ✅
179+ SubclassesOf: 1.9622s ✅
153180
154181================================================================================
155182TRACT/NERVE AND LINEAGE QUERIES
156183================================================================================
157- NeuronClassesFasciculatingHere: 1.8133s ✅
158- TractsNervesInnervatingHere: 1.8567s ✅
159- LineageClonesIn: 1.8998s ✅
184+ NeuronClassesFasciculatingHere: 1.4931s ✅
185+ TractsNervesInnervatingHere: 1.5777s ✅
186+ LineageClonesIn: 1.5436s ✅
160187
161188================================================================================
162189IMAGE AND DEVELOPMENTAL QUERIES
163190================================================================================
164- ImagesNeurons: 3.0559s ✅
165- ImagesThatDevelopFrom: 1.8551s ✅
166- epFrag: 1.8516s ✅
191+ ImagesNeurons: 2.7143s ✅
192+ ImagesThatDevelopFrom: 1.5840s ✅
193+ epFrag: 1.3994s ✅
167194
168195================================================================================
169196INSTANCE QUERIES
170197================================================================================
171- ListAllAvailableImages: 1.8675s ✅
198+ ListAllAvailableImages: 1.4521s ✅
172199
173200================================================================================
174201CONNECTIVITY QUERIES
175202================================================================================
176- NeuronNeuronConnectivityQuery: 1.8840s ✅
177- NeuronRegionConnectivityQuery: 1.8385s ✅
203+ NeuronNeuronConnectivityQuery: 1.4756s ✅
204+ NeuronRegionConnectivityQuery: 1.5893s ✅
178205
179206================================================================================
180207SIMILARITY QUERIES (Neo4j NBLAST)
181208================================================================================
182- SimilarMorphologyTo: 1.1133s ✅
209+ SimilarMorphologyTo: 0.8677s ✅
183210
184211================================================================================
185212NEURON INPUT QUERIES (Neo4j)
186213================================================================================
187- NeuronInputsTo: 3.4026s ✅
214+ NeuronInputsTo: 7.6611s ✅
188215
189216================================================================================
190217EXPRESSION PATTERN QUERIES (Neo4j)
191218================================================================================
192- ExpressionOverlapsHere: 1.2846s ✅
219+ ExpressionOverlapsHere: 1.1192s ✅
193220 └─ Found 3922 total expression patterns, returned 10
194221
195222================================================================================
196223TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197224================================================================================
198- anatScRNAseqQuery: 0.9514s ✅
225+ anatScRNAseqQuery: 0.7625s ✅
199226 └─ Found 57 total clusters, returned 10
200- clusterExpression: 1.0045s ✅
227+ clusterExpression: 6.5272s ✅
201228 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 0.8795s ✅
229+ expressionCluster: 41.3115s ✅
203230 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.8616s ✅
231+ expressionCluster: Skipped (test data may not exist): 41.31153178215027 not less than 15.0 : expressionCluster exceeded threshold
232+ scRNAdatasetData: 10.2607s ✅
205233 └─ Found 13 clusters in dataset, returned 10
206234
207235================================================================================
208236NBLAST SIMILARITY QUERIES
209237================================================================================
210- SimilarMorphologyTo: 1.1243s ✅
238+ SimilarMorphologyTo: 16.0321s ✅
211239 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.7074s ✅
213- └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.7228s ✅
215- └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.7122s ✅
217- └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.8348s ✅
219- └─ Found 15 NeuronBridge expression matches, returned 10
220- ✅ All NBLAST similarity queries completed
221240
222241================================================================================
223242DATASET/TEMPLATE QUERIES
224243================================================================================
225- PaintedDomains: 0.9206s ✅
244+ PaintedDomains: 0.7183s ✅
226245 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.7178s ✅
246+ DatasetImages: 49.1726s ✅
228247 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.6326s ✅
230- └─ Found 546915 aligned images, returned 10
231- AlignedDatasets: 0.8931s ✅
232- └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 1.0002s ✅
234- └─ Found 128 total datasets, returned 20
235- ✅ All dataset/template queries completed
236248
237249================================================================================
238250PUBLICATION/TRANSGENE QUERIES
239251================================================================================
240- TermsForPub: 0.8896s ✅
252+ TermsForPub: 0.6977s ✅
241253 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 1.7060s ✅
254+ TransgeneExpressionHere: 40.3863s ✅
243255 └─ Found 2350 transgene expressions, returned 10
244- ✅ All publication/transgene queries completed
245256
246257================================================================================
247258PERFORMANCE TEST SUMMARY
@@ -252,7 +263,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252263Performance test for specific term info queries. ... ok
253264
254265----------------------------------------------------------------------
255- Ran 1 test in 3.757s
266+ Ran 1 test in 2.913s
256267
257268OK
258269VFBquery functions patched with caching support
@@ -262,10 +273,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262273==================================================
263274Performance Test Results:
264275==================================================
265- FBbt_00003748 query took: 1.8433 seconds
266- VFB_00101567 query took: 1.9137 seconds
267- Total time for both queries: 3.7570 seconds
268- Performance Level: 🟠 Acceptable (3-6 seconds)
276+ FBbt_00003748 query took: 1.4557 seconds
277+ VFB_00101567 query took: 1.4570 seconds
278+ Total time for both queries: 2.9126 seconds
279+ Performance Level: 🟡 Good (1.5-3 seconds)
269280==================================================
270281Performance test completed successfully!
271282```
@@ -283,4 +294,4 @@ Track performance trends across commits:
283294- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
284295
285296---
286- * Last updated: 2026-03-11 23:41:38 UTC*
297+ * Last updated: 2026-03-11 23:52:41 UTC*
0 commit comments