11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-04-06 04:40:44 UTC
4- ** Git Commit:** 5421dcf96080c0879562ca27763baf6edbb3b9c0
3+ ** Test Date:** 2026-04-07 04:29:14 UTC
4+ ** Git Commit:** aab5af525cd9674a984e5770b94fd0d341c8a1b3
55** Branch:** main
6- ** Workflow Run:** [ 24018884113 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24018884113 )
6+ ** Workflow Run:** [ 24064250265 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24064250265 )
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: 8.716920614242554 not less than 3.0 : AllAlignedImages exceeded threshold
119+ Ran 15 tests in 83.545s
126120
127- ----------------------------------------------------------------------
128- Ran 15 tests in 127.123s
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,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137128================================================================================
138129TERM INFO QUERIES
139130================================================================================
140- get_term_info (mushroom body): 1.9616s ✅
141- get_term_info (individual): 1.7653s ✅
131+ get_term_info (mushroom body): 1.8654s ✅
132+ get_term_info (individual): 1.8073s ✅
142133
143134================================================================================
144135NEURON PART OVERLAP QUERIES
145136================================================================================
146- NeuronsPartHere: 2.1885s ✅
137+ NeuronsPartHere: 2.3713s ✅
147138
148139================================================================================
149140SYNAPTIC TERMINAL QUERIES
150141================================================================================
151- NeuronsSynaptic: 2.4961s ✅
152- NeuronsPresynapticHere: 1.5306s ✅
153- NeuronsPostsynapticHere: 1.5261s ✅
154- NeuronNeuronConnectivity: 1.7255s ✅
142+ NeuronsSynaptic: 2.0790s ✅
143+ NeuronsPresynapticHere: 1.5142s ✅
144+ NeuronsPostsynapticHere: 1.6383s ✅
145+ NeuronNeuronConnectivity: 1.5661s ✅
155146
156147================================================================================
157148ANATOMICAL HIERARCHY QUERIES
158149================================================================================
159- ComponentsOf: 1.2368s ✅
160- PartsOf: 1.8727s ✅
161- SubclassesOf: 1.4678s ✅
150+ ComponentsOf: 1.6455s ✅
151+ PartsOf: 1.5591s ✅
152+ SubclassesOf: 1.4689s ✅
162153
163154================================================================================
164155TRACT/NERVE AND LINEAGE QUERIES
165156================================================================================
166- NeuronClassesFasciculatingHere: 1.2373s ✅
167- TractsNervesInnervatingHere: 1.2400s ✅
168- LineageClonesIn: 1.2295s ✅
157+ NeuronClassesFasciculatingHere: 1.4214s ✅
158+ TractsNervesInnervatingHere: 1.3980s ✅
159+ LineageClonesIn: 1.5345s ✅
169160
170161================================================================================
171162IMAGE AND DEVELOPMENTAL QUERIES
172163================================================================================
173- ImagesNeurons: 2.2060s ✅
174- ImagesThatDevelopFrom: 1.3636s ✅
175- epFrag: 1.2529s ✅
164+ ImagesNeurons: 2.5595s ✅
165+ ImagesThatDevelopFrom: 1.4392s ✅
166+ epFrag: 1.4713s ✅
176167
177168================================================================================
178169INSTANCE QUERIES
179170================================================================================
180- ListAllAvailableImages: 1.4817s ✅
171+ ListAllAvailableImages: 1.4277s ✅
181172
182173================================================================================
183174CONNECTIVITY QUERIES
184175================================================================================
185- NeuronNeuronConnectivityQuery: 1.2287s ✅
186- NeuronRegionConnectivityQuery: 1.2440s ✅
176+ NeuronNeuronConnectivityQuery: 1.4633s ✅
177+ NeuronRegionConnectivityQuery: 1.4174s ✅
187178
188179================================================================================
189180SIMILARITY QUERIES (Neo4j NBLAST)
190181================================================================================
191- SimilarMorphologyTo: 1.0012s ✅
182+ SimilarMorphologyTo: 0.8012s ✅
192183
193184================================================================================
194185NEURON INPUT QUERIES (Neo4j)
195186================================================================================
196- NeuronInputsTo: 4.7309s ✅
187+ NeuronInputsTo: 3.0080s ✅
197188
198189================================================================================
199190EXPRESSION PATTERN QUERIES (Neo4j)
200191================================================================================
201- ExpressionOverlapsHere: 0.9542s ✅
192+ ExpressionOverlapsHere: 1.0104s ✅
202193 └─ Found 3922 total expression patterns, returned 10
203194
204195================================================================================
205196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197================================================================================
207- anatScRNAseqQuery: 0.6394s ✅
198+ anatScRNAseqQuery: 0.7232s ✅
208199 └─ Found 57 total clusters, returned 10
209- clusterExpression: 43.5197s ✅
200+ clusterExpression: 11.3319s ✅
210201 └─ Found 4588 genes expressed, returned 10
211- clusterExpression: Skipped (test data may not exist): 43.51965022087097 not less than 15.0 : clusterExpression exceeded threshold
212- expressionCluster: 0.7384s ✅
202+ expressionCluster: 0.9602s ✅
213203 └─ Found 9 clusters expressing gene
214- scRNAdatasetData: 1.6658s ✅
204+ scRNAdatasetData: 0.7880s ✅
215205 └─ Found 13 clusters in dataset, returned 10
216206
217207================================================================================
218208NBLAST SIMILARITY QUERIES
219209================================================================================
220- SimilarMorphologyTo: 10.9920s ✅
210+ SimilarMorphologyTo: 0.7867s ✅
221211 └─ Found 215 NBLAST matches, returned 10
222- SimilarMorphologyToPartOf: 0.6276s ✅
212+ SimilarMorphologyToPartOf: 0.6824s ✅
223213 └─ Found 0 NBLASTexp matches
224- SimilarMorphologyToPartOfexp: 0.5965s ✅
214+ SimilarMorphologyToPartOfexp: 0.5581s ✅
225215 └─ Found 0 reverse NBLASTexp matches
226- SimilarMorphologyToNB: 0.6390s ✅
216+ SimilarMorphologyToNB: 0.8795s ✅
227217 └─ Found 15 NeuronBridge matches, returned 10
228- SimilarMorphologyToNBexp: 2.4643s ✅
218+ SimilarMorphologyToNBexp: 0.6720s ✅
229219 └─ Found 15 NeuronBridge expression matches, returned 10
230220✅ All NBLAST similarity queries completed
231221
232222================================================================================
233223DATASET/TEMPLATE QUERIES
234224================================================================================
235- PaintedDomains: 0.6205s ✅
225+ PaintedDomains: 0.7092s ✅
236226 └─ Found 46 painted domains, returned 10
237- DatasetImages: 0.7025s ✅
227+ DatasetImages: 0.6169s ✅
238228 └─ Found 46 images in dataset, returned 10
239- AllAlignedImages: 8.7169s ✅
229+ AllAlignedImages: 2.7082s ✅
240230 └─ Found 527179 aligned images, returned 10
231+ AlignedDatasets: 0.7390s ✅
232+ └─ Found 72 aligned datasets, returned 10
233+ AllDatasets: 0.9146s ✅
234+ └─ Found 130 total datasets, returned 20
235+ ✅ All dataset/template queries completed
241236
242237================================================================================
243238PUBLICATION/TRANSGENE QUERIES
244239================================================================================
245- TermsForPub: 0.6248s ✅
240+ TermsForPub: 0.6920s ✅
246241 └─ Found 2 terms for publication
247- TransgeneExpressionHere: 3.1240s ✅
242+ TransgeneExpressionHere: 2.0494s ✅
248243 └─ Found 2340 transgene expressions, returned 10
249244✅ All publication/transgene queries completed
250245
@@ -257,7 +252,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
257252Performance test for specific term info queries. ... ok
258253
259254----------------------------------------------------------------------
260- Ran 1 test in 2.543s
255+ Ran 1 test in 2.902s
261256
262257OK
263258VFBquery functions patched with caching support
@@ -267,9 +262,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
267262==================================================
268263Performance Test Results:
269264==================================================
270- FBbt_00003748 query took: 1.2464 seconds
271- VFB_00101567 query took: 1.2964 seconds
272- Total time for both queries: 2.5428 seconds
265+ FBbt_00003748 query took: 1.4332 seconds
266+ VFB_00101567 query took: 1.4682 seconds
267+ Total time for both queries: 2.9014 seconds
273268Performance Level: 🟡 Good (1.5-3 seconds)
274269==================================================
275270Performance test completed successfully!
@@ -288,4 +283,4 @@ Track performance trends across commits:
288283- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
289284
290285---
291- * Last updated: 2026-04-06 04:40:45 UTC*
286+ * Last updated: 2026-04-07 04:29:14 UTC*
0 commit comments