11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-03-10 04:04:06 UTC
4- ** Git Commit:** 07c1bba5779c11f55ea6697846c2cc844cf7c1b9
3+ ** Test Date:** 2026-03-11 04:04:49 UTC
4+ ** Git Commit:** 22a7e03a59915b6aa06deb9378a8a95155045a74
55** Branch:** main
6- ** Workflow Run:** [ 22886486323 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22886486323 )
6+ ** Workflow Run:** [ 22936107234 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22936107234 )
77
88## Test Overview
99
@@ -109,16 +109,34 @@ Test expression pattern queries ... ok
109109test_11_transcriptomics_queries (src.test.test_query_performance.QueryPerformanceTest)
110110Test scRNAseq transcriptomics queries ... ok
111111test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112- Test NBLAST similarity queries ... ok
112+ Test NBLAST similarity queries ... FAIL
113113test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
114- Test dataset and template queries ... ok
114+ Test dataset and template queries ... FAIL
115115test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
116116Test publication and transgene queries ... ok
117117
118+ ======================================================================
119+ FAIL: test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
120+ Test NBLAST similarity queries
121+ ----------------------------------------------------------------------
122+ Traceback (most recent call last):
123+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 577, in test_12_nblast_queries
124+ self.assertLess(duration, self.THRESHOLD_MEDIUM, "SimilarMorphologyToNB exceeded threshold")
125+ AssertionError: 12.909206867218018 not less than 3.0 : SimilarMorphologyToNB exceeded threshold
126+
127+ ======================================================================
128+ FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
129+ Test dataset and template queries
118130----------------------------------------------------------------------
119- Ran 15 tests in 109.835s
131+ Traceback (most recent call last):
132+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 660, in test_13_dataset_template_queries
133+ self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllAlignedImages exceeded threshold")
134+ AssertionError: 3.041961431503296 not less than 3.0 : AllAlignedImages exceeded threshold
120135
121- OK
136+ ----------------------------------------------------------------------
137+ Ran 15 tests in 87.928s
138+
139+ FAILED (failures=2)
122140VFBquery functions patched with caching support
123141VFBquery: SOLR caching enabled by default (3-month TTL)
124142 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -128,119 +146,110 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128146================================================================================
129147TERM INFO QUERIES
130148================================================================================
131- get_term_info (mushroom body): 2.0890s ✅
132- get_term_info (individual): 1.7851s ✅
149+ get_term_info (mushroom body): 2.0068s ✅
150+ get_term_info (individual): 1.9667s ✅
133151
134152================================================================================
135153NEURON PART OVERLAP QUERIES
136154================================================================================
137- NeuronsPartHere: 1.9655s ✅
155+ NeuronsPartHere: 1.8664s ✅
138156
139157================================================================================
140158SYNAPTIC TERMINAL QUERIES
141159================================================================================
142- NeuronsSynaptic: 1.9913s ✅
143- NeuronsPresynapticHere: 1.6256s ✅
144- NeuronsPostsynapticHere: 1.7960s ✅
145- NeuronNeuronConnectivity: 1.4724s ✅
160+ NeuronsSynaptic: 1.8231s ✅
161+ NeuronsPresynapticHere: 1.5513s ✅
162+ NeuronsPostsynapticHere: 1.7579s ✅
163+ NeuronNeuronConnectivity: 1.5517s ✅
146164
147165================================================================================
148166ANATOMICAL HIERARCHY QUERIES
149167================================================================================
150- ComponentsOf: 1.3154s ✅
151- PartsOf: 1.4751s ✅
152- SubclassesOf: 1.4789s ✅
168+ ComponentsOf: 1.4170s ✅
169+ PartsOf: 1.4063s ✅
170+ SubclassesOf: 1.4374s ✅
153171
154172================================================================================
155173TRACT/NERVE AND LINEAGE QUERIES
156174================================================================================
157- NeuronClassesFasciculatingHere: 1.2320s ✅
158- TractsNervesInnervatingHere: 1.3119s ✅
159- LineageClonesIn: 1.2559s ✅
175+ NeuronClassesFasciculatingHere: 1.4081s ✅
176+ TractsNervesInnervatingHere: 1.4612s ✅
177+ LineageClonesIn: 1.4937s ✅
160178
161179================================================================================
162180IMAGE AND DEVELOPMENTAL QUERIES
163181================================================================================
164- ImagesNeurons: 2.3495s ✅
165- ImagesThatDevelopFrom: 1.4773s ✅
166- epFrag: 1.5246s ✅
182+ ImagesNeurons: 2.5152s ✅
183+ ImagesThatDevelopFrom: 1.4723s ✅
184+ epFrag: 1.5170s ✅
167185
168186================================================================================
169187INSTANCE QUERIES
170188================================================================================
171- ListAllAvailableImages: 1.3666s ✅
189+ ListAllAvailableImages: 1.3974s ✅
172190
173191================================================================================
174192CONNECTIVITY QUERIES
175193================================================================================
176- NeuronNeuronConnectivityQuery: 1.2419s ✅
177- NeuronRegionConnectivityQuery: 1.2223s ✅
194+ NeuronNeuronConnectivityQuery: 1.4306s ✅
195+ NeuronRegionConnectivityQuery: 1.4367s ✅
178196
179197================================================================================
180198SIMILARITY QUERIES (Neo4j NBLAST)
181199================================================================================
182- SimilarMorphologyTo: 0.7441s ✅
200+ SimilarMorphologyTo: 0.8192s ✅
183201
184202================================================================================
185203NEURON INPUT QUERIES (Neo4j)
186204================================================================================
187- NeuronInputsTo: 4.7976s ✅
205+ NeuronInputsTo: 6.7987s ✅
188206
189207================================================================================
190208EXPRESSION PATTERN QUERIES (Neo4j)
191209================================================================================
192- ExpressionOverlapsHere: 0.9682s ✅
210+ ExpressionOverlapsHere: 1.0902s ✅
193211 └─ Found 3922 total expression patterns, returned 10
194212
195213================================================================================
196214TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197215================================================================================
198- anatScRNAseqQuery: 0.6098s ✅
216+ anatScRNAseqQuery: 0.7593s ✅
199217 └─ Found 57 total clusters, returned 10
200- clusterExpression: 46.3281s ✅
218+ clusterExpression: 7.4073s ✅
201219 └─ Found 4588 genes expressed, returned 10
202- clusterExpression: Skipped (test data may not exist): 46.32811427116394 not less than 15.0 : clusterExpression exceeded threshold
203- expressionCluster: 0.7043s ✅
220+ expressionCluster: 0.8347s ✅
204221 └─ Found 9 clusters expressing gene
205- scRNAdatasetData: 0.7072s ✅
222+ scRNAdatasetData: 0.6871s ✅
206223 └─ Found 13 clusters in dataset, returned 10
207224
208225================================================================================
209226NBLAST SIMILARITY QUERIES
210227================================================================================
211- SimilarMorphologyTo: 0.9118s ✅
228+ SimilarMorphologyTo: 0.9407s ✅
212229 └─ Found 215 NBLAST matches, returned 10
213- SimilarMorphologyToPartOf: 0.5960s ✅
230+ SimilarMorphologyToPartOf: 0.5862s ✅
214231 └─ Found 0 NBLASTexp matches
215- SimilarMorphologyToPartOfexp: 0.5060s ✅
232+ SimilarMorphologyToPartOfexp: 0.6600s ✅
216233 └─ Found 0 reverse NBLASTexp matches
217- SimilarMorphologyToNB: 0.6436s ✅
234+ SimilarMorphologyToNB: 12.9092s ✅
218235 └─ Found 15 NeuronBridge matches, returned 10
219- SimilarMorphologyToNBexp: 0.4994s ✅
220- └─ Found 15 NeuronBridge expression matches, returned 10
221- ✅ All NBLAST similarity queries completed
222236
223237================================================================================
224238DATASET/TEMPLATE QUERIES
225239================================================================================
226- PaintedDomains: 0.6147s ✅
240+ PaintedDomains: 0.7653s ✅
227241 └─ Found 46 painted domains, returned 10
228- DatasetImages: 0.5497s ✅
242+ DatasetImages: 0.5908s ✅
229243 └─ Found 46 images in dataset, returned 10
230- AllAlignedImages: 2.5207s ✅
244+ AllAlignedImages: 3.0420s ✅
231245 └─ 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
237246
238247================================================================================
239248PUBLICATION/TRANSGENE QUERIES
240249================================================================================
241- TermsForPub: 0.5971s ✅
250+ TermsForPub: 0.7371s ✅
242251 └─ Found 2 terms for publication
243- TransgeneExpressionHere: 1.3977s ✅
252+ TransgeneExpressionHere: 3.5742s ✅
244253 └─ Found 2350 transgene expressions, returned 10
245254✅ All publication/transgene queries completed
246255
@@ -253,7 +262,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
253262Performance test for specific term info queries. ... ok
254263
255264----------------------------------------------------------------------
256- Ran 1 test in 2.636s
265+ Ran 1 test in 2.853s
257266
258267OK
259268VFBquery functions patched with caching support
@@ -263,9 +272,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
263272==================================================
264273Performance Test Results:
265274==================================================
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
275+ FBbt_00003748 query took: 1.4169 seconds
276+ VFB_00101567 query took: 1.4354 seconds
277+ Total time for both queries: 2.8523 seconds
269278Performance Level: 🟡 Good (1.5-3 seconds)
270279==================================================
271280Performance test completed successfully!
@@ -284,4 +293,4 @@ Track performance trends across commits:
284293- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
285294
286295---
287- * Last updated: 2026-03-10 04:04:06 UTC*
296+ * Last updated: 2026-03-11 04:04:49 UTC*
0 commit comments