Skip to content

Commit 8906834

Browse files
committed
Update performance test results [skip ci]
1 parent 60c4054 commit 8906834

1 file changed

Lines changed: 57 additions & 50 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-02-02 04:17:08 UTC
4-
**Git Commit:** 149ffe79fba63cfa149929f34dbd46fd54136621
3+
**Test Date:** 2026-02-02 18:35:30 UTC
4+
**Git Commit:** 60c4054acb7286908d9cb8840b3ad8fb026d8851
55
**Branch:** main
6-
**Workflow Run:** [21577138574](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21577138574)
6+
**Workflow Run:** [21602545419](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/21602545419)
77

88
## Test Overview
99

@@ -95,7 +95,7 @@ Test anatomical hierarchy queries ... ok
9595
test_05_tract_lineage_queries (src.test.test_query_performance.QueryPerformanceTest)
9696
Test tract/nerve and lineage clone queries ... ok
9797
test_05b_image_queries (src.test.test_query_performance.QueryPerformanceTest)
98-
Test image and developmental lineage queries ... ok
98+
Test image and developmental lineage queries ... FAIL
9999
test_06_instance_queries (src.test.test_query_performance.QueryPerformanceTest)
100100
Test instance retrieval queries ... ok
101101
test_07_connectivity_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -115,10 +115,19 @@ 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_05b_image_queries (src.test.test_query_performance.QueryPerformanceTest)
120+
Test image and developmental lineage queries
118121
----------------------------------------------------------------------
119-
Ran 15 tests in 64.275s
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
120126
121-
OK
127+
----------------------------------------------------------------------
128+
Ran 15 tests in 83.217s
129+
130+
FAILED (failures=1)
122131
VFBquery functions patched with caching support
123132
VFBquery: SOLR caching enabled by default (3-month TTL)
124133
Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -128,118 +137,116 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137
================================================================================
129138
TERM INFO QUERIES
130139
================================================================================
131-
get_term_info (mushroom body): 2.3683s
132-
get_term_info (individual): 2.5339s
140+
get_term_info (mushroom body): 2.1200s
141+
get_term_info (individual): 1.5530s
133142
134143
================================================================================
135144
NEURON PART OVERLAP QUERIES
136145
================================================================================
137-
NeuronsPartHere: 2.3378s
146+
NeuronsPartHere: 2.5589s
138147
139148
================================================================================
140149
SYNAPTIC TERMINAL QUERIES
141150
================================================================================
142-
NeuronsSynaptic: 2.2107s
143-
NeuronsPresynapticHere: 2.1013s
144-
NeuronsPostsynapticHere: 2.1857s
145-
NeuronNeuronConnectivity: 1.9037s
151+
NeuronsSynaptic: 2.0732s
152+
NeuronsPresynapticHere: 1.2742s
153+
NeuronsPostsynapticHere: 1.7829s
154+
NeuronNeuronConnectivity: 3.1229s
146155
147156
================================================================================
148157
ANATOMICAL HIERARCHY QUERIES
149158
================================================================================
150-
ComponentsOf: 1.7692s
151-
PartsOf: 1.7630s
152-
SubclassesOf: 1.7574s
159+
ComponentsOf: 1.3371s
160+
PartsOf: 1.4569s
161+
SubclassesOf: 1.4793s
153162
154163
================================================================================
155164
TRACT/NERVE AND LINEAGE QUERIES
156165
================================================================================
157-
NeuronClassesFasciculatingHere: 1.7693s
158-
TractsNervesInnervatingHere: 1.7604s
159-
LineageClonesIn: 1.7664s
166+
NeuronClassesFasciculatingHere: 1.3084s
167+
TractsNervesInnervatingHere: 1.3509s
168+
LineageClonesIn: 1.3383s
160169
161170
================================================================================
162171
IMAGE AND DEVELOPMENTAL QUERIES
163172
================================================================================
164-
ImagesNeurons: 1.7720s ✅
165-
ImagesThatDevelopFrom: 1.7838s ✅
166-
epFrag: 1.7635s ✅
173+
ImagesNeurons: 35.7660s ✅
167174
168175
================================================================================
169176
INSTANCE QUERIES
170177
================================================================================
171-
ListAllAvailableImages: 1.7647s
178+
ListAllAvailableImages: 2.1054s
172179
173180
================================================================================
174181
CONNECTIVITY QUERIES
175182
================================================================================
176-
NeuronNeuronConnectivityQuery: 1.7660s
177-
NeuronRegionConnectivityQuery: 1.7998s
183+
NeuronNeuronConnectivityQuery: 1.2560s
184+
NeuronRegionConnectivityQuery: 1.5479s
178185
179186
================================================================================
180187
SIMILARITY QUERIES (Neo4j NBLAST)
181188
================================================================================
182-
SimilarMorphologyTo: 1.0433s
189+
SimilarMorphologyTo: 0.7433s
183190
184191
================================================================================
185192
NEURON INPUT QUERIES (Neo4j)
186193
================================================================================
187-
NeuronInputsTo: 3.4916s
194+
NeuronInputsTo: 4.4323s
188195
189196
================================================================================
190197
EXPRESSION PATTERN QUERIES (Neo4j)
191198
================================================================================
192-
ExpressionOverlapsHere: 3.9390s
199+
ExpressionOverlapsHere: 0.8076s
193200
└─ Found 3922 total expression patterns, returned 10
194201
195202
================================================================================
196203
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197204
================================================================================
198-
anatScRNAseqQuery: 0.7731s
205+
anatScRNAseqQuery: 2.3144s
199206
└─ Found 0 total clusters
200-
clusterExpression: 1.4449s
207+
clusterExpression: 0.7042s
201208
└─ Found 0 genes expressed
202-
expressionCluster: 0.7145s
209+
expressionCluster: 0.6249s
203210
└─ Found 0 clusters expressing gene
204-
scRNAdatasetData: 0.9069s
211+
scRNAdatasetData: 0.6474s
205212
└─ Found 0 clusters in dataset
206213
207214
================================================================================
208215
NBLAST SIMILARITY QUERIES
209216
================================================================================
210-
SimilarMorphologyTo: 5.0523s
217+
SimilarMorphologyTo: 0.7777s
211218
└─ Found 215 NBLAST matches, returned 10
212-
SimilarMorphologyToPartOf: 0.8313s
219+
SimilarMorphologyToPartOf: 0.5169s
213220
└─ Found 0 NBLASTexp matches
214-
SimilarMorphologyToPartOfexp: 0.8272s
221+
SimilarMorphologyToPartOfexp: 1.8347s
215222
└─ Found 0 reverse NBLASTexp matches
216-
SimilarMorphologyToNB: 0.6831s
223+
SimilarMorphologyToNB: 0.5399s
217224
└─ Found 15 NeuronBridge matches, returned 10
218-
SimilarMorphologyToNBexp: 0.7038s
225+
SimilarMorphologyToNBexp: 0.6754s
219226
└─ Found 15 NeuronBridge expression matches, returned 10
220227
✅ All NBLAST similarity queries completed
221228
222229
================================================================================
223230
DATASET/TEMPLATE QUERIES
224231
================================================================================
225-
PaintedDomains: 0.7336s
232+
PaintedDomains: 0.7101s
226233
└─ Found 0 painted domains
227-
DatasetImages: 0.6871s
234+
DatasetImages: 0.5013s
228235
└─ Found 0 images in dataset
229-
AllAlignedImages: 1.2738s
236+
AllAlignedImages: 0.6046s
230237
└─ Found 0 aligned images
231-
AlignedDatasets: 0.9392s
238+
AlignedDatasets: 1.3742s
232239
└─ Found 0 aligned datasets
233-
AllDatasets: 1.0711s
240+
AllDatasets: 0.7931s
234241
└─ Found 116 total datasets, returned 20
235242
✅ All dataset/template queries completed
236243
237244
================================================================================
238245
PUBLICATION/TRANSGENE QUERIES
239246
================================================================================
240-
TermsForPub: 0.6462s
247+
TermsForPub: 0.4879s
241248
└─ Found 0 terms for publication
242-
TransgeneExpressionHere: 1.6328s
249+
TransgeneExpressionHere: 0.6897s
243250
└─ Found 2346 transgene expressions, returned 10
244251
✅ All publication/transgene queries completed
245252
@@ -252,7 +259,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252259
Performance test for specific term info queries. ... ok
253260
254261
----------------------------------------------------------------------
255-
Ran 1 test in 3.597s
262+
Ran 1 test in 2.584s
256263
257264
OK
258265
VFBquery functions patched with caching support
@@ -262,10 +269,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262269
==================================================
263270
Performance Test Results:
264271
==================================================
265-
FBbt_00003748 query took: 1.8087 seconds
266-
VFB_00101567 query took: 1.7878 seconds
267-
Total time for both queries: 3.5965 seconds
268-
Performance Level: 🟠 Acceptable (3-6 seconds)
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)
269276
==================================================
270277
Performance test completed successfully!
271278
```
@@ -283,4 +290,4 @@ Track performance trends across commits:
283290
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
284291

285292
---
286-
*Last updated: 2026-02-02 04:17:08 UTC*
293+
*Last updated: 2026-02-02 18:35:30 UTC*

0 commit comments

Comments
 (0)