Skip to content

Commit 1a074ef

Browse files
committed
Update performance test results [skip ci]
1 parent 1b11739 commit 1a074ef

1 file changed

Lines changed: 53 additions & 58 deletions

File tree

performance.md

Lines changed: 53 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# VFBquery Performance Test Results
22

3-
**Test Date:** 2026-03-19 04:16:46 UTC
4-
**Git Commit:** 650aa132102c8df768b99b269619fd4f71e6b06a
3+
**Test Date:** 2026-03-19 07:59:01 UTC
4+
**Git Commit:** 1b1173957542e5cba3872ad14714607a85d86cf4
55
**Branch:** main
6-
**Workflow Run:** [23279511606](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23279511606)
6+
**Workflow Run:** [23285248470](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23285248470)
77

88
## Test Overview
99

@@ -111,23 +111,14 @@ Test scRNAseq transcriptomics queries ... ok
111111
test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112112
Test NBLAST similarity queries ... ok
113113
test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
114-
Test dataset and template queries ... FAIL
114+
Test dataset and template queries ... ok
115115
test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
116116
Test 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
121118
----------------------------------------------------------------------
122-
Traceback (most recent call last):
123-
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 660, in test_13_dataset_template_queries
124-
self.assertLess(duration, self.THRESHOLD_MEDIUM, "AllAlignedImages exceeded threshold")
125-
AssertionError: 6.632084131240845 not less than 3.0 : AllAlignedImages exceeded threshold
119+
Ran 15 tests in 71.889s
126120
127-
----------------------------------------------------------------------
128-
Ran 15 tests in 116.683s
129-
130-
FAILED (failures=1)
121+
OK
131122
VFBquery functions patched with caching support
132123
VFBquery: SOLR caching enabled by default (3-month TTL)
133124
Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -137,114 +128,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137128
================================================================================
138129
TERM INFO QUERIES
139130
================================================================================
140-
get_term_info (mushroom body): 2.1962s
141-
get_term_info (individual): 1.6673s
131+
get_term_info (mushroom body): 2.1233s
132+
get_term_info (individual): 1.8632s
142133
143134
================================================================================
144135
NEURON PART OVERLAP QUERIES
145136
================================================================================
146-
NeuronsPartHere: 2.0149s
137+
NeuronsPartHere: 2.2647s
147138
148139
================================================================================
149140
SYNAPTIC TERMINAL QUERIES
150141
================================================================================
151-
NeuronsSynaptic: 1.8236s
152-
NeuronsPresynapticHere: 1.7131s
153-
NeuronsPostsynapticHere: 1.6719s
154-
NeuronNeuronConnectivity: 1.4744s
142+
NeuronsSynaptic: 2.0093s
143+
NeuronsPresynapticHere: 2.0098s
144+
NeuronsPostsynapticHere: 2.2233s
145+
NeuronNeuronConnectivity: 1.6691s
155146
156147
================================================================================
157148
ANATOMICAL HIERARCHY QUERIES
158149
================================================================================
159-
ComponentsOf: 1.5045s
160-
PartsOf: 1.2768s
161-
SubclassesOf: 1.2766s
150+
ComponentsOf: 1.7338s
151+
PartsOf: 1.7003s
152+
SubclassesOf: 1.7001s
162153
163154
================================================================================
164155
TRACT/NERVE AND LINEAGE QUERIES
165156
================================================================================
166-
NeuronClassesFasciculatingHere: 1.2788s
167-
TractsNervesInnervatingHere: 1.7202s
168-
LineageClonesIn: 1.1874s
157+
NeuronClassesFasciculatingHere: 1.5466s
158+
TractsNervesInnervatingHere: 1.6908s
159+
LineageClonesIn: 1.5699s
169160
170161
================================================================================
171162
IMAGE AND DEVELOPMENTAL QUERIES
172163
================================================================================
173-
ImagesNeurons: 2.2620s
174-
ImagesThatDevelopFrom: 1.2323s
175-
epFrag: 1.3792s
164+
ImagesNeurons: 2.8356s
165+
ImagesThatDevelopFrom: 1.5971s
166+
epFrag: 1.5973s
176167
177168
================================================================================
178169
INSTANCE QUERIES
179170
================================================================================
180-
ListAllAvailableImages: 1.2522s
171+
ListAllAvailableImages: 1.5439s
181172
182173
================================================================================
183174
CONNECTIVITY QUERIES
184175
================================================================================
185-
NeuronNeuronConnectivityQuery: 1.2273s
186-
NeuronRegionConnectivityQuery: 1.3922s
176+
NeuronNeuronConnectivityQuery: 1.5743s
177+
NeuronRegionConnectivityQuery: 1.7315s
187178
188179
================================================================================
189180
SIMILARITY QUERIES (Neo4j NBLAST)
190181
================================================================================
191-
SimilarMorphologyTo: 0.6392s
182+
SimilarMorphologyTo: 0.9484s
192183
193184
================================================================================
194185
NEURON INPUT QUERIES (Neo4j)
195186
================================================================================
196-
NeuronInputsTo: 2.8321s
187+
NeuronInputsTo: 3.1598s
197188
198189
================================================================================
199190
EXPRESSION PATTERN QUERIES (Neo4j)
200191
================================================================================
201-
ExpressionOverlapsHere: 0.9735s
192+
ExpressionOverlapsHere: 1.1453s
202193
└─ Found 3922 total expression patterns, returned 10
203194
204195
================================================================================
205196
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197
================================================================================
207-
anatScRNAseqQuery: 0.6256s
198+
anatScRNAseqQuery: 0.8148s
208199
└─ Found 57 total clusters, returned 10
209-
clusterExpression: 34.7036s
200+
clusterExpression: 2.2738s
210201
└─ Found 4588 genes expressed, returned 10
211-
clusterExpression: Skipped (test data may not exist): 34.70363998413086 not less than 15.0 : clusterExpression exceeded threshold
212-
expressionCluster: 13.6422s ✅
202+
expressionCluster: 0.6665s ✅
213203
└─ Found 9 clusters expressing gene
214-
scRNAdatasetData: 1.6521s
204+
scRNAdatasetData: 0.8905s
215205
└─ Found 13 clusters in dataset, returned 10
216206
217207
================================================================================
218208
NBLAST SIMILARITY QUERIES
219209
================================================================================
220-
SimilarMorphologyTo: 0.7655s
210+
SimilarMorphologyTo: 1.2082s
221211
└─ Found 215 NBLAST matches, returned 10
222-
SimilarMorphologyToPartOf: 1.0643s
212+
SimilarMorphologyToPartOf: 0.8636s
223213
└─ Found 0 NBLASTexp matches
224-
SimilarMorphologyToPartOfexp: 0.4727s
214+
SimilarMorphologyToPartOfexp: 0.7689s
225215
└─ Found 0 reverse NBLASTexp matches
226-
SimilarMorphologyToNB: 1.5214s
216+
SimilarMorphologyToNB: 0.7530s
227217
└─ Found 15 NeuronBridge matches, returned 10
228-
SimilarMorphologyToNBexp: 0.5670s
218+
SimilarMorphologyToNBexp: 0.8629s
229219
└─ Found 15 NeuronBridge expression matches, returned 10
230220
✅ All NBLAST similarity queries completed
231221
232222
================================================================================
233223
DATASET/TEMPLATE QUERIES
234224
================================================================================
235-
PaintedDomains: 0.5969s
225+
PaintedDomains: 0.7932s
236226
└─ Found 46 painted domains, returned 10
237-
DatasetImages: 0.6723s
227+
DatasetImages: 0.7917s
238228
└─ Found 46 images in dataset, returned 10
239-
AllAlignedImages: 6.6321s
229+
AllAlignedImages: 2.4561s
240230
└─ Found 465165 aligned images, returned 10
231+
AlignedDatasets: 0.7619s ✅
232+
└─ Found 72 aligned datasets, returned 10
233+
AllDatasets: 1.0502s ✅
234+
└─ Found 130 total datasets, returned 20
235+
✅ All dataset/template queries completed
241236
242237
================================================================================
243238
PUBLICATION/TRANSGENE QUERIES
244239
================================================================================
245-
TermsForPub: 0.6008s
240+
TermsForPub: 0.7685s
246241
└─ Found 2 terms for publication
247-
TransgeneExpressionHere: 3.7719s
242+
TransgeneExpressionHere: 1.5679s
248243
└─ Found 2338 transgene expressions, returned 10
249244
✅ All publication/transgene queries completed
250245
@@ -257,7 +252,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
257252
Performance test for specific term info queries. ... ok
258253
259254
----------------------------------------------------------------------
260-
Ran 1 test in 2.520s
255+
Ran 1 test in 3.212s
261256
262257
OK
263258
VFBquery functions patched with caching support
@@ -267,10 +262,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
267262
==================================================
268263
Performance Test Results:
269264
==================================================
270-
FBbt_00003748 query took: 1.3052 seconds
271-
VFB_00101567 query took: 1.2148 seconds
272-
Total time for both queries: 2.5200 seconds
273-
Performance Level: 🟡 Good (1.5-3 seconds)
265+
FBbt_00003748 query took: 1.5897 seconds
266+
VFB_00101567 query took: 1.6223 seconds
267+
Total time for both queries: 3.2120 seconds
268+
Performance Level: 🟠 Acceptable (3-6 seconds)
274269
==================================================
275270
Performance test completed successfully!
276271
```
@@ -288,4 +283,4 @@ Track performance trends across commits:
288283
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
289284

290285
---
291-
*Last updated: 2026-03-19 04:16:46 UTC*
286+
*Last updated: 2026-03-19 07:59:01 UTC*

0 commit comments

Comments
 (0)