11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-04-10 04:43:22 UTC
4- ** Git Commit:** 4c0513142c8f864dcc55adaddd907ed25211997c
3+ ** Test Date:** 2026-04-11 04:15:48 UTC
4+ ** Git Commit:** 3c886eb01fc6fd5fd2a1cf93b8c3f2d5a7e3b53b
55** Branch:** main
6- ** Workflow Run:** [ 24226714617 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24226714617 )
6+ ** Workflow Run:** [ 24274395885 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24274395885 )
77
88## Test Overview
99
@@ -111,23 +111,14 @@ 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 ... FAIL
114+ Test dataset and template queries ... ok
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
121118----------------------------------------------------------------------
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.5388259887695312 not less than 3.0 : AllAlignedImages exceeded threshold
119+ Ran 15 tests in 87.629s
126120
127- ----------------------------------------------------------------------
128- Ran 15 tests in 136.413s
129-
130- FAILED (failures=1)
121+ OK
131122VFBquery functions patched with caching support
132123VFBquery: SOLR caching enabled by default (3-month TTL)
133124 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -137,114 +128,119 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137128================================================================================
138129TERM INFO QUERIES
139130================================================================================
140- get_term_info (mushroom body): 2.5108s ✅
141- get_term_info (individual): 1.7247s ✅
131+ get_term_info (mushroom body): 2.0846s ✅
132+ get_term_info (individual): 1.6162s ✅
142133
143134================================================================================
144135NEURON PART OVERLAP QUERIES
145136================================================================================
146- NeuronsPartHere: 1.8298s ✅
137+ NeuronsPartHere: 1.8085s ✅
147138
148139================================================================================
149140SYNAPTIC TERMINAL QUERIES
150141================================================================================
151- NeuronsSynaptic: 1.7550s ✅
152- NeuronsPresynapticHere: 1.6887s ✅
153- NeuronsPostsynapticHere: 1.7500s ✅
154- NeuronNeuronConnectivity: 1.7954s ✅
142+ NeuronsSynaptic: 2.0595s ✅
143+ NeuronsPresynapticHere: 1.6278s ✅
144+ NeuronsPostsynapticHere: 1.8164s ✅
145+ NeuronNeuronConnectivity: 1.4833s ✅
155146
156147================================================================================
157148ANATOMICAL HIERARCHY QUERIES
158149================================================================================
159- ComponentsOf: 1.5309s ✅
160- PartsOf: 1.5967s ✅
161- SubclassesOf: 1.6031s ✅
150+ ComponentsOf: 1.4988s ✅
151+ PartsOf: 1.3891s ✅
152+ SubclassesOf: 1.4267s ✅
162153
163154================================================================================
164155TRACT/NERVE AND LINEAGE QUERIES
165156================================================================================
166- NeuronClassesFasciculatingHere: 1.2429s ✅
167- TractsNervesInnervatingHere: 1.4384s ✅
168- LineageClonesIn: 1.4972s ✅
157+ NeuronClassesFasciculatingHere: 1.4372s ✅
158+ TractsNervesInnervatingHere: 1.4098s ✅
159+ LineageClonesIn: 1.4121s ✅
169160
170161================================================================================
171162IMAGE AND DEVELOPMENTAL QUERIES
172163================================================================================
173- ImagesNeurons: 2.2249s ✅
174- ImagesThatDevelopFrom: 1.5913s ✅
175- epFrag: 1.2878s ✅
164+ ImagesNeurons: 2.4492s ✅
165+ ImagesThatDevelopFrom: 1.4459s ✅
166+ epFrag: 1.3857s ✅
176167
177168================================================================================
178169INSTANCE QUERIES
179170================================================================================
180- ListAllAvailableImages: 1.2284s ✅
171+ ListAllAvailableImages: 1.3935s ✅
181172
182173================================================================================
183174CONNECTIVITY QUERIES
184175================================================================================
185- NeuronNeuronConnectivityQuery: 1.2162s ✅
186- NeuronRegionConnectivityQuery: 1.2312s ✅
176+ NeuronNeuronConnectivityQuery: 1.4353s ✅
177+ NeuronRegionConnectivityQuery: 1.4248s ✅
187178
188179================================================================================
189180SIMILARITY QUERIES (Neo4j NBLAST)
190181================================================================================
191- SimilarMorphologyTo: 0.7677s ✅
182+ SimilarMorphologyTo: 1.2075s ✅
192183
193184================================================================================
194185NEURON INPUT QUERIES (Neo4j)
195186================================================================================
196- NeuronInputsTo: 5.4158s ✅
187+ NeuronInputsTo: 3.2933s ✅
197188
198189================================================================================
199190EXPRESSION PATTERN QUERIES (Neo4j)
200191================================================================================
201- ExpressionOverlapsHere: 0.8777s ✅
192+ ExpressionOverlapsHere: 1.0189s ✅
202193 └─ Found 3922 total expression patterns, returned 10
203194
204195================================================================================
205196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197================================================================================
207- anatScRNAseqQuery: 0.7998s ✅
198+ anatScRNAseqQuery: 0.7066s ✅
208199 └─ Found 57 total clusters, returned 10
209- clusterExpression: 68.9526s ✅
200+ clusterExpression: 15.3676s ✅
210201 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 68.9525694847107 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 0.7790s ✅
202+ clusterExpression: Skipped (test data may not exist): 15.367552280426025 not less than 15.0 : clusterExpression exceeded threshold
203+ expressionCluster: 1.3843s ✅
213204 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 0.7083s ✅
205+ scRNAdatasetData: 0.5941s ✅
215206 └─ Found 13 clusters in dataset, returned 10
216207
217208================================================================================
218209NBLAST SIMILARITY QUERIES
219210================================================================================
220- SimilarMorphologyTo: 0.8099s ✅
211+ SimilarMorphologyTo: 1.2154s ✅
221212 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.7380s ✅
213+ SimilarMorphologyToPartOf: 0.5657s ✅
223214 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.6964s ✅
215+ SimilarMorphologyToPartOfexp: 0.5581s ✅
225216 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 0.6597s ✅
217+ SimilarMorphologyToNB: 0.6695s ✅
227218 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 1.0260s ✅
219+ SimilarMorphologyToNBexp: 0.5780s ✅
229220 └─ Found 15 NeuronBridge expression matches, returned 10
230221✅ All NBLAST similarity queries completed
231222
232223================================================================================
233224DATASET/TEMPLATE QUERIES
234225================================================================================
235- PaintedDomains: 0.6025s ✅
226+ PaintedDomains: 0.7414s ✅
236227 └─ Found 46 painted domains, returned 10
237- DatasetImages: 0.7546s ✅
228+ DatasetImages: 0.5820s ✅
238229 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 3.5388s ✅
230+ AllAlignedImages: 2.9648s ✅
240231 └─ Found 527179 aligned images, returned 10
232+ AlignedDatasets: 0.7254s ✅
233+ └─ Found 72 aligned datasets, returned 10
234+ AllDatasets: 0.8843s ✅
235+ └─ Found 130 total datasets, returned 20
236+ ✅ All dataset/template queries completed
241237
242238================================================================================
243239PUBLICATION/TRANSGENE QUERIES
244240================================================================================
245- TermsForPub: 0.6160s ✅
241+ TermsForPub: 0.6932s ✅
246242 └─ Found 2 terms for publication
247- TransgeneExpressionHere: 4.8217s ✅
243+ TransgeneExpressionHere: 1.6198s ✅
248244 └─ Found 2340 transgene expressions, returned 10
249245✅ All publication/transgene queries completed
250246
@@ -257,7 +253,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
257253Performance test for specific term info queries. ... ok
258254
259255----------------------------------------------------------------------
260- Ran 1 test in 2.705s
256+ Ran 1 test in 2.828s
261257
262258OK
263259VFBquery functions patched with caching support
@@ -267,9 +263,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
267263==================================================
268264Performance Test Results:
269265==================================================
270- FBbt_00003748 query took: 1.3542 seconds
271- VFB_00101567 query took: 1.3500 seconds
272- Total time for both queries: 2.7043 seconds
266+ FBbt_00003748 query took: 1.3963 seconds
267+ VFB_00101567 query took: 1.4314 seconds
268+ Total time for both queries: 2.8278 seconds
273269Performance Level: 🟡 Good (1.5-3 seconds)
274270==================================================
275271Performance test completed successfully!
@@ -288,4 +284,4 @@ Track performance trends across commits:
288284- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
289285
290286---
291- * Last updated: 2026-04-10 04:43:22 UTC*
287+ * Last updated: 2026-04-11 04:15:48 UTC*
0 commit comments