11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-11 23:33:08 UTC
4- ** Git Commit:** c4a635551f511405618ef8d83d4787a3b365cba6
3+ ** Test Date:** 2026-03-11 23:41:38 UTC
4+ ** Git Commit:** d36ddb5078453129046804bdf1a50c44f98a2c63
55** Branch:** main
6- ** Workflow Run:** [ 22979374165 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22979374165 )
6+ ** Workflow Run:** [ 22979617211 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22979617211 )
77
88## Test Overview
99
@@ -116,7 +116,7 @@ test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerf
116116Test publication and transgene queries ... ok
117117
118118----------------------------------------------------------------------
119- Ran 15 tests in 60.396s
119+ Ran 15 tests in 82.217s
120120
121121OK
122122VFBquery functions patched with caching support
@@ -128,118 +128,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128128================================================================================
129129TERM INFO QUERIES
130130================================================================================
131- get_term_info (mushroom body): 2.2268s ✅
132- get_term_info (individual): 2.1663s ✅
131+ get_term_info (mushroom body): 6.6709s ✅
132+ get_term_info (individual): 2.5300s ✅
133133
134134================================================================================
135135NEURON PART OVERLAP QUERIES
136136================================================================================
137- NeuronsPartHere: 2.4951s ✅
137+ NeuronsPartHere: 3.0426s ✅
138138
139139================================================================================
140140SYNAPTIC TERMINAL QUERIES
141141================================================================================
142- NeuronsSynaptic: 2.3563s ✅
143- NeuronsPresynapticHere: 1.6107s ✅
144- NeuronsPostsynapticHere: 1.4484s ✅
145- NeuronNeuronConnectivity: 1.5664s ✅
142+ NeuronsSynaptic: 2.3536s ✅
143+ NeuronsPresynapticHere: 1.9334s ✅
144+ NeuronsPostsynapticHere: 2.1563s ✅
145+ NeuronNeuronConnectivity: 1.8506s ✅
146146
147147================================================================================
148148ANATOMICAL HIERARCHY QUERIES
149149================================================================================
150- ComponentsOf: 1.3345s ✅
151- PartsOf: 1.4665s ✅
152- SubclassesOf: 1.2394s ✅
150+ ComponentsOf: 1.8716s ✅
151+ PartsOf: 2.3571s ✅
152+ SubclassesOf: 1.8208s ✅
153153
154154================================================================================
155155TRACT/NERVE AND LINEAGE QUERIES
156156================================================================================
157- NeuronClassesFasciculatingHere: 1.3063s ✅
158- TractsNervesInnervatingHere: 1.3089s ✅
159- LineageClonesIn: 1.2540s ✅
157+ NeuronClassesFasciculatingHere: 1.8133s ✅
158+ TractsNervesInnervatingHere: 1.8567s ✅
159+ LineageClonesIn: 1.8998s ✅
160160
161161================================================================================
162162IMAGE AND DEVELOPMENTAL QUERIES
163163================================================================================
164- ImagesNeurons: 2.4516s ✅
165- ImagesThatDevelopFrom: 1.2706s ✅
166- epFrag: 1.2261s ✅
164+ ImagesNeurons: 3.0559s ✅
165+ ImagesThatDevelopFrom: 1.8551s ✅
166+ epFrag: 1.8516s ✅
167167
168168================================================================================
169169INSTANCE QUERIES
170170================================================================================
171- ListAllAvailableImages: 1.2445s ✅
171+ ListAllAvailableImages: 1.8675s ✅
172172
173173================================================================================
174174CONNECTIVITY QUERIES
175175================================================================================
176- NeuronNeuronConnectivityQuery: 1.2551s ✅
177- NeuronRegionConnectivityQuery: 1.2254s ✅
176+ NeuronNeuronConnectivityQuery: 1.8840s ✅
177+ NeuronRegionConnectivityQuery: 1.8385s ✅
178178
179179================================================================================
180180SIMILARITY QUERIES (Neo4j NBLAST)
181181================================================================================
182- SimilarMorphologyTo: 0.7235s ✅
182+ SimilarMorphologyTo: 1.1133s ✅
183183
184184================================================================================
185185NEURON INPUT QUERIES (Neo4j)
186186================================================================================
187- NeuronInputsTo: 2.8623s ✅
187+ NeuronInputsTo: 3.4026s ✅
188188
189189================================================================================
190190EXPRESSION PATTERN QUERIES (Neo4j)
191191================================================================================
192- ExpressionOverlapsHere: 0.9526s ✅
192+ ExpressionOverlapsHere: 1.2846s ✅
193193 └─ Found 3922 total expression patterns, returned 10
194194
195195================================================================================
196196TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197197================================================================================
198- anatScRNAseqQuery: 0.6216s ✅
198+ anatScRNAseqQuery: 0.9514s ✅
199199 └─ Found 57 total clusters, returned 10
200- clusterExpression: 0.8405s ✅
200+ clusterExpression: 1.0045s ✅
201201 └─ Found 4588 genes expressed, returned 10
202- expressionCluster: 0.5978s ✅
202+ expressionCluster: 0.8795s ✅
203203 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.8520s ✅
204+ scRNAdatasetData: 0.8616s ✅
205205 └─ Found 13 clusters in dataset, returned 10
206206
207207================================================================================
208208NBLAST SIMILARITY QUERIES
209209================================================================================
210- SimilarMorphologyTo: 1.1044s ✅
210+ SimilarMorphologyTo: 1.1243s ✅
211211 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.5773s ✅
212+ SimilarMorphologyToPartOf: 0.7074s ✅
213213 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.5799s ✅
214+ SimilarMorphologyToPartOfexp: 0.7228s ✅
215215 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.5973s ✅
216+ SimilarMorphologyToNB: 0.7122s ✅
217217 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.5953s ✅
218+ SimilarMorphologyToNBexp: 0.8348s ✅
219219 └─ Found 15 NeuronBridge expression matches, returned 10
220220✅ All NBLAST similarity queries completed
221221
222222================================================================================
223223DATASET/TEMPLATE QUERIES
224224================================================================================
225- PaintedDomains: 0.6268s ✅
225+ PaintedDomains: 0.9206s ✅
226226 └─ Found 46 painted domains, returned 10
227- DatasetImages: 0.5434s ✅
227+ DatasetImages: 0.7178s ✅
228228 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.6446s ✅
229+ AllAlignedImages: 2.6326s ✅
230230 └─ Found 546915 aligned images, returned 10
231- AlignedDatasets: 0.6185s ✅
231+ AlignedDatasets: 0.8931s ✅
232232 └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 0.7071s ✅
233+ AllDatasets: 1.0002s ✅
234234 └─ Found 128 total datasets, returned 20
235235✅ All dataset/template queries completed
236236
237237================================================================================
238238PUBLICATION/TRANSGENE QUERIES
239239================================================================================
240- TermsForPub: 0.6282s ✅
240+ TermsForPub: 0.8896s ✅
241241 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 1.2814s ✅
242+ TransgeneExpressionHere: 1.7060s ✅
243243 └─ Found 2350 transgene expressions, returned 10
244244✅ All publication/transgene queries completed
245245
@@ -249,33 +249,25 @@ PERFORMANCE TEST SUMMARY
249249All performance tests completed!
250250================================================================================
251251test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252- Performance test for specific term info queries. ... FAIL
252+ Performance test for specific term info queries. ... ok
253253
254- ======================================================================
255- FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256- Performance test for specific term info queries.
257254----------------------------------------------------------------------
258- Traceback (most recent call last):
259- File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590, in test_term_info_performance
260- self.assertLess(duration_1, max_single_query_time,
261- AssertionError: 16.701056241989136 not less than 10.0 : FBbt_00003748 query took 16.7011s, exceeding 10.0s threshold
255+ Ran 1 test in 3.757s
262256
263- ----------------------------------------------------------------------
264- Ran 1 test in 17.954s
265-
266- FAILED (failures=1)
257+ OK
267258VFBquery functions patched with caching support
268259VFBquery: SOLR caching enabled by default (3-month TTL)
269260 Disable with: export VFBQUERY_CACHE_ENABLED=false
270261
271262==================================================
272263Performance Test Results:
273264==================================================
274- FBbt_00003748 query took: 16.7011 seconds
275- VFB_00101567 query took: 1.2522 seconds
276- Total time for both queries: 17.9533 seconds
277- Performance Level: 🔴 Slow (> 6 seconds)
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)
278269==================================================
270+ Performance test completed successfully!
279271```
280272
281273## Summary
@@ -291,4 +283,4 @@ Track performance trends across commits:
291283- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
292284
293285---
294- * Last updated: 2026-03-11 23:33:08 UTC*
286+ * Last updated: 2026-03-11 23:41:38 UTC*
0 commit comments