11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-02-02 18:35:30 UTC
4- ** Git Commit:** 60c4054acb7286908d9cb8840b3ad8fb026d8851
3+ ** Test Date:** 2026-02-03 04:09:44 UTC
4+ ** Git Commit:** 8906834a5787f2d593938416041fcc3397ef18b2
55** Branch:** main
6- ** Workflow Run:** [ 21602545419 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21602545419 )
6+ ** Workflow Run:** [ 21616566648 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21616566648 )
77
88## Test Overview
99
@@ -95,7 +95,8 @@ Test anatomical hierarchy queries ... ok
9595test_05_tract_lineage_queries (src.test.test_query_performance.QueryPerformanceTest)
9696Test tract/nerve and lineage clone queries ... ok
9797test_05b_image_queries (src.test.test_query_performance.QueryPerformanceTest)
98- Test image and developmental lineage queries ... FAIL
98+ Test image and developmental lineage queries ... INFO: Owlery query returned 400 Bad Request (invalid for this term type): <http://purl.obolibrary.org/obo/BFO_0000050> some <http://purl.obolibrary.org/obo/FBtp0000001>
99+ ok
99100test_06_instance_queries (src.test.test_query_performance.QueryPerformanceTest)
100101Test instance retrieval queries ... ok
101102test_07_connectivity_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -115,19 +116,10 @@ Test dataset and template queries ... ok
115116test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
116117Test publication and transgene queries ... ok
117118
118- ======================================================================
119- FAIL: test_05b_image_queries (src.test.test_query_performance.QueryPerformanceTest)
120- Test image and developmental lineage queries
121119----------------------------------------------------------------------
122- Traceback (most recent call last):
123- File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 284, in test_05b_image_queries
124- self.assertLess(duration, self.THRESHOLD_SLOW, "ImagesNeurons exceeded threshold")
125- AssertionError: 35.765986919403076 not less than 15.0 : ImagesNeurons exceeded threshold
120+ Ran 15 tests in 76.376s
126121
127- ----------------------------------------------------------------------
128- Ran 15 tests in 83.217s
129-
130- FAILED (failures=1)
122+ OK
131123VFBquery functions patched with caching support
132124VFBquery: SOLR caching enabled by default (3-month TTL)
133125 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -137,116 +129,120 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137129================================================================================
138130TERM INFO QUERIES
139131================================================================================
140- get_term_info (mushroom body): 2.1200s ✅
141- get_term_info (individual): 1.5530s ✅
132+ get_term_info (mushroom body): 2.5632s ✅
133+ get_term_info (individual): 2.8165s ✅
142134
143135================================================================================
144136NEURON PART OVERLAP QUERIES
145137================================================================================
146- NeuronsPartHere: 2.5589s ✅
138+ NeuronsPartHere: 2.4637s ✅
147139
148140================================================================================
149141SYNAPTIC TERMINAL QUERIES
150142================================================================================
151- NeuronsSynaptic: 2.0732s ✅
152- NeuronsPresynapticHere: 1.2742s ✅
153- NeuronsPostsynapticHere: 1.7829s ✅
154- NeuronNeuronConnectivity: 3.1229s ✅
143+ NeuronsSynaptic: 2.4481s ✅
144+ NeuronsPresynapticHere: 2.2445s ✅
145+ NeuronsPostsynapticHere: 2.3797s ✅
146+ NeuronNeuronConnectivity: 2.0033s ✅
155147
156148================================================================================
157149ANATOMICAL HIERARCHY QUERIES
158150================================================================================
159- ComponentsOf: 1.3371s ✅
160- PartsOf: 1.4569s ✅
161- SubclassesOf: 1.4793s ✅
151+ ComponentsOf: 1.9015s ✅
152+ PartsOf: 1.8868s ✅
153+ SubclassesOf: 2.0236s ✅
162154
163155================================================================================
164156TRACT/NERVE AND LINEAGE QUERIES
165157================================================================================
166- NeuronClassesFasciculatingHere: 1.3084s ✅
167- TractsNervesInnervatingHere: 1.3509s ✅
168- LineageClonesIn: 1.3383s ✅
158+ NeuronClassesFasciculatingHere: 1.8911s ✅
159+ TractsNervesInnervatingHere: 1.8983s ✅
160+ LineageClonesIn: 1.8984s ✅
169161
170162================================================================================
171163IMAGE AND DEVELOPMENTAL QUERIES
172164================================================================================
173- ImagesNeurons: 35.7660s ✅
165+ ImagesNeurons: 3.2078s ✅
166+ ImagesThatDevelopFrom: 9.1684s ✅
167+ ERROR: Owlery instances request failed: 400 Client Error: Bad Request for url: http://owl.virtualflybrain.org/kbs/vfb/instances?object=%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000050%3E+some+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FFBtp0000001%3E&direct=false&includeDeprecated=false
168+ Test URL: http://owl.virtualflybrain.org/kbs/vfb/instances?object=%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000050%3E+some+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FFBtp0000001%3E&direct=false&includeDeprecated=false
169+ epFrag: 5.5367s ✅
174170
175171================================================================================
176172INSTANCE QUERIES
177173================================================================================
178- ListAllAvailableImages: 2.1054s ✅
174+ ListAllAvailableImages: 1.9267s ✅
179175
180176================================================================================
181177CONNECTIVITY QUERIES
182178================================================================================
183- NeuronNeuronConnectivityQuery: 1.2560s ✅
184- NeuronRegionConnectivityQuery: 1.5479s ✅
179+ NeuronNeuronConnectivityQuery: 1.9060s ✅
180+ NeuronRegionConnectivityQuery: 1.8756s ✅
185181
186182================================================================================
187183SIMILARITY QUERIES (Neo4j NBLAST)
188184================================================================================
189- SimilarMorphologyTo: 0.7433s ✅
185+ SimilarMorphologyTo: 1.1075s ✅
190186
191187================================================================================
192188NEURON INPUT QUERIES (Neo4j)
193189================================================================================
194- NeuronInputsTo: 4.4323s ✅
190+ NeuronInputsTo: 4.5545s ✅
195191
196192================================================================================
197193EXPRESSION PATTERN QUERIES (Neo4j)
198194================================================================================
199- ExpressionOverlapsHere: 0.8076s ✅
195+ ExpressionOverlapsHere: 2.1688s ✅
200196 └─ Found 3922 total expression patterns, returned 10
201197
202198================================================================================
203199TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
204200================================================================================
205- anatScRNAseqQuery: 2.3144s ✅
201+ anatScRNAseqQuery: 1.0012s ✅
206202 └─ Found 0 total clusters
207- clusterExpression: 0.7042s ✅
203+ clusterExpression: 1.0503s ✅
208204 └─ Found 0 genes expressed
209- expressionCluster: 0.6249s ✅
205+ expressionCluster: 0.7539s ✅
210206 └─ Found 0 clusters expressing gene
211- scRNAdatasetData: 0.6474s ✅
207+ scRNAdatasetData: 0.9218s ✅
212208 └─ Found 0 clusters in dataset
213209
214210================================================================================
215211NBLAST SIMILARITY QUERIES
216212================================================================================
217- SimilarMorphologyTo: 0.7777s ✅
213+ SimilarMorphologyTo: 2.6130s ✅
218214 └─ Found 215 NBLAST matches, returned 10
219- SimilarMorphologyToPartOf: 0.5169s ✅
215+ SimilarMorphologyToPartOf: 0.8968s ✅
220216 └─ Found 0 NBLASTexp matches
221- SimilarMorphologyToPartOfexp: 1.8347s ✅
217+ SimilarMorphologyToPartOfexp: 0.7322s ✅
222218 └─ Found 0 reverse NBLASTexp matches
223- SimilarMorphologyToNB: 0.5399s ✅
219+ SimilarMorphologyToNB: 0.8312s ✅
224220 └─ Found 15 NeuronBridge matches, returned 10
225- SimilarMorphologyToNBexp: 0.6754s ✅
221+ SimilarMorphologyToNBexp: 0.7315s ✅
226222 └─ Found 15 NeuronBridge expression matches, returned 10
227223✅ All NBLAST similarity queries completed
228224
229225================================================================================
230226DATASET/TEMPLATE QUERIES
231227================================================================================
232- PaintedDomains: 0.7101s ✅
228+ PaintedDomains: 0.7476s ✅
233229 └─ Found 0 painted domains
234- DatasetImages: 0.5013s ✅
230+ DatasetImages: 0.9057s ✅
235231 └─ Found 0 images in dataset
236- AllAlignedImages: 0.6046s ✅
232+ AllAlignedImages: 0.7199s ✅
237233 └─ Found 0 aligned images
238- AlignedDatasets: 1.3742s ✅
234+ AlignedDatasets: 1.0457s ✅
239235 └─ Found 0 aligned datasets
240- AllDatasets: 0.7931s ✅
236+ AllDatasets: 0.9588s ✅
241237 └─ Found 116 total datasets, returned 20
242238✅ All dataset/template queries completed
243239
244240================================================================================
245241PUBLICATION/TRANSGENE QUERIES
246242================================================================================
247- TermsForPub: 0.4879s ✅
243+ TermsForPub: 1.6021s ✅
248244 └─ Found 0 terms for publication
249- TransgeneExpressionHere: 0.6897s ✅
245+ TransgeneExpressionHere: 0.9890s ✅
250246 └─ Found 2346 transgene expressions, returned 10
251247✅ All publication/transgene queries completed
252248
@@ -259,7 +255,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
259255Performance test for specific term info queries. ... ok
260256
261257----------------------------------------------------------------------
262- Ran 1 test in 2.584s
258+ Ran 1 test in 4.165s
263259
264260OK
265261VFBquery functions patched with caching support
@@ -269,10 +265,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
269265==================================================
270266Performance Test Results:
271267==================================================
272- FBbt_00003748 query took: 1.3311 seconds
273- VFB_00101567 query took: 1.2528 seconds
274- Total time for both queries: 2.5838 seconds
275- Performance Level: 🟡 Good (1.5-3 seconds)
268+ FBbt_00003748 query took: 2.2582 seconds
269+ VFB_00101567 query took: 1.9065 seconds
270+ Total time for both queries: 4.1646 seconds
271+ Performance Level: 🟠 Acceptable (3-6 seconds)
276272==================================================
277273Performance test completed successfully!
278274```
@@ -290,4 +286,4 @@ Track performance trends across commits:
290286- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
291287
292288---
293- * Last updated: 2026-02-02 18:35:30 UTC*
289+ * Last updated: 2026-02-03 04:09:44 UTC*
0 commit comments