Skip to content

Commit 0c1e8f6

Browse files
committed
Update performance test results [skip ci]
1 parent 81282bb commit 0c1e8f6

1 file changed

Lines changed: 59 additions & 68 deletions

File tree

performance.md

Lines changed: 59 additions & 68 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 08:32:15 UTC
4-
**Git Commit:** 19f2101e07b1b863c6e18462bea65f1fbb897219
3+
**Test Date:** 2026-03-20 04:10:07 UTC
4+
**Git Commit:** 81282bba477aa28d97230a9b6dd57f486eba6399
55
**Branch:** main
6-
**Workflow Run:** [23286319896](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23286319896)
6+
**Workflow Run:** [23328607029](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23328607029)
77

88
## Test Overview
99

@@ -109,25 +109,34 @@ Test expression pattern queries ... ok
109109
test_11_transcriptomics_queries (src.test.test_query_performance.QueryPerformanceTest)
110110
Test scRNAseq transcriptomics queries ... ok
111111
test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112-
Test NBLAST similarity queries ... ok
112+
Test NBLAST similarity queries ... FAIL
113113
test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
114114
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_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
120+
Test NBLAST similarity queries
121+
----------------------------------------------------------------------
122+
Traceback (most recent call last):
123+
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 535, in test_12_nblast_queries
124+
self.assertLess(duration, self.THRESHOLD_SLOW, "SimilarMorphologyTo exceeded threshold")
125+
AssertionError: 22.340144395828247 not less than 15.0 : SimilarMorphologyTo exceeded threshold
126+
118127
======================================================================
119128
FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
120129
Test dataset and template queries
121130
----------------------------------------------------------------------
122131
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.1629445552825928 not less than 3.0 : AllAlignedImages exceeded threshold
132+
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 646, in test_13_dataset_template_queries
133+
self.assertLess(duration, self.THRESHOLD_MEDIUM, "DatasetImages exceeded threshold")
134+
AssertionError: 7.153923988342285 not less than 3.0 : DatasetImages exceeded threshold
126135
127136
----------------------------------------------------------------------
128-
Ran 15 tests in 59.668s
137+
Ran 15 tests in 136.420s
129138
130-
FAILED (failures=1)
139+
FAILED (failures=2)
131140
VFBquery functions patched with caching support
132141
VFBquery: SOLR caching enabled by default (3-month TTL)
133142
Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -137,113 +146,103 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
137146
================================================================================
138147
TERM INFO QUERIES
139148
================================================================================
140-
get_term_info (mushroom body): 1.8089s
141-
get_term_info (individual): 1.9031s
149+
get_term_info (mushroom body): 2.1102s
150+
get_term_info (individual): 1.7535s
142151
143152
================================================================================
144153
NEURON PART OVERLAP QUERIES
145154
================================================================================
146-
NeuronsPartHere: 1.9445s
155+
NeuronsPartHere: 1.8816s
147156
148157
================================================================================
149158
SYNAPTIC TERMINAL QUERIES
150159
================================================================================
151-
NeuronsSynaptic: 1.8381s
152-
NeuronsPresynapticHere: 1.5638s
153-
NeuronsPostsynapticHere: 1.6468s
154-
NeuronNeuronConnectivity: 1.6219s
160+
NeuronsSynaptic: 1.8753s
161+
NeuronsPresynapticHere: 1.9481s
162+
NeuronsPostsynapticHere: 1.5609s
163+
NeuronNeuronConnectivity: 1.3607s
155164
156165
================================================================================
157166
ANATOMICAL HIERARCHY QUERIES
158167
================================================================================
159-
ComponentsOf: 1.4106s
160-
PartsOf: 1.3936s
161-
SubclassesOf: 1.4024s
168+
ComponentsOf: 2.0525s
169+
PartsOf: 1.2540s
170+
SubclassesOf: 1.3811s
162171
163172
================================================================================
164173
TRACT/NERVE AND LINEAGE QUERIES
165174
================================================================================
166-
NeuronClassesFasciculatingHere: 1.4348s
167-
TractsNervesInnervatingHere: 1.4148s
168-
LineageClonesIn: 1.4325s
175+
NeuronClassesFasciculatingHere: 1.2388s
176+
TractsNervesInnervatingHere: 1.2654s
177+
LineageClonesIn: 1.2515s
169178
170179
================================================================================
171180
IMAGE AND DEVELOPMENTAL QUERIES
172181
================================================================================
173-
ImagesNeurons: 2.4609s
174-
ImagesThatDevelopFrom: 1.4401s
175-
epFrag: 1.4172s
182+
ImagesNeurons: 2.5100s
183+
ImagesThatDevelopFrom: 1.2834s
184+
epFrag: 1.2776s
176185
177186
================================================================================
178187
INSTANCE QUERIES
179188
================================================================================
180-
ListAllAvailableImages: 1.5186s
189+
ListAllAvailableImages: 1.3643s
181190
182191
================================================================================
183192
CONNECTIVITY QUERIES
184193
================================================================================
185-
NeuronNeuronConnectivityQuery: 1.4157s
186-
NeuronRegionConnectivityQuery: 1.4163s
194+
NeuronNeuronConnectivityQuery: 1.3835s
195+
NeuronRegionConnectivityQuery: 1.2702s
187196
188197
================================================================================
189198
SIMILARITY QUERIES (Neo4j NBLAST)
190199
================================================================================
191-
SimilarMorphologyTo: 0.7492s
200+
SimilarMorphologyTo: 0.7033s
192201
193202
================================================================================
194203
NEURON INPUT QUERIES (Neo4j)
195204
================================================================================
196-
NeuronInputsTo: 2.7821s
205+
NeuronInputsTo: 12.5935s
197206
198207
================================================================================
199208
EXPRESSION PATTERN QUERIES (Neo4j)
200209
================================================================================
201-
ExpressionOverlapsHere: 1.0534s
210+
ExpressionOverlapsHere: 0.9332s
202211
└─ Found 3922 total expression patterns, returned 10
203212
204213
================================================================================
205214
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
206215
================================================================================
207-
anatScRNAseqQuery: 0.7102s
216+
anatScRNAseqQuery: 0.6425s
208217
└─ Found 57 total clusters, returned 10
209-
clusterExpression: 0.9031s
218+
clusterExpression: 6.9336s
210219
└─ Found 4588 genes expressed, returned 10
211-
expressionCluster: 0.7566s
220+
expressionCluster: 17.5927s
212221
└─ Found 9 clusters expressing gene
213-
scRNAdatasetData: 0.8352s ✅
222+
expressionCluster: Skipped (test data may not exist): 17.592650651931763 not less than 15.0 : expressionCluster exceeded threshold
223+
scRNAdatasetData: 8.3467s ✅
214224
└─ Found 13 clusters in dataset, returned 10
215225
216226
================================================================================
217227
NBLAST SIMILARITY QUERIES
218228
================================================================================
219-
SimilarMorphologyTo: 0.9407s
229+
SimilarMorphologyTo: 22.3401s
220230
└─ Found 215 NBLAST matches, returned 10
221-
SimilarMorphologyToPartOf: 0.6989s ✅
222-
└─ Found 0 NBLASTexp matches
223-
SimilarMorphologyToPartOfexp: 0.5837s ✅
224-
└─ Found 0 reverse NBLASTexp matches
225-
SimilarMorphologyToNB: 0.6105s ✅
226-
└─ Found 15 NeuronBridge matches, returned 10
227-
SimilarMorphologyToNBexp: 0.7026s ✅
228-
└─ Found 15 NeuronBridge expression matches, returned 10
229-
✅ All NBLAST similarity queries completed
230231
231232
================================================================================
232233
DATASET/TEMPLATE QUERIES
233234
================================================================================
234-
PaintedDomains: 0.7294s
235+
PaintedDomains: 0.6322s
235236
└─ Found 46 painted domains, returned 10
236-
DatasetImages: 0.6141s
237+
DatasetImages: 7.1539s
237238
└─ Found 46 images in dataset, returned 10
238-
AllAlignedImages: 3.1629s ✅
239-
└─ Found 465165 aligned images, returned 10
240239
241240
================================================================================
242241
PUBLICATION/TRANSGENE QUERIES
243242
================================================================================
244-
TermsForPub: 0.6966s
243+
TermsForPub: 0.6560s
245244
└─ Found 2 terms for publication
246-
TransgeneExpressionHere: 1.3832s
245+
TransgeneExpressionHere: 3.5196s
247246
└─ Found 2338 transgene expressions, returned 10
248247
✅ All publication/transgene queries completed
249248
@@ -253,33 +252,25 @@ PERFORMANCE TEST SUMMARY
253252
All performance tests completed!
254253
================================================================================
255254
test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
256-
Performance test for specific term info queries. ... FAIL
257-
258-
======================================================================
259-
FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
260-
Performance test for specific term info queries.
261-
----------------------------------------------------------------------
262-
Traceback (most recent call last):
263-
File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590, in test_term_info_performance
264-
self.assertLess(duration_1, max_single_query_time,
265-
AssertionError: 25.65109658241272 not less than 10.0 : FBbt_00003748 query took 25.6511s, exceeding 10.0s threshold
255+
Performance test for specific term info queries. ... ok
266256
267257
----------------------------------------------------------------------
268-
Ran 1 test in 27.116s
258+
Ran 1 test in 2.756s
269259
270-
FAILED (failures=1)
260+
OK
271261
VFBquery functions patched with caching support
272262
VFBquery: SOLR caching enabled by default (3-month TTL)
273263
Disable with: export VFBQUERY_CACHE_ENABLED=false
274264
275265
==================================================
276266
Performance Test Results:
277267
==================================================
278-
FBbt_00003748 query took: 25.6511 seconds
279-
VFB_00101567 query took: 1.4640 seconds
280-
Total time for both queries: 27.1151 seconds
281-
Performance Level: 🔴 Slow (> 6 seconds)
268+
FBbt_00003748 query took: 1.2964 seconds
269+
VFB_00101567 query took: 1.4598 seconds
270+
Total time for both queries: 2.7562 seconds
271+
Performance Level: 🟡 Good (1.5-3 seconds)
282272
==================================================
273+
Performance test completed successfully!
283274
```
284275

285276
## Summary
@@ -295,4 +286,4 @@ Track performance trends across commits:
295286
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
296287

297288
---
298-
*Last updated: 2026-03-19 08:32:15 UTC*
289+
*Last updated: 2026-03-20 04:10:07 UTC*

0 commit comments

Comments
 (0)