11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 22:31:11 UTC
4- ** Git Commit:** 5a1f2cb5542ed2741d7d4d354b2e8053724253e8
3+ ** Test Date:** 2026-03-11 22:59:04 UTC
4+ ** Git Commit:** 9f1b6e4d3eab4f05ec42cddaa7c6023c5a365537
55** Branch:** main
6- ** Workflow Run:** [ 22977466827 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22977466827 )
6+ ** Workflow Run:** [ 22978372229 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22978372229 )
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.1502015590667725 not less than 3.0 : AllAlignedImages exceeded threshold
119+ Ran 15 tests in 59.295s
126120
127- ----------------------------------------------------------------------
128- Ran 15 tests in 79.081s
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,113 +128,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137128================================================================================
138129TERM INFO QUERIES
139130================================================================================
140- get_term_info (mushroom body): 2.8897s ✅
141- get_term_info (individual): 2.4152s ✅
131+ get_term_info (mushroom body): 2.0081s ✅
132+ get_term_info (individual): 1.7397s ✅
142133
143134================================================================================
144135NEURON PART OVERLAP QUERIES
145136================================================================================
146- NeuronsPartHere: 2.6854s ✅
137+ NeuronsPartHere: 2.5824s ✅
147138
148139================================================================================
149140SYNAPTIC TERMINAL QUERIES
150141================================================================================
151- NeuronsSynaptic: 1.8436s ✅
152- NeuronsPresynapticHere: 2.1432s ✅
153- NeuronsPostsynapticHere: 2.4525s ✅
154- NeuronNeuronConnectivity: 2.2659s ✅
142+ NeuronsSynaptic: 2.1108s ✅
143+ NeuronsPresynapticHere: 1.3462s ✅
144+ NeuronsPostsynapticHere: 2.2188s ✅
145+ NeuronNeuronConnectivity: 1.6775s ✅
155146
156147================================================================================
157148ANATOMICAL HIERARCHY QUERIES
158149================================================================================
159- ComponentsOf: 2.0084s ✅
160- PartsOf: 1.9217s ✅
161- SubclassesOf: 1.9742s ✅
150+ ComponentsOf: 1.8210s ✅
151+ PartsOf: 1.2487s ✅
152+ SubclassesOf: 1.3092s ✅
162153
163154================================================================================
164155TRACT/NERVE AND LINEAGE QUERIES
165156================================================================================
166- NeuronClassesFasciculatingHere: 2.0845s ✅
167- TractsNervesInnervatingHere: 1.9208s ✅
168- LineageClonesIn: 2.0658s ✅
157+ NeuronClassesFasciculatingHere: 1.3113s ✅
158+ TractsNervesInnervatingHere: 1.2992s ✅
159+ LineageClonesIn: 1.2208s ✅
169160
170161================================================================================
171162IMAGE AND DEVELOPMENTAL QUERIES
172163================================================================================
173- ImagesNeurons: 3.3629s ✅
174- ImagesThatDevelopFrom: 2.0111s ✅
175- epFrag: 1.9417s ✅
164+ ImagesNeurons: 2.1865s ✅
165+ ImagesThatDevelopFrom: 1.2811s ✅
166+ epFrag: 1.2120s ✅
176167
177168================================================================================
178169INSTANCE QUERIES
179170================================================================================
180- ListAllAvailableImages: 1.8961s ✅
171+ ListAllAvailableImages: 1.2271s ✅
181172
182173================================================================================
183174CONNECTIVITY QUERIES
184175================================================================================
185- NeuronNeuronConnectivityQuery: 2.0123s ✅
186- NeuronRegionConnectivityQuery: 1.9360s ✅
176+ NeuronNeuronConnectivityQuery: 1.2293s ✅
177+ NeuronRegionConnectivityQuery: 1.2293s ✅
187178
188179================================================================================
189180SIMILARITY QUERIES (Neo4j NBLAST)
190181================================================================================
191- SimilarMorphologyTo: 1.1243s ✅
182+ SimilarMorphologyTo: 0.7260s ✅
192183
193184================================================================================
194185NEURON INPUT QUERIES (Neo4j)
195186================================================================================
196- NeuronInputsTo: 3.1565s ✅
187+ NeuronInputsTo: 2.8684s ✅
197188
198189================================================================================
199190EXPRESSION PATTERN QUERIES (Neo4j)
200191================================================================================
201- ExpressionOverlapsHere: 1.4761s ✅
192+ ExpressionOverlapsHere: 0.9432s ✅
202193 └─ Found 3922 total expression patterns, returned 10
203194
204195================================================================================
205196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197================================================================================
207- anatScRNAseqQuery: 0.9922s ✅
198+ anatScRNAseqQuery: 0.6234s ✅
208199 └─ Found 57 total clusters, returned 10
209- clusterExpression: 1.0820s ✅
200+ clusterExpression: 0.7759s ✅
210201 └─ Found 4588 genes expressed, returned 10
211- expressionCluster: 1.0455s ✅
202+ expressionCluster: 0.6320s ✅
212203 └─ Found 9 clusters expressing gene
213- scRNAdatasetData: 1.0880s ✅
204+ scRNAdatasetData: 0.5679s ✅
214205 └─ Found 13 clusters in dataset, returned 10
215206
216207================================================================================
217208NBLAST SIMILARITY QUERIES
218209================================================================================
219- SimilarMorphologyTo: 1.3063s ✅
210+ SimilarMorphologyTo: 0.8021s ✅
220211 └─ Found 215 NBLAST matches, returned 10
221- SimilarMorphologyToPartOf: 0.7484s ✅
212+ SimilarMorphologyToPartOf: 0.6587s ✅
222213 └─ Found 0 NBLASTexp matches
223- SimilarMorphologyToPartOfexp: 0.7328s ✅
214+ SimilarMorphologyToPartOfexp: 0.6786s ✅
224215 └─ Found 0 reverse NBLASTexp matches
225- SimilarMorphologyToNB: 0.9161s ✅
216+ SimilarMorphologyToNB: 0.5970s ✅
226217 └─ Found 15 NeuronBridge matches, returned 10
227- SimilarMorphologyToNBexp: 0.7503s ✅
218+ SimilarMorphologyToNBexp: 0.5841s ✅
228219 └─ Found 15 NeuronBridge expression matches, returned 10
229220✅ All NBLAST similarity queries completed
230221
231222================================================================================
232223DATASET/TEMPLATE QUERIES
233224================================================================================
234- PaintedDomains: 0.9922s ✅
225+ PaintedDomains: 0.6015s ✅
235226 └─ Found 46 painted domains, returned 10
236- DatasetImages: 0.9562s ✅
227+ DatasetImages: 0.5756s ✅
237228 └─ Found 46 images in dataset, returned 10
238- AllAlignedImages: 3.1502s ✅
229+ AllAlignedImages: 2.6164s ✅
239230 └─ Found 546915 aligned images, returned 10
231+ AlignedDatasets: 0.6061s ✅
232+ └─ Found 72 aligned datasets, returned 10
233+ AllDatasets: 0.8879s ✅
234+ └─ Found 128 total datasets, returned 20
235+ ✅ All dataset/template queries completed
240236
241237================================================================================
242238PUBLICATION/TRANSGENE QUERIES
243239================================================================================
244- TermsForPub: 0.9808s ✅
240+ TermsForPub: 0.6129s ✅
245241 └─ Found 2 terms for publication
246- TransgeneExpressionHere: 1.9425s ✅
242+ TransgeneExpressionHere: 1.2550s ✅
247243 └─ Found 2350 transgene expressions, returned 10
248244✅ All publication/transgene queries completed
249245
@@ -262,10 +258,10 @@ Performance test for specific term info queries.
262258Traceback (most recent call last):
263259 File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590, in test_term_info_performance
264260 self.assertLess(duration_1, max_single_query_time,
265- AssertionError: 26.239883184432983 not less than 10.0 : FBbt_00003748 query took 26.2399s , exceeding 10.0s threshold
261+ AssertionError: 16.698346376419067 not less than 10.0 : FBbt_00003748 query took 16.6983s , exceeding 10.0s threshold
266262
267263----------------------------------------------------------------------
268- Ran 1 test in 28.200s
264+ Ran 1 test in 17.964s
269265
270266FAILED (failures=1)
271267VFBquery functions patched with caching support
@@ -275,9 +271,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
275271==================================================
276272Performance Test Results:
277273==================================================
278- FBbt_00003748 query took: 26.2399 seconds
279- VFB_00101567 query took: 1.9589 seconds
280- Total time for both queries: 28.1988 seconds
274+ FBbt_00003748 query took: 16.6983 seconds
275+ VFB_00101567 query took: 1.2652 seconds
276+ Total time for both queries: 17.9636 seconds
281277Performance Level: 🔴 Slow (> 6 seconds)
282278==================================================
283279```
@@ -295,4 +291,4 @@ Track performance trends across commits:
295291- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
296292
297293---
298- * Last updated: 2026-03-11 22:31:11 UTC*
294+ * Last updated: 2026-03-11 22:59:04 UTC*
0 commit comments