Skip to content

Commit 7b861a9

Browse files
committed
Update performance test results [skip ci]
1 parent 8a20c02 commit 7b861a9

1 file changed

Lines changed: 49 additions & 58 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-03-24 16:06:57 UTC
4-
**Git Commit:** ff8613a146ddee41bdecbbeaf696257764e378d5
3+
**Test Date:** 2026-03-24 16:19:48 UTC
4+
**Git Commit:** 8a20c02b29c556bd71a63e3158a3b6aa4053b47e
55
**Branch:** main
6-
**Workflow Run:** [23499304977](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23499304977)
6+
**Workflow Run:** [23499858740](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23499858740)
77

88
## Test Overview
99

@@ -113,7 +113,7 @@ 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)
116-
Test publication and transgene queries ... FAIL
116+
Test publication and transgene queries ... ok
117117
118118
======================================================================
119119
FAIL: test_09_neuron_input_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -122,7 +122,7 @@ Test neuron input/synapse queries
122122
Traceback (most recent call last):
123123
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 392, in test_09_neuron_input_queries
124124
self.assertLess(duration, self.THRESHOLD_SLOW, "NeuronInputsTo exceeded threshold")
125-
AssertionError: 23.54541850090027 not less than 15.0 : NeuronInputsTo exceeded threshold
125+
AssertionError: 30.493608236312866 not less than 15.0 : NeuronInputsTo exceeded threshold
126126
127127
======================================================================
128128
FAIL: test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -131,7 +131,7 @@ Test NBLAST similarity queries
131131
Traceback (most recent call last):
132132
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 535, in test_12_nblast_queries
133133
self.assertLess(duration, self.THRESHOLD_SLOW, "SimilarMorphologyTo exceeded threshold")
134-
AssertionError: 15.6345055103302 not less than 15.0 : SimilarMorphologyTo exceeded threshold
134+
AssertionError: 24.50617504119873 not less than 15.0 : SimilarMorphologyTo exceeded threshold
135135
136136
======================================================================
137137
FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -140,21 +140,12 @@ Test dataset and template queries
140140
Traceback (most recent call last):
141141
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 646, in test_13_dataset_template_queries
142142
self.assertLess(duration, self.THRESHOLD_MEDIUM, "DatasetImages exceeded threshold")
143-
AssertionError: 6.705040454864502 not less than 3.0 : DatasetImages exceeded threshold
144-
145-
======================================================================
146-
FAIL: test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
147-
Test publication and transgene queries
148-
----------------------------------------------------------------------
149-
Traceback (most recent call last):
150-
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 745, in test_14_publication_transgene_queries
151-
self.assertLess(duration, self.THRESHOLD_SLOW, "TransgeneExpressionHere exceeded threshold")
152-
AssertionError: 34.635966539382935 not less than 15.0 : TransgeneExpressionHere exceeded threshold
143+
AssertionError: 34.84825253486633 not less than 3.0 : DatasetImages exceeded threshold
153144
154145
----------------------------------------------------------------------
155-
Ran 15 tests in 262.302s
146+
Ran 15 tests in 329.480s
156147
157-
FAILED (failures=4)
148+
FAILED (failures=3)
158149
VFBquery functions patched with caching support
159150
VFBquery: SOLR caching enabled by default (3-month TTL)
160151
Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -164,106 +155,106 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
164155
================================================================================
165156
TERM INFO QUERIES
166157
================================================================================
167-
get_term_info (mushroom body): 1.9394s
168-
get_term_info (individual): 1.7042s
158+
get_term_info (mushroom body): 2.3996s
159+
get_term_info (individual): 2.5313s
169160
170161
================================================================================
171162
NEURON PART OVERLAP QUERIES
172163
================================================================================
173-
NeuronsPartHere: 1.9705s
164+
NeuronsPartHere: 2.4937s
174165
175166
================================================================================
176167
SYNAPTIC TERMINAL QUERIES
177168
================================================================================
178-
NeuronsSynaptic: 2.0542s
179-
NeuronsPresynapticHere: 1.4716s
180-
NeuronsPostsynapticHere: 1.6915s
181-
NeuronNeuronConnectivity: 1.4289s
169+
NeuronsSynaptic: 2.4376s
170+
NeuronsPresynapticHere: 1.9300s
171+
NeuronsPostsynapticHere: 2.3862s
172+
NeuronNeuronConnectivity: 1.9253s
182173
183174
================================================================================
184175
ANATOMICAL HIERARCHY QUERIES
185176
================================================================================
186-
ComponentsOf: 1.3049s
187-
PartsOf: 1.4626s
188-
SubclassesOf: 1.5185s
177+
ComponentsOf: 2.0490s
178+
PartsOf: 1.8950s
179+
SubclassesOf: 1.8778s
189180
190181
================================================================================
191182
TRACT/NERVE AND LINEAGE QUERIES
192183
================================================================================
193-
NeuronClassesFasciculatingHere: 1.1950s
194-
TractsNervesInnervatingHere: 1.2095s
195-
LineageClonesIn: 1.6577s
184+
NeuronClassesFasciculatingHere: 1.9436s
185+
TractsNervesInnervatingHere: 1.8830s
186+
LineageClonesIn: 1.9150s
196187
197188
================================================================================
198189
IMAGE AND DEVELOPMENTAL QUERIES
199190
================================================================================
200-
ImagesNeurons: 2.1802s
201-
ImagesThatDevelopFrom: 1.5020s
202-
epFrag: 1.2587s
191+
ImagesNeurons: 3.2724s
192+
ImagesThatDevelopFrom: 1.9512s
193+
epFrag: 1.9347s
203194
204195
================================================================================
205196
INSTANCE QUERIES
206197
================================================================================
207-
ListAllAvailableImages: 1.1946s
198+
ListAllAvailableImages: 1.9419s
208199
209200
================================================================================
210201
CONNECTIVITY QUERIES
211202
================================================================================
212-
NeuronNeuronConnectivityQuery: 1.2004s
213-
NeuronRegionConnectivityQuery: 1.1920s
203+
NeuronNeuronConnectivityQuery: 1.9311s
204+
NeuronRegionConnectivityQuery: 1.8840s
214205
215206
================================================================================
216207
SIMILARITY QUERIES (Neo4j NBLAST)
217208
================================================================================
218-
SimilarMorphologyTo: 0.6368s
209+
SimilarMorphologyTo: 1.0131s
219210
220211
================================================================================
221212
NEURON INPUT QUERIES (Neo4j)
222213
================================================================================
223-
NeuronInputsTo: 23.5454s
214+
NeuronInputsTo: 30.4936s
224215
225216
================================================================================
226217
EXPRESSION PATTERN QUERIES (Neo4j)
227218
================================================================================
228-
ExpressionOverlapsHere: 0.9018s
219+
ExpressionOverlapsHere: 1.3488s
229220
└─ Found 3922 total expression patterns, returned 10
230221
231222
================================================================================
232223
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
233224
================================================================================
234-
anatScRNAseqQuery: 1.0014s
225+
anatScRNAseqQuery: 0.9582s
235226
└─ Found 57 total clusters, returned 10
236-
clusterExpression: 23.1301s
227+
clusterExpression: 1.0859s
237228
└─ Found 4588 genes expressed, returned 10
238-
clusterExpression: Skipped (test data may not exist): 23.13011360168457 not less than 15.0 : clusterExpression exceeded threshold
239-
expressionCluster: 32.9385s ✅
229+
expressionCluster: 43.9328s ✅
240230
└─ Found 9 clusters expressing gene
241-
expressionCluster: Skipped (test data may not exist): 32.93846011161804 not less than 15.0 : expressionCluster exceeded threshold
242-
scRNAdatasetData: 17.3195s
231+
expressionCluster: Skipped (test data may not exist): 43.93275332450867 not less than 15.0 : expressionCluster exceeded threshold
232+
scRNAdatasetData: 61.6329s
243233
└─ Found 13 clusters in dataset, returned 10
244-
scRNAdatasetData: Skipped (test data may not exist): 17.31954550743103 not less than 15.0 : scRNAdatasetData exceeded threshold
234+
scRNAdatasetData: Skipped (test data may not exist): 61.6328980922699 not less than 15.0 : scRNAdatasetData exceeded threshold
245235
246236
================================================================================
247237
NBLAST SIMILARITY QUERIES
248238
================================================================================
249-
SimilarMorphologyTo: 15.6345s
239+
SimilarMorphologyTo: 24.5062s
250240
└─ Found 215 NBLAST matches, returned 10
251241
252242
================================================================================
253243
DATASET/TEMPLATE QUERIES
254244
================================================================================
255-
PaintedDomains: 0.6109s
245+
PaintedDomains: 0.9570s
256246
└─ Found 46 painted domains, returned 10
257-
DatasetImages: 6.7050s
247+
DatasetImages: 34.8483s
258248
└─ Found 46 images in dataset, returned 10
259249
260250
================================================================================
261251
PUBLICATION/TRANSGENE QUERIES
262252
================================================================================
263-
TermsForPub: 0.6130s
253+
TermsForPub: 1.0850s
264254
└─ Found 2 terms for publication
265-
TransgeneExpressionHere: 34.6360s
255+
TransgeneExpressionHere: 10.3552s
266256
└─ Found 2340 transgene expressions, returned 10
257+
✅ All publication/transgene queries completed
267258
268259
================================================================================
269260
PERFORMANCE TEST SUMMARY
@@ -274,7 +265,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
274265
Performance test for specific term info queries. ... ok
275266
276267
----------------------------------------------------------------------
277-
Ran 1 test in 2.437s
268+
Ran 1 test in 4.418s
278269
279270
OK
280271
VFBquery functions patched with caching support
@@ -284,10 +275,10 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
284275
==================================================
285276
Performance Test Results:
286277
==================================================
287-
FBbt_00003748 query took: 1.2333 seconds
288-
VFB_00101567 query took: 1.2033 seconds
289-
Total time for both queries: 2.4366 seconds
290-
Performance Level: 🟡 Good (1.5-3 seconds)
278+
FBbt_00003748 query took: 2.3444 seconds
279+
VFB_00101567 query took: 2.0731 seconds
280+
Total time for both queries: 4.4175 seconds
281+
Performance Level: 🟠 Acceptable (3-6 seconds)
291282
==================================================
292283
Performance test completed successfully!
293284
```
@@ -305,4 +296,4 @@ Track performance trends across commits:
305296
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
306297

307298
---
308-
*Last updated: 2026-03-24 16:06:57 UTC*
299+
*Last updated: 2026-03-24 16:19:48 UTC*

0 commit comments

Comments
 (0)