Skip to content

Commit ecf772a

Browse files
committed
Update performance test results [skip ci]
1 parent d6a6a34 commit ecf772a

1 file changed

Lines changed: 52 additions & 57 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-03-15 04:28:45 UTC
4-
**Git Commit:** cfc232cf28d4caaba0fa1b21f1d80889d736ecfa
3+
**Test Date:** 2026-03-16 04:34:48 UTC
4+
**Git Commit:** d6a6a34ede99852dd7cab524b37be9cfe3d335e9
55
**Branch:** main
6-
**Workflow Run:** [23103290695](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23103290695)
6+
**Workflow Run:** [23128064619](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23128064619)
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: 3.319669008255005 not less than 3.0 : AllAlignedImages exceeded threshold
119+
Ran 15 tests in 79.004s
126120
127-
----------------------------------------------------------------------
128-
Ran 15 tests in 118.723s
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.4489s
141-
get_term_info (individual): 2.3593s
131+
get_term_info (mushroom body): 2.0470s
132+
get_term_info (individual): 2.0415s
142133
143134
================================================================================
144135
NEURON PART OVERLAP QUERIES
145136
================================================================================
146-
NeuronsPartHere: 2.4876s
137+
NeuronsPartHere: 2.1872s
147138
148139
================================================================================
149140
SYNAPTIC TERMINAL QUERIES
150141
================================================================================
151-
NeuronsSynaptic: 2.5801s
152-
NeuronsPresynapticHere: 2.2507s
153-
NeuronsPostsynapticHere: 2.3729s
154-
NeuronNeuronConnectivity: 2.0693s
142+
NeuronsSynaptic: 2.3873s
143+
NeuronsPresynapticHere: 2.1083s
144+
NeuronsPostsynapticHere: 2.3038s
145+
NeuronNeuronConnectivity: 1.7351s
155146
156147
================================================================================
157148
ANATOMICAL HIERARCHY QUERIES
158149
================================================================================
159-
ComponentsOf: 1.9431s
160-
PartsOf: 2.0899s
161-
SubclassesOf: 2.1995s
150+
ComponentsOf: 1.8165s
151+
PartsOf: 2.0255s
152+
SubclassesOf: 1.4821s
162153
163154
================================================================================
164155
TRACT/NERVE AND LINEAGE QUERIES
165156
================================================================================
166-
NeuronClassesFasciculatingHere: 1.9416s
167-
TractsNervesInnervatingHere: 1.9252s
168-
LineageClonesIn: 1.9331s
157+
NeuronClassesFasciculatingHere: 1.6896s
158+
TractsNervesInnervatingHere: 1.8119s
159+
LineageClonesIn: 1.5786s
169160
170161
================================================================================
171162
IMAGE AND DEVELOPMENTAL QUERIES
172163
================================================================================
173-
ImagesNeurons: 3.2222s
174-
ImagesThatDevelopFrom: 2.2634s
175-
epFrag: 1.9046s
164+
ImagesNeurons: 2.7756s
165+
ImagesThatDevelopFrom: 1.6033s
166+
epFrag: 1.6554s
176167
177168
================================================================================
178169
INSTANCE QUERIES
179170
================================================================================
180-
ListAllAvailableImages: 1.9315s
171+
ListAllAvailableImages: 1.5011s
181172
182173
================================================================================
183174
CONNECTIVITY QUERIES
184175
================================================================================
185-
NeuronNeuronConnectivityQuery: 1.9368s
186-
NeuronRegionConnectivityQuery: 1.9561s
176+
NeuronNeuronConnectivityQuery: 1.5475s
177+
NeuronRegionConnectivityQuery: 1.5677s
187178
188179
================================================================================
189180
SIMILARITY QUERIES (Neo4j NBLAST)
190181
================================================================================
191-
SimilarMorphologyTo: 1.1286s
182+
SimilarMorphologyTo: 0.8035s
192183
193184
================================================================================
194185
NEURON INPUT QUERIES (Neo4j)
195186
================================================================================
196-
NeuronInputsTo: 3.0735s
187+
NeuronInputsTo: 2.8880s
197188
198189
================================================================================
199190
EXPRESSION PATTERN QUERIES (Neo4j)
200191
================================================================================
201-
ExpressionOverlapsHere: 1.3810s
192+
ExpressionOverlapsHere: 1.1248s
202193
└─ Found 3922 total expression patterns, returned 10
203194
204195
================================================================================
205196
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206197
================================================================================
207-
anatScRNAseqQuery: 0.9656s
198+
anatScRNAseqQuery: 0.7346s
208199
└─ Found 57 total clusters, returned 10
209-
clusterExpression: 26.7216s
200+
clusterExpression: 2.5141s
210201
└─ Found 4588 genes expressed, returned 10
211-
clusterExpression: Skipped (test data may not exist): 26.72159218788147 not less than 15.0 : clusterExpression exceeded threshold
212-
expressionCluster: 0.9196s ✅
202+
expressionCluster: 3.8211s ✅
213203
└─ Found 9 clusters expressing gene
214-
scRNAdatasetData: 0.8990s
204+
scRNAdatasetData: 0.8447s
215205
└─ Found 13 clusters in dataset, returned 10
216206
217207
================================================================================
218208
NBLAST SIMILARITY QUERIES
219209
================================================================================
220-
SimilarMorphologyTo: 5.4873s
210+
SimilarMorphologyTo: 1.0723s
221211
└─ Found 215 NBLAST matches, returned 10
222-
SimilarMorphologyToPartOf: 0.9593s
212+
SimilarMorphologyToPartOf: 2.1430s
223213
└─ Found 0 NBLASTexp matches
224-
SimilarMorphologyToPartOfexp: 0.8635s
214+
SimilarMorphologyToPartOfexp: 0.8361s
225215
└─ Found 0 reverse NBLASTexp matches
226-
SimilarMorphologyToNB: 1.6478s
216+
SimilarMorphologyToNB: 0.7804s
227217
└─ Found 15 NeuronBridge matches, returned 10
228-
SimilarMorphologyToNBexp: 0.9281s
218+
SimilarMorphologyToNBexp: 0.7199s
229219
└─ Found 15 NeuronBridge expression matches, returned 10
230220
✅ All NBLAST similarity queries completed
231221
232222
================================================================================
233223
DATASET/TEMPLATE QUERIES
234224
================================================================================
235-
PaintedDomains: 0.9727s
225+
PaintedDomains: 0.7904s
236226
└─ Found 46 painted domains, returned 10
237-
DatasetImages: 0.7571s
227+
DatasetImages: 0.7554s
238228
└─ Found 46 images in dataset, returned 10
239-
AllAlignedImages: 3.3197s
229+
AllAlignedImages: 2.6616s
240230
└─ Found 465165 aligned images, returned 10
231+
AlignedDatasets: 0.7688s ✅
232+
└─ Found 72 aligned datasets, returned 10
233+
AllDatasets: 1.0852s ✅
234+
└─ Found 130 total datasets, returned 20
235+
✅ All dataset/template queries completed
241236
242237
================================================================================
243238
PUBLICATION/TRANSGENE QUERIES
244239
================================================================================
245-
TermsForPub: 0.9751s
240+
TermsForPub: 0.7978s
246241
└─ Found 2 terms for publication
247-
TransgeneExpressionHere: 4.9667s
242+
TransgeneExpressionHere: 1.5406s
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 3.945s
255+
Ran 1 test in 3.128s
261256
262257
OK
263258
VFBquery functions patched with caching support
@@ -267,9 +262,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
267262
==================================================
268263
Performance Test Results:
269264
==================================================
270-
FBbt_00003748 query took: 1.9984 seconds
271-
VFB_00101567 query took: 1.9459 seconds
272-
Total time for both queries: 3.9443 seconds
265+
FBbt_00003748 query took: 1.5723 seconds
266+
VFB_00101567 query took: 1.5554 seconds
267+
Total time for both queries: 3.1276 seconds
273268
Performance Level: 🟠 Acceptable (3-6 seconds)
274269
==================================================
275270
Performance test completed successfully!
@@ -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-15 04:28:45 UTC*
286+
*Last updated: 2026-03-16 04:34:48 UTC*

0 commit comments

Comments
 (0)