11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-09 04:11:10 UTC
4- ** Git Commit:** 209cecba0721b3eab01bf61ac70efe30aed50be3
3+ ** Test Date:** 2026-03-10 04:04:06 UTC
4+ ** Git Commit:** 07c1bba5779c11f55ea6697846c2cc844cf7c1b9
55** Branch:** main
6- ** Workflow Run:** [ 22837949394 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22837949394 )
6+ ** Workflow Run:** [ 22886486323 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22886486323 )
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.8183066844940186 not less than 3.0 : AllAlignedImages exceeded threshold
119+ Ran 15 tests in 109.835s
126120
127- ----------------------------------------------------------------------
128- Ran 15 tests in 102.173s
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): 1.9022s ✅
141- get_term_info (individual): 1.9759s ✅
131+ get_term_info (mushroom body): 2.0890s ✅
132+ get_term_info (individual): 1.7851s ✅
142133
143134================================================================================
144135NEURON PART OVERLAP QUERIES
145136================================================================================
146- NeuronsPartHere: 2.1028s ✅
137+ NeuronsPartHere: 1.9655s ✅
147138
148139================================================================================
149140SYNAPTIC TERMINAL QUERIES
150141================================================================================
151- NeuronsSynaptic: 1.9810s ✅
152- NeuronsPresynapticHere: 1.7335s ✅
153- NeuronsPostsynapticHere: 2.0213s ✅
154- NeuronNeuronConnectivity: 1.3231s ✅
142+ NeuronsSynaptic: 1.9913s ✅
143+ NeuronsPresynapticHere: 1.6256s ✅
144+ NeuronsPostsynapticHere: 1.7960s ✅
145+ NeuronNeuronConnectivity: 1.4724s ✅
155146
156147================================================================================
157148ANATOMICAL HIERARCHY QUERIES
158149================================================================================
159- ComponentsOf: 1.2678s ✅
160- PartsOf: 1.6290s ✅
161- SubclassesOf: 1.2493s ✅
150+ ComponentsOf: 1.3154s ✅
151+ PartsOf: 1.4751s ✅
152+ SubclassesOf: 1.4789s ✅
162153
163154================================================================================
164155TRACT/NERVE AND LINEAGE QUERIES
165156================================================================================
166- NeuronClassesFasciculatingHere: 1.2220s ✅
167- TractsNervesInnervatingHere: 1.3628s ✅
168- LineageClonesIn: 1.2544s ✅
157+ NeuronClassesFasciculatingHere: 1.2320s ✅
158+ TractsNervesInnervatingHere: 1.3119s ✅
159+ LineageClonesIn: 1.2559s ✅
169160
170161================================================================================
171162IMAGE AND DEVELOPMENTAL QUERIES
172163================================================================================
173- ImagesNeurons: 2.2815s ✅
174- ImagesThatDevelopFrom: 1.2789s ✅
175- epFrag: 1.2301s ✅
164+ ImagesNeurons: 2.3495s ✅
165+ ImagesThatDevelopFrom: 1.4773s ✅
166+ epFrag: 1.5246s ✅
176167
177168================================================================================
178169INSTANCE QUERIES
179170================================================================================
180- ListAllAvailableImages: 1.4909s ✅
171+ ListAllAvailableImages: 1.3666s ✅
181172
182173================================================================================
183174CONNECTIVITY QUERIES
184175================================================================================
185- NeuronNeuronConnectivityQuery: 1.2505s ✅
186- NeuronRegionConnectivityQuery: 1.3410s ✅
176+ NeuronNeuronConnectivityQuery: 1.2419s ✅
177+ NeuronRegionConnectivityQuery: 1.2223s ✅
187178
188179================================================================================
189180SIMILARITY QUERIES (Neo4j NBLAST)
190181================================================================================
191- SimilarMorphologyTo: 0.6733s ✅
182+ SimilarMorphologyTo: 0.7441s ✅
192183
193184================================================================================
194185NEURON INPUT QUERIES (Neo4j)
195186================================================================================
196- NeuronInputsTo: 2.9058s ✅
187+ NeuronInputsTo: 4.7976s ✅
197188
198189================================================================================
199190EXPRESSION PATTERN QUERIES (Neo4j)
200191================================================================================
201- ExpressionOverlapsHere: 0.9298s ✅
192+ ExpressionOverlapsHere: 0.9682s ✅
202193 └─ Found 3922 total expression patterns, returned 10
203194
204195================================================================================
205196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197================================================================================
207- anatScRNAseqQuery: 0.6147s ✅
198+ anatScRNAseqQuery: 0.6098s ✅
208199 └─ Found 57 total clusters, returned 10
209- clusterExpression: 39.3606s ✅
200+ clusterExpression: 46.3281s ✅
210201 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 39.36055588722229 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 1.4338s ✅
202+ clusterExpression: Skipped (test data may not exist): 46.32811427116394 not less than 15.0 : clusterExpression exceeded threshold
203+ expressionCluster: 0.7043s ✅
213204 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 1.0478s ✅
205+ scRNAdatasetData: 0.7072s ✅
215206 └─ Found 13 clusters in dataset, returned 10
216207
217208================================================================================
218209NBLAST SIMILARITY QUERIES
219210================================================================================
220- SimilarMorphologyTo: 1.9831s ✅
211+ SimilarMorphologyTo: 0.9118s ✅
221212 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.7081s ✅
213+ SimilarMorphologyToPartOf: 0.5960s ✅
223214 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.5297s ✅
215+ SimilarMorphologyToPartOfexp: 0.5060s ✅
225216 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 0.5126s ✅
217+ SimilarMorphologyToNB: 0.6436s ✅
227218 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 0.6831s ✅
219+ SimilarMorphologyToNBexp: 0.4994s ✅
229220 └─ Found 15 NeuronBridge expression matches, returned 10
230221✅ All NBLAST similarity queries completed
231222
232223================================================================================
233224DATASET/TEMPLATE QUERIES
234225================================================================================
235- PaintedDomains: 0.6416s ✅
226+ PaintedDomains: 0.6147s ✅
236227 └─ Found 46 painted domains, returned 10
237- DatasetImages: 0.5876s ✅
228+ DatasetImages: 0.5497s ✅
238229 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 3.8183s ✅
230+ AllAlignedImages: 2.5207s ✅
240231 └─ Found 546915 aligned images, returned 10
232+ AlignedDatasets: 0.6225s ✅
233+ └─ Found 72 aligned datasets, returned 10
234+ AllDatasets: 2.5814s ✅
235+ └─ Found 128 total datasets, returned 20
236+ ✅ All dataset/template queries completed
241237
242238================================================================================
243239PUBLICATION/TRANSGENE QUERIES
244240================================================================================
245- TermsForPub: 0.6130s ✅
241+ TermsForPub: 0.5971s ✅
246242 └─ Found 2 terms for publication
247- TransgeneExpressionHere: 1.3775s ✅
243+ TransgeneExpressionHere: 1.3977s ✅
248244 └─ Found 2350 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.522s
256+ Ran 1 test in 2.636s
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.2442 seconds
271- VFB_00101567 query took: 1.2773 seconds
272- Total time for both queries: 2.5215 seconds
266+ FBbt_00003748 query took: 1.3000 seconds
267+ VFB_00101567 query took: 1.3359 seconds
268+ Total time for both queries: 2.6359 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-03-09 04:11:10 UTC*
287+ * Last updated: 2026-03-10 04:04:06 UTC*
0 commit comments