11# VFBquery Performance Test Results
22
3- ** Test Date:** 2026-02-07 04:03:14 UTC
4- ** Git Commit:** 33869fc9161af2b8148ba6776800945472539c22
3+ ** Test Date:** 2026-02-08 04:29:35 UTC
4+ ** Git Commit:** e951da88021bcee0c4c9a5a1050d655b51ba649d
55** Branch:** main
6- ** Workflow Run:** [ 21773832018 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21773832018 )
6+ ** Workflow Run:** [ 21792218296 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21792218296 )
77
88## Test Overview
99
@@ -111,14 +111,23 @@ 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 ... 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_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
120+ Test dataset and template queries
118121----------------------------------------------------------------------
119- Ran 15 tests in 86.578s
122+ Traceback (most recent call last):
123+ File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 693, in test_13_dataset_template_queries
124+ self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllDatasets exceeded threshold")
125+ AssertionError: 10.023972749710083 not less than 3.0 : AllDatasets exceeded threshold
120126
121- OK
127+ ----------------------------------------------------------------------
128+ Ran 15 tests in 112.533s
129+
130+ FAILED (failures=1)
122131VFBquery functions patched with caching support
123132VFBquery: SOLR caching enabled by default (3-month TTL)
124133 Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -128,118 +137,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137================================================================================
129138TERM INFO QUERIES
130139================================================================================
131- get_term_info (mushroom body): 2.1332s ✅
132- get_term_info (individual): 2.2596s ✅
140+ get_term_info (mushroom body): 1.9936s ✅
141+ get_term_info (individual): 1.7380s ✅
133142
134143================================================================================
135144NEURON PART OVERLAP QUERIES
136145================================================================================
137- NeuronsPartHere: 2.4139s ✅
146+ NeuronsPartHere: 2.0688s ✅
138147
139148================================================================================
140149SYNAPTIC TERMINAL QUERIES
141150================================================================================
142- NeuronsSynaptic: 2.1676s ✅
143- NeuronsPresynapticHere: 1.9901s ✅
144- NeuronsPostsynapticHere: 2.0320s ✅
145- NeuronNeuronConnectivity: 2.0710s ✅
151+ NeuronsSynaptic: 1.8044s ✅
152+ NeuronsPresynapticHere: 1.4005s ✅
153+ NeuronsPostsynapticHere: 1.6263s ✅
154+ NeuronNeuronConnectivity: 1.4913s ✅
146155
147156================================================================================
148157ANATOMICAL HIERARCHY QUERIES
149158================================================================================
150- ComponentsOf: 1.9877s ✅
151- PartsOf: 1.5494s ✅
152- SubclassesOf: 1.5225s ✅
159+ ComponentsOf: 1.5240s ✅
160+ PartsOf: 1.3862s ✅
161+ SubclassesOf: 1.4190s ✅
153162
154163================================================================================
155164TRACT/NERVE AND LINEAGE QUERIES
156165================================================================================
157- NeuronClassesFasciculatingHere: 2.0088s ✅
158- TractsNervesInnervatingHere: 1.5094s ✅
159- LineageClonesIn: 4.4899s ✅
166+ NeuronClassesFasciculatingHere: 1.3899s ✅
167+ TractsNervesInnervatingHere: 1.3959s ✅
168+ LineageClonesIn: 1.3961s ✅
160169
161170================================================================================
162171IMAGE AND DEVELOPMENTAL QUERIES
163172================================================================================
164- ImagesNeurons: 2.7388s ✅
165- ImagesThatDevelopFrom: 1.6009s ✅
166- epFrag: 1.5409s ✅
173+ ImagesNeurons: 2.3807s ✅
174+ ImagesThatDevelopFrom: 1.4565s ✅
175+ epFrag: 1.3855s ✅
167176
168177================================================================================
169178INSTANCE QUERIES
170179================================================================================
171- ListAllAvailableImages: 1.5460s ✅
180+ ListAllAvailableImages: 1.3872s ✅
172181
173182================================================================================
174183CONNECTIVITY QUERIES
175184================================================================================
176- NeuronNeuronConnectivityQuery: 1.5640s ✅
177- NeuronRegionConnectivityQuery: 1.5705s ✅
185+ NeuronNeuronConnectivityQuery: 1.3879s ✅
186+ NeuronRegionConnectivityQuery: 1.3807s ✅
178187
179188================================================================================
180189SIMILARITY QUERIES (Neo4j NBLAST)
181190================================================================================
182- SimilarMorphologyTo: 0.8033s ✅
191+ SimilarMorphologyTo: 0.8412s ✅
183192
184193================================================================================
185194NEURON INPUT QUERIES (Neo4j)
186195================================================================================
187- NeuronInputsTo: 2.9703s ✅
196+ NeuronInputsTo: 2.9633s ✅
188197
189198================================================================================
190199EXPRESSION PATTERN QUERIES (Neo4j)
191200================================================================================
192- ExpressionOverlapsHere: 1.0902s ✅
201+ ExpressionOverlapsHere: 1.0251s ✅
193202 └─ Found 3922 total expression patterns, returned 10
194203
195204================================================================================
196205TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206================================================================================
198- anatScRNAseqQuery: 0.8016s ✅
207+ anatScRNAseqQuery: 0.7000s ✅
199208 └─ Found 57 total clusters, returned 10
200- clusterExpression: 7.2974s ✅
209+ clusterExpression: 40.7768s ✅
201210 └─ Found 4589 genes expressed, returned 10
202- expressionCluster: 0.8660s ✅
211+ clusterExpression: Skipped (test data may not exist): 40.77678728103638 not less than 15.0 : clusterExpression exceeded threshold
212+ expressionCluster: 0.7019s ✅
203213 └─ Found 9 clusters expressing gene
204- scRNAdatasetData: 0.8278s ✅
214+ scRNAdatasetData: 0.7160s ✅
205215 └─ Found 13 clusters in dataset, returned 10
206216
207217================================================================================
208218NBLAST SIMILARITY QUERIES
209219================================================================================
210- SimilarMorphologyTo: 1.1249s ✅
220+ SimilarMorphologyTo: 1.6848s ✅
211221 └─ Found 215 NBLAST matches, returned 10
212- SimilarMorphologyToPartOf: 0.7215s ✅
222+ SimilarMorphologyToPartOf: 0.5628s ✅
213223 └─ Found 0 NBLASTexp matches
214- SimilarMorphologyToPartOfexp: 0.7113s ✅
224+ SimilarMorphologyToPartOfexp: 0.5504s ✅
215225 └─ Found 0 reverse NBLASTexp matches
216- SimilarMorphologyToNB: 0.5755s ✅
226+ SimilarMorphologyToNB: 0.6513s ✅
217227 └─ Found 15 NeuronBridge matches, returned 10
218- SimilarMorphologyToNBexp: 0.6026s ✅
228+ SimilarMorphologyToNBexp: 0.5541s ✅
219229 └─ Found 15 NeuronBridge expression matches, returned 10
220230✅ All NBLAST similarity queries completed
221231
222232================================================================================
223233DATASET/TEMPLATE QUERIES
224234================================================================================
225- PaintedDomains: 0.7544s ✅
235+ PaintedDomains: 0.7006s ✅
226236 └─ Found 46 painted domains, returned 10
227- DatasetImages: 1.3321s ✅
237+ DatasetImages: 0.6642s ✅
228238 └─ Found 46 images in dataset, returned 10
229- AllAlignedImages: 2.1378s ✅
239+ AllAlignedImages: 2.5651s ✅
230240 └─ Found 378914 aligned images, returned 10
231- AlignedDatasets: 0.7746s ✅
241+ AlignedDatasets: 0.6993s ✅
232242 └─ Found 72 aligned datasets, returned 10
233- AllDatasets: 1.0165s ✅
243+ AllDatasets: 10.0240s ✅
234244 └─ Found 116 total datasets, returned 20
235- ✅ All dataset/template queries completed
236245
237246================================================================================
238247PUBLICATION/TRANSGENE QUERIES
239248================================================================================
240- TermsForPub: 0.7584s ✅
249+ TermsForPub: 0.6953s ✅
241250 └─ Found 2 terms for publication
242- TransgeneExpressionHere: 1.6095s ✅
251+ TransgeneExpressionHere: 1.5591s ✅
243252 └─ Found 2346 transgene expressions, returned 10
244253✅ All publication/transgene queries completed
245254
@@ -252,7 +261,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252261Performance test for specific term info queries. ... ok
253262
254263----------------------------------------------------------------------
255- Ran 1 test in 3.079s
264+ Ran 1 test in 2.813s
256265
257266OK
258267VFBquery functions patched with caching support
@@ -262,10 +271,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262271==================================================
263272Performance Test Results:
264273==================================================
265- FBbt_00003748 query took: 1.5555 seconds
266- VFB_00101567 query took: 1.5233 seconds
267- Total time for both queries: 3.0788 seconds
268- Performance Level: 🟠 Acceptable (3-6 seconds)
274+ FBbt_00003748 query took: 1.4024 seconds
275+ VFB_00101567 query took: 1.4107 seconds
276+ Total time for both queries: 2.8130 seconds
277+ Performance Level: 🟡 Good (1.5-3 seconds)
269278==================================================
270279Performance test completed successfully!
271280```
@@ -283,4 +292,4 @@ Track performance trends across commits:
283292- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
284293
285294---
286- * Last updated: 2026-02-07 04:03:14 UTC*
295+ * Last updated: 2026-02-08 04:29:35 UTC*
0 commit comments