11# VFBquery Performance Test Results
22
3- ** Test Date:** 2025-11-09 09:04:16 UTC
4- ** Git Commit:** 300ce4db2bccc466863132b9bdb0717a26ec3dec
3+ ** Test Date:** 2025-11-09 10:54:37 UTC
4+ ** Git Commit:** 14fe1f3e49e3ecb3b9aaac85e988567072d3e406
55** Branch:** dev
6- ** Workflow Run:** [ 19205895777 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19205895777 )
6+ ** Workflow Run:** [ 19207206293 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19207206293 )
77
88## Test Overview
99
@@ -120,9 +120,9 @@ FAIL: test_05b_image_queries (src.test.test_query_performance.QueryPerformanceTe
120120Test image and developmental lineage queries
121121----------------------------------------------------------------------
122122Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 288 , in test_05b_image_queries
124- self.assertLess(duration, self.THRESHOLD_SLOW, "ImagesNeurons exceeded threshold")
125- AssertionError: 576.766303062439 not less than 10.0 : ImagesNeurons exceeded threshold
123+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 310 , in test_05b_image_queries
124+ self.assertLess(duration, self.THRESHOLD_SLOW, "epFrag exceeded threshold")
125+ AssertionError: 591.6025040149689 not less than 10.0 : epFrag exceeded threshold
126126
127127======================================================================
128128FAIL: test_08_similarity_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -131,10 +131,10 @@ Test NBLAST similarity queries
131131Traceback (most recent call last):
132132 File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 373, in test_08_similarity_queries
133133 self.assertLess(duration, self.THRESHOLD_SLOW, "SimilarMorphologyTo exceeded threshold")
134- AssertionError: 14.470858335494995 not less than 10.0 : SimilarMorphologyTo exceeded threshold
134+ AssertionError: 13.371644020080566 not less than 10.0 : SimilarMorphologyTo exceeded threshold
135135
136136----------------------------------------------------------------------
137- Ran 15 tests in 1699.396s
137+ Ran 15 tests in 1244.766s
138138
139139FAILED (failures=2)
140140VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
@@ -149,124 +149,122 @@ VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
149149TERM INFO QUERIES
150150================================================================================
151151DEBUG: Cache lookup for FBbt_00003748: MISS
152- Error executing query function get_expression_overlaps_here: get_expression_overlaps_here() got an unexpected keyword argument 'short_form'
153- Error executing query function get_transgene_expression_here: get_transgene_expression_here() got an unexpected keyword argument 'short_form'
154- get_term_info (mushroom body): 1072.2901s ✅
152+ ✅ Neo4j connection established
153+ ✅ Neo4j connection established
154+ get_term_info (mushroom body): 608.6476s ✅
155155DEBUG: Cache lookup for VFB_00101567: MISS
156- Error executing query function get_painted_domains: get_painted_domains() got an unexpected keyword argument 'short_form'
157- Error executing query function get_all_aligned_images: get_all_aligned_images() got an unexpected keyword argument 'short_form'
158- Error executing query function get_aligned_datasets: get_aligned_datasets() got an unexpected keyword argument 'short_form'
159- Error executing query function get_all_datasets: get_all_datasets() got an unexpected keyword argument 'short_form'
160- get_term_info (individual): 0.2207s ✅
156+ Error executing query function get_all_datasets: get_all_datasets() got multiple values for argument 'return_dataframe'
157+ get_term_info (individual): 2.3331s ✅
161158
162159================================================================================
163160NEURON PART OVERLAP QUERIES
164161================================================================================
165- NeuronsPartHere: 1.4489s ✅
162+ NeuronsPartHere: 1.0753s ✅
166163
167164================================================================================
168165SYNAPTIC TERMINAL QUERIES
169166================================================================================
170- NeuronsSynaptic: 1.3345s ✅
171- NeuronsPresynapticHere: 1.1090s ✅
172- NeuronsPostsynapticHere: 1.2813s ✅
173- NeuronNeuronConnectivity: 1.2885s ✅
167+ NeuronsSynaptic: 0.9649s ✅
168+ NeuronsPresynapticHere: 0.9651s ✅
169+ NeuronsPostsynapticHere: 0.8903s ✅
170+ NeuronNeuronConnectivity: 1.0729s ✅
174171
175172================================================================================
176173ANATOMICAL HIERARCHY QUERIES
177174================================================================================
178- ComponentsOf: 1.0157s ✅
179- PartsOf: 1.1197s ✅
180- SubclassesOf: 1.1249s ✅
175+ ComponentsOf: 0.8690s ✅
176+ PartsOf: 0.8611s ✅
177+ SubclassesOf: 0.7052s ✅
181178
182179================================================================================
183180TRACT/NERVE AND LINEAGE QUERIES
184181================================================================================
185- NeuronClassesFasciculatingHere: 1.1107s ✅
186- TractsNervesInnervatingHere: 0.9896s ✅
187- LineageClonesIn: 0.9610s ✅
182+ NeuronClassesFasciculatingHere: 0.6805s ✅
183+ TractsNervesInnervatingHere: 0.6984s ✅
184+ LineageClonesIn: 0.6856s ✅
188185
189186================================================================================
190187IMAGE AND DEVELOPMENTAL QUERIES
191188================================================================================
192- ImagesNeurons: 576.7663s ✅
189+ ImagesNeurons: 1.1065s ✅
190+ ImagesThatDevelopFrom: 0.8066s ✅
191+ epFrag: 591.6025s ✅
193192
194193================================================================================
195194INSTANCE QUERIES
196195================================================================================
197- ListAllAvailableImages: 1.2426s ✅
196+ ListAllAvailableImages: 0.8754s ✅
198197
199198================================================================================
200199CONNECTIVITY QUERIES
201200================================================================================
202- NeuronNeuronConnectivityQuery: 1.1067s ✅
203- NeuronRegionConnectivityQuery: 0.9945s ✅
201+ NeuronNeuronConnectivityQuery: 0.8835s ✅
202+ NeuronRegionConnectivityQuery: 0.7876s ✅
204203
205204================================================================================
206205SIMILARITY QUERIES (Neo4j NBLAST)
207206================================================================================
208- ✅ Neo4j connection established
209- SimilarMorphologyTo: 14.4709s ✅
207+ SimilarMorphologyTo: 13.3716s ✅
210208
211209================================================================================
212210NEURON INPUT QUERIES (Neo4j)
213211================================================================================
214- NeuronInputsTo: 2.8417s ✅
212+ NeuronInputsTo: 3.4685s ✅
215213
216214================================================================================
217215EXPRESSION PATTERN QUERIES (Neo4j)
218216================================================================================
219- ExpressionOverlapsHere: 1.1854s ✅
217+ ExpressionOverlapsHere: 0.8755s ✅
220218 └─ Found 3922 total expression patterns, returned 10
221219
222220================================================================================
223221TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
224222================================================================================
225- anatScRNAseqQuery: 0.9196s ✅
223+ anatScRNAseqQuery: 0.8030s ✅
226224 └─ Found 0 total clusters
227- clusterExpression: 1.0517s ✅
225+ clusterExpression: 0.5871s ✅
228226 └─ Found 0 genes expressed
229- expressionCluster: 1.1928s ✅
227+ expressionCluster: 0.5859s ✅
230228 └─ Found 0 clusters expressing gene
231- scRNAdatasetData: 0.7854s ✅
229+ scRNAdatasetData: 0.6444s ✅
232230 └─ Found 0 clusters in dataset
233231
234232================================================================================
235233NBLAST SIMILARITY QUERIES
236234================================================================================
237- SimilarMorphologyTo: 1.4204s ✅
235+ SimilarMorphologyTo: 0.9659s ✅
238236 └─ Found 227 NBLAST matches, returned 10
239- SimilarMorphologyToPartOf: 0.7483s ✅
237+ SimilarMorphologyToPartOf: 0.5565s ✅
240238 └─ Found 0 NBLASTexp matches
241- SimilarMorphologyToPartOfexp: 0.7206s ✅
239+ SimilarMorphologyToPartOfexp: 0.5361s ✅
242240 └─ Found 0 reverse NBLASTexp matches
243- SimilarMorphologyToNB: 0.7626s ✅
241+ SimilarMorphologyToNB: 0.6602s ✅
244242 └─ Found 15 NeuronBridge matches, returned 10
245- SimilarMorphologyToNBexp: 0.9087s ✅
243+ SimilarMorphologyToNBexp: 0.6289s ✅
246244 └─ Found 15 NeuronBridge expression matches, returned 10
247245✅ All NBLAST similarity queries completed
248246
249247================================================================================
250248DATASET/TEMPLATE QUERIES
251249================================================================================
252- PaintedDomains: 0.7683s ✅
250+ PaintedDomains: 0.5739s ✅
253251 └─ Found 0 painted domains
254- DatasetImages: 0.9090s ✅
252+ DatasetImages: 0.6545s ✅
255253 └─ Found 0 images in dataset
256- AllAlignedImages: 0.7453s ✅
254+ AllAlignedImages: 0.5679s ✅
257255 └─ Found 0 aligned images
258- AlignedDatasets: 0.9163s ✅
256+ AlignedDatasets: 0.8436s ✅
259257 └─ Found 0 aligned datasets
260- AllDatasets: 0.9809s ✅
258+ AllDatasets: 0.7601s ✅
261259 └─ Found 115 total datasets, returned 20
262260✅ All dataset/template queries completed
263261
264262================================================================================
265263PUBLICATION/TRANSGENE QUERIES
266264================================================================================
267- TermsForPub: 0.7355s ✅
265+ TermsForPub: 0.5162s ✅
268266 └─ Found 0 terms for publication
269- TransgeneExpressionHere: 1.9218s ✅
267+ TransgeneExpressionHere: 0.6500s ✅
270268 └─ Found 2339 transgene expressions, returned 10
271269✅ All publication/transgene queries completed
272270
@@ -279,7 +277,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
279277Performance test for specific term info queries. ... ok
280278
281279----------------------------------------------------------------------
282- Ran 1 test in 2.256s
280+ Ran 1 test in 1.589s
283281
284282OK
285283VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
@@ -294,9 +292,9 @@ VFBquery: Caching enabled by default (3-month TTL, 2GB memory)
294292==================================================
295293Performance Test Results:
296294==================================================
297- FBbt_00003748 query took: 0.9771 seconds
298- VFB_00101567 query took: 1.2783 seconds
299- Total time for both queries: 2.2554 seconds
295+ FBbt_00003748 query took: 0.8036 seconds
296+ VFB_00101567 query took: 0.7848 seconds
297+ Total time for both queries: 1.5884 seconds
300298Performance Level: 🟡 Good (1.5-3 seconds)
301299==================================================
302300Performance test completed successfully!
@@ -315,4 +313,4 @@ Track performance trends across commits:
315313- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
316314
317315---
318- * Last updated: 2025-11-09 09:04:16 UTC*
316+ * Last updated: 2025-11-09 10:54:37 UTC*
0 commit comments