Skip to content

Commit aab5af5

Browse files
committed
Update performance test results [skip ci]
1 parent 5421dcf commit aab5af5

1 file changed

Lines changed: 58 additions & 54 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-04-05 04:33:13 UTC
4-
**Git Commit:** 2b34510e3d1fd38fea3a9a6e68054e4d4a20ba0e
3+
**Test Date:** 2026-04-06 04:40:44 UTC
4+
**Git Commit:** 5421dcf96080c0879562ca27763baf6edbb3b9c0
55
**Branch:** main
6-
**Workflow Run:** [23994256498](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23994256498)
6+
**Workflow Run:** [24018884113](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24018884113)
77

88
## Test Overview
99

@@ -111,14 +111,23 @@ 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 ... ok
114+
Test dataset and template queries ... FAIL
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
118121
----------------------------------------------------------------------
119-
Ran 15 tests in 115.324s
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: 8.716920614242554 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121-
OK
127+
----------------------------------------------------------------------
128+
Ran 15 tests in 127.123s
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,119 +137,114 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137
================================================================================
129138
TERM INFO QUERIES
130139
================================================================================
131-
get_term_info (mushroom body): 2.4940s
132-
get_term_info (individual): 2.4577s
140+
get_term_info (mushroom body): 1.9616s
141+
get_term_info (individual): 1.7653s
133142
134143
================================================================================
135144
NEURON PART OVERLAP QUERIES
136145
================================================================================
137-
NeuronsPartHere: 2.7088s
146+
NeuronsPartHere: 2.1885s
138147
139148
================================================================================
140149
SYNAPTIC TERMINAL QUERIES
141150
================================================================================
142-
NeuronsSynaptic: 2.4623s
143-
NeuronsPresynapticHere: 1.8542s
144-
NeuronsPostsynapticHere: 2.1083s
145-
NeuronNeuronConnectivity: 1.7987s
151+
NeuronsSynaptic: 2.4961s
152+
NeuronsPresynapticHere: 1.5306s
153+
NeuronsPostsynapticHere: 1.5261s
154+
NeuronNeuronConnectivity: 1.7255s
146155
147156
================================================================================
148157
ANATOMICAL HIERARCHY QUERIES
149158
================================================================================
150-
ComponentsOf: 1.9772s
151-
PartsOf: 1.7865s
152-
SubclassesOf: 1.9446s
159+
ComponentsOf: 1.2368s
160+
PartsOf: 1.8727s
161+
SubclassesOf: 1.4678s
153162
154163
================================================================================
155164
TRACT/NERVE AND LINEAGE QUERIES
156165
================================================================================
157-
NeuronClassesFasciculatingHere: 1.7963s
158-
TractsNervesInnervatingHere: 1.7741s
159-
LineageClonesIn: 1.8098s
166+
NeuronClassesFasciculatingHere: 1.2373s
167+
TractsNervesInnervatingHere: 1.2400s
168+
LineageClonesIn: 1.2295s
160169
161170
================================================================================
162171
IMAGE AND DEVELOPMENTAL QUERIES
163172
================================================================================
164-
ImagesNeurons: 3.0836s
165-
ImagesThatDevelopFrom: 1.8541s
166-
epFrag: 1.8358s
173+
ImagesNeurons: 2.2060s
174+
ImagesThatDevelopFrom: 1.3636s
175+
epFrag: 1.2529s
167176
168177
================================================================================
169178
INSTANCE QUERIES
170179
================================================================================
171-
ListAllAvailableImages: 1.8028s
180+
ListAllAvailableImages: 1.4817s
172181
173182
================================================================================
174183
CONNECTIVITY QUERIES
175184
================================================================================
176-
NeuronNeuronConnectivityQuery: 1.7841s
177-
NeuronRegionConnectivityQuery: 1.7947s
185+
NeuronNeuronConnectivityQuery: 1.2287s
186+
NeuronRegionConnectivityQuery: 1.2440s
178187
179188
================================================================================
180189
SIMILARITY QUERIES (Neo4j NBLAST)
181190
================================================================================
182-
SimilarMorphologyTo: 0.9635s
191+
SimilarMorphologyTo: 1.0012s
183192
184193
================================================================================
185194
NEURON INPUT QUERIES (Neo4j)
186195
================================================================================
187-
NeuronInputsTo: 3.0958s
196+
NeuronInputsTo: 4.7309s
188197
189198
================================================================================
190199
EXPRESSION PATTERN QUERIES (Neo4j)
191200
================================================================================
192-
ExpressionOverlapsHere: 1.2953s
201+
ExpressionOverlapsHere: 0.9542s
193202
└─ Found 3922 total expression patterns, returned 10
194203
195204
================================================================================
196205
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206
================================================================================
198-
anatScRNAseqQuery: 0.8936s
207+
anatScRNAseqQuery: 0.6394s
199208
└─ Found 57 total clusters, returned 10
200-
clusterExpression: 32.9912s
209+
clusterExpression: 43.5197s
201210
└─ Found 4588 genes expressed, returned 10
202-
clusterExpression: Skipped (test data may not exist): 32.99115467071533 not less than 15.0 : clusterExpression exceeded threshold
203-
expressionCluster: 1.5307s
211+
clusterExpression: Skipped (test data may not exist): 43.51965022087097 not less than 15.0 : clusterExpression exceeded threshold
212+
expressionCluster: 0.7384s
204213
└─ Found 9 clusters expressing gene
205-
scRNAdatasetData: 1.0167s
214+
scRNAdatasetData: 1.6658s
206215
└─ Found 13 clusters in dataset, returned 10
207216
208217
================================================================================
209218
NBLAST SIMILARITY QUERIES
210219
================================================================================
211-
SimilarMorphologyTo: 2.9995s
220+
SimilarMorphologyTo: 10.9920s
212221
└─ Found 215 NBLAST matches, returned 10
213-
SimilarMorphologyToPartOf: 0.7063s
222+
SimilarMorphologyToPartOf: 0.6276s
214223
└─ Found 0 NBLASTexp matches
215-
SimilarMorphologyToPartOfexp: 0.8545s
224+
SimilarMorphologyToPartOfexp: 0.5965s
216225
└─ Found 0 reverse NBLASTexp matches
217-
SimilarMorphologyToNB: 0.8169s
226+
SimilarMorphologyToNB: 0.6390s
218227
└─ Found 15 NeuronBridge matches, returned 10
219-
SimilarMorphologyToNBexp: 0.7230s
228+
SimilarMorphologyToNBexp: 2.4643s
220229
└─ Found 15 NeuronBridge expression matches, returned 10
221230
✅ All NBLAST similarity queries completed
222231
223232
================================================================================
224233
DATASET/TEMPLATE QUERIES
225234
================================================================================
226-
PaintedDomains: 0.9027s
235+
PaintedDomains: 0.6205s
227236
└─ Found 46 painted domains, returned 10
228-
DatasetImages: 0.8055s
237+
DatasetImages: 0.7025s
229238
└─ Found 46 images in dataset, returned 10
230-
AllAlignedImages: 2.5876s
239+
AllAlignedImages: 8.7169s
231240
└─ Found 527179 aligned images, returned 10
232-
AlignedDatasets: 0.9009s ✅
233-
└─ Found 72 aligned datasets, returned 10
234-
AllDatasets: 0.9127s ✅
235-
└─ Found 130 total datasets, returned 20
236-
✅ All dataset/template queries completed
237241
238242
================================================================================
239243
PUBLICATION/TRANSGENE QUERIES
240244
================================================================================
241-
TermsForPub: 0.8976s
245+
TermsForPub: 0.6248s
242246
└─ Found 2 terms for publication
243-
TransgeneExpressionHere: 3.3486s
247+
TransgeneExpressionHere: 3.1240s
244248
└─ Found 2340 transgene expressions, returned 10
245249
✅ All publication/transgene queries completed
246250
@@ -253,7 +257,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
253257
Performance test for specific term info queries. ... ok
254258
255259
----------------------------------------------------------------------
256-
Ran 1 test in 3.636s
260+
Ran 1 test in 2.543s
257261
258262
OK
259263
VFBquery functions patched with caching support
@@ -263,10 +267,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
263267
==================================================
264268
Performance Test Results:
265269
==================================================
266-
FBbt_00003748 query took: 1.8014 seconds
267-
VFB_00101567 query took: 1.8340 seconds
268-
Total time for both queries: 3.6354 seconds
269-
Performance Level: 🟠 Acceptable (3-6 seconds)
270+
FBbt_00003748 query took: 1.2464 seconds
271+
VFB_00101567 query took: 1.2964 seconds
272+
Total time for both queries: 2.5428 seconds
273+
Performance Level: 🟡 Good (1.5-3 seconds)
270274
==================================================
271275
Performance test completed successfully!
272276
```
@@ -284,4 +288,4 @@ Track performance trends across commits:
284288
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
285289

286290
---
287-
*Last updated: 2026-04-05 04:33:13 UTC*
291+
*Last updated: 2026-04-06 04:40:45 UTC*

0 commit comments

Comments
 (0)