Skip to content

Commit 8f06567

Browse files
committed
Update performance test results [skip ci]
1 parent ce0a975 commit 8f06567

1 file changed

Lines changed: 64 additions & 60 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-03-13 07:57:13 UTC
4-
**Git Commit:** 144dbe86aae43ce3c01136195f02f0f3c33ef163
3+
**Test Date:** 2026-03-13 08:07:31 UTC
4+
**Git Commit:** ce0a9756d979fba7088e7782598a811ec3373ba0
55
**Branch:** main
6-
**Workflow Run:** [23041516091](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23041516091)
6+
**Workflow Run:** [23041844191](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23041844191)
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
121-
----------------------------------------------------------------------
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: 3.1062052249908447 not less than 3.0 : AllAlignedImages exceeded threshold
126-
127118
----------------------------------------------------------------------
128-
Ran 15 tests in 107.017s
119+
Ran 15 tests in 60.445s
129120
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,113 +128,118 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137128
================================================================================
138129
TERM INFO QUERIES
139130
================================================================================
140-
get_term_info (mushroom body): 30.2929s
141-
get_term_info (individual): 2.2274s
131+
get_term_info (mushroom body): 1.6558s
132+
get_term_info (individual): 1.4827s
142133
143134
================================================================================
144135
NEURON PART OVERLAP QUERIES
145136
================================================================================
146-
NeuronsPartHere: 2.5496s
137+
NeuronsPartHere: 1.9622s
147138
148139
================================================================================
149140
SYNAPTIC TERMINAL QUERIES
150141
================================================================================
151-
NeuronsSynaptic: 2.5434s
152-
NeuronsPresynapticHere: 2.1249s
153-
NeuronsPostsynapticHere: 2.4060s
154-
NeuronNeuronConnectivity: 2.0148s
142+
NeuronsSynaptic: 1.8788s
143+
NeuronsPresynapticHere: 1.5033s
144+
NeuronsPostsynapticHere: 1.5632s
145+
NeuronNeuronConnectivity: 2.4559s
155146
156147
================================================================================
157148
ANATOMICAL HIERARCHY QUERIES
158149
================================================================================
159-
ComponentsOf: 2.0205s
160-
PartsOf: 2.0632s
161-
SubclassesOf: 2.0713s
150+
ComponentsOf: 1.2769s
151+
PartsOf: 1.4626s
152+
SubclassesOf: 1.3351s
162153
163154
================================================================================
164155
TRACT/NERVE AND LINEAGE QUERIES
165156
================================================================================
166-
NeuronClassesFasciculatingHere: 2.0665s
167-
TractsNervesInnervatingHere: 2.0282s
168-
LineageClonesIn: 2.0421s
157+
NeuronClassesFasciculatingHere: 1.2691s
158+
TractsNervesInnervatingHere: 1.4554s
159+
LineageClonesIn: 1.2638s
169160
170161
================================================================================
171162
IMAGE AND DEVELOPMENTAL QUERIES
172163
================================================================================
173-
ImagesNeurons: 3.3900s
174-
ImagesThatDevelopFrom: 2.1704s
175-
epFrag: 2.0829s
164+
ImagesNeurons: 2.4511s
165+
ImagesThatDevelopFrom: 1.4457s
166+
epFrag: 1.3989s
176167
177168
================================================================================
178169
INSTANCE QUERIES
179170
================================================================================
180-
ListAllAvailableImages: 2.1491s
171+
ListAllAvailableImages: 1.2849s
181172
182173
================================================================================
183174
CONNECTIVITY QUERIES
184175
================================================================================
185-
NeuronNeuronConnectivityQuery: 2.0723s
186-
NeuronRegionConnectivityQuery: 2.0295s
176+
NeuronNeuronConnectivityQuery: 1.3047s
177+
NeuronRegionConnectivityQuery: 1.3862s
187178
188179
================================================================================
189180
SIMILARITY QUERIES (Neo4j NBLAST)
190181
================================================================================
191-
SimilarMorphologyTo: 1.0493s
182+
SimilarMorphologyTo: 0.6792s
192183
193184
================================================================================
194185
NEURON INPUT QUERIES (Neo4j)
195186
================================================================================
196-
NeuronInputsTo: 3.3096s
187+
NeuronInputsTo: 3.6678s
197188
198189
================================================================================
199190
EXPRESSION PATTERN QUERIES (Neo4j)
200191
================================================================================
201-
ExpressionOverlapsHere: 1.3785s
192+
ExpressionOverlapsHere: 0.9742s
202193
└─ Found 3922 total expression patterns, returned 10
203194
204195
================================================================================
205196
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197
================================================================================
207-
anatScRNAseqQuery: 1.0429s
198+
anatScRNAseqQuery: 0.6519s
208199
└─ Found 57 total clusters, returned 10
209-
clusterExpression: 1.2580s
200+
clusterExpression: 0.9074s
210201
└─ Found 4588 genes expressed, returned 10
211-
expressionCluster: 0.9382s
202+
expressionCluster: 0.7778s
212203
└─ Found 9 clusters expressing gene
213-
scRNAdatasetData: 0.8250s
204+
scRNAdatasetData: 0.6382s
214205
└─ Found 13 clusters in dataset, returned 10
215206
216207
================================================================================
217208
NBLAST SIMILARITY QUERIES
218209
================================================================================
219-
SimilarMorphologyTo: 1.3561s
210+
SimilarMorphologyTo: 0.8315s
220211
└─ Found 215 NBLAST matches, returned 10
221-
SimilarMorphologyToPartOf: 0.7785s
212+
SimilarMorphologyToPartOf: 0.5206s
222213
└─ Found 0 NBLASTexp matches
223-
SimilarMorphologyToPartOfexp: 0.7598s
214+
SimilarMorphologyToPartOfexp: 0.6043s
224215
└─ Found 0 reverse NBLASTexp matches
225-
SimilarMorphologyToNB: 0.9155s
216+
SimilarMorphologyToNB: 0.6886s
226217
└─ Found 15 NeuronBridge matches, returned 10
227-
SimilarMorphologyToNBexp: 0.7769s
218+
SimilarMorphologyToNBexp: 0.6986s
228219
└─ Found 15 NeuronBridge expression matches, returned 10
229220
✅ All NBLAST similarity queries completed
230221
231222
================================================================================
232223
DATASET/TEMPLATE QUERIES
233224
================================================================================
234-
PaintedDomains: 1.0118s
225+
PaintedDomains: 0.6539s
235226
└─ Found 46 painted domains, returned 10
236-
DatasetImages: 0.9165s
227+
DatasetImages: 0.6284s
237228
└─ Found 46 images in dataset, returned 10
238-
AllAlignedImages: 3.1062s
229+
AllAlignedImages: 2.8194s
239230
└─ Found 546915 aligned images, returned 10
231+
AlignedDatasets: 0.6468s ✅
232+
└─ Found 72 aligned datasets, returned 10
233+
AllDatasets: 0.8160s ✅
234+
└─ Found 128 total datasets, returned 20
235+
✅ All dataset/template queries completed
240236
241237
================================================================================
242238
PUBLICATION/TRANSGENE QUERIES
243239
================================================================================
244-
TermsForPub: 1.0373s
240+
TermsForPub: 0.6299s
245241
└─ Found 2 terms for publication
246-
TransgeneExpressionHere: 1.9255s
242+
TransgeneExpressionHere: 1.3574s
247243
└─ Found 2350 transgene expressions, returned 10
248244
✅ All publication/transgene queries completed
249245
@@ -253,25 +249,33 @@ PERFORMANCE TEST SUMMARY
253249
All performance tests completed!
254250
================================================================================
255251
test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256-
Performance test for specific term info queries. ... ok
252+
Performance test for specific term info queries. ... FAIL
257253
254+
======================================================================
255+
FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256+
Performance test for specific term info queries.
258257
----------------------------------------------------------------------
259-
Ran 1 test in 4.108s
258+
Traceback (most recent call last):
259+
File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590, in test_term_info_performance
260+
self.assertLess(duration_1, max_single_query_time,
261+
AssertionError: 17.597572565078735 not less than 10.0 : FBbt_00003748 query took 17.5976s, exceeding 10.0s threshold
260262
261-
OK
263+
----------------------------------------------------------------------
264+
Ran 1 test in 18.897s
265+
266+
FAILED (failures=1)
262267
VFBquery functions patched with caching support
263268
VFBquery: SOLR caching enabled by default (3-month TTL)
264269
Disable with: export VFBQUERY_CACHE_ENABLED=false
265270
266271
==================================================
267272
Performance Test Results:
268273
==================================================
269-
FBbt_00003748 query took: 2.0449 seconds
270-
VFB_00101567 query took: 2.0627 seconds
271-
Total time for both queries: 4.1076 seconds
272-
Performance Level: 🟠 Acceptable (3-6 seconds)
274+
FBbt_00003748 query took: 17.5976 seconds
275+
VFB_00101567 query took: 1.2990 seconds
276+
Total time for both queries: 18.8966 seconds
277+
Performance Level: 🔴 Slow (> 6 seconds)
273278
==================================================
274-
Performance test completed successfully!
275279
```
276280

277281
## Summary
@@ -287,4 +291,4 @@ Track performance trends across commits:
287291
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
288292

289293
---
290-
*Last updated: 2026-03-13 07:57:13 UTC*
294+
*Last updated: 2026-03-13 08:07:31 UTC*

0 commit comments

Comments
 (0)