Skip to content

Commit 1f48ca5

Browse files
committed
Update performance test results [skip ci]
1 parent dfdf334 commit 1f48ca5

1 file changed

Lines changed: 50 additions & 69 deletions

File tree

performance.md

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

3-
**Test Date:** 2025-11-09 10:54:37 UTC
4-
**Git Commit:** 14fe1f3e49e3ecb3b9aaac85e988567072d3e406
3+
**Test Date:** 2025-11-09 11:13:45 UTC
4+
**Git Commit:** dfdf33429d125399e09b65821f2951ccab6a3cd2
55
**Branch:** dev
6-
**Workflow Run:** [19207206293](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19207206293)
6+
**Workflow Run:** [19207570634](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19207570634)
77

88
## Test Overview
99

@@ -95,13 +95,13 @@ 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 ... FAIL
98+
Test image and developmental lineage queries ... ok
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)
102102
Test neuron connectivity queries ... ok
103103
test_08_similarity_queries (src.test.test_query_performance.QueryPerformanceTest)
104-
Test NBLAST similarity queries ... FAIL
104+
Test NBLAST similarity queries ... ok
105105
test_09_neuron_input_queries (src.test.test_query_performance.QueryPerformanceTest)
106106
Test neuron input/synapse queries ... ok
107107
test_10_expression_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -115,28 +115,10 @@ 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
121-
----------------------------------------------------------------------
122-
Traceback (most recent call last):
123-
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 310, in test_05b_image_queries
124-
self.assertLess(duration, self.THRESHOLD_SLOW, "epFrag exceeded threshold")
125-
AssertionError: 591.6025040149689 not less than 10.0 : epFrag exceeded threshold
126-
127-
======================================================================
128-
FAIL: test_08_similarity_queries (src.test.test_query_performance.QueryPerformanceTest)
129-
Test NBLAST similarity queries
130118
----------------------------------------------------------------------
131-
Traceback (most recent call last):
132-
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 373, in test_08_similarity_queries
133-
self.assertLess(duration, self.THRESHOLD_SLOW, "SimilarMorphologyTo exceeded threshold")
134-
AssertionError: 13.371644020080566 not less than 10.0 : SimilarMorphologyTo exceeded threshold
119+
Ran 15 tests in 326.969s
135120
136-
----------------------------------------------------------------------
137-
Ran 15 tests in 1244.766s
138-
139-
FAILED (failures=2)
121+
OK
140122
VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
141123
VFBquery functions patched with caching support
142124
VFBquery: Caching enabled by default (3-month TTL, 2GB memory)
@@ -151,120 +133,119 @@ TERM INFO QUERIES
151133
DEBUG: Cache lookup for FBbt_00003748: MISS
152134
✅ Neo4j connection established
153135
✅ Neo4j connection established
154-
get_term_info (mushroom body): 608.6476s
136+
get_term_info (mushroom body): 276.1710s
155137
DEBUG: Cache lookup for VFB_00101567: MISS
156-
Error executing query function get_all_datasets: get_all_datasets() got multiple values for argument 'return_dataframe'
157-
get_term_info (individual): 2.3331s ✅
138+
get_term_info (individual): 4.1479s ✅
158139
159140
================================================================================
160141
NEURON PART OVERLAP QUERIES
161142
================================================================================
162-
NeuronsPartHere: 1.0753s
143+
NeuronsPartHere: 1.7737s
163144
164145
================================================================================
165146
SYNAPTIC TERMINAL QUERIES
166147
================================================================================
167-
NeuronsSynaptic: 0.9649s
168-
NeuronsPresynapticHere: 0.9651s
169-
NeuronsPostsynapticHere: 0.8903s
170-
NeuronNeuronConnectivity: 1.0729s
148+
NeuronsSynaptic: 1.2937s
149+
NeuronsPresynapticHere: 0.9768s
150+
NeuronsPostsynapticHere: 1.1193s
151+
NeuronNeuronConnectivity: 0.9697s
171152
172153
================================================================================
173154
ANATOMICAL HIERARCHY QUERIES
174155
================================================================================
175-
ComponentsOf: 0.8690s
176-
PartsOf: 0.8611s
177-
SubclassesOf: 0.7052s
156+
ComponentsOf: 0.9852s
157+
PartsOf: 1.0964s
158+
SubclassesOf: 1.3073s
178159
179160
================================================================================
180161
TRACT/NERVE AND LINEAGE QUERIES
181162
================================================================================
182-
NeuronClassesFasciculatingHere: 0.6805s
183-
TractsNervesInnervatingHere: 0.6984s
184-
LineageClonesIn: 0.6856s
163+
NeuronClassesFasciculatingHere: 0.9830s
164+
TractsNervesInnervatingHere: 1.1085s
165+
LineageClonesIn: 0.9755s
185166
186167
================================================================================
187168
IMAGE AND DEVELOPMENTAL QUERIES
188169
================================================================================
189-
ImagesNeurons: 1.1065s
190-
ImagesThatDevelopFrom: 0.8066s
191-
epFrag: 591.6025s
170+
ImagesNeurons: 1.4226s
171+
ImagesThatDevelopFrom: 0.9944s
172+
epFrag: 0.9932s
192173
193174
================================================================================
194175
INSTANCE QUERIES
195176
================================================================================
196-
ListAllAvailableImages: 0.8754s
177+
ListAllAvailableImages: 0.9536s
197178
198179
================================================================================
199180
CONNECTIVITY QUERIES
200181
================================================================================
201-
NeuronNeuronConnectivityQuery: 0.8835s
202-
NeuronRegionConnectivityQuery: 0.7876s
182+
NeuronNeuronConnectivityQuery: 0.9908s
183+
NeuronRegionConnectivityQuery: 0.9711s
203184
204185
================================================================================
205186
SIMILARITY QUERIES (Neo4j NBLAST)
206187
================================================================================
207-
SimilarMorphologyTo: 13.3716s
188+
SimilarMorphologyTo: 9.3175s
208189
209190
================================================================================
210191
NEURON INPUT QUERIES (Neo4j)
211192
================================================================================
212-
NeuronInputsTo: 3.4685s
193+
NeuronInputsTo: 3.7596s
213194
214195
================================================================================
215196
EXPRESSION PATTERN QUERIES (Neo4j)
216197
================================================================================
217-
ExpressionOverlapsHere: 0.8755s
198+
ExpressionOverlapsHere: 0.8590s
218199
└─ Found 3922 total expression patterns, returned 10
219200
220201
================================================================================
221202
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
222203
================================================================================
223-
anatScRNAseqQuery: 0.8030s
204+
anatScRNAseqQuery: 0.9584s
224205
└─ Found 0 total clusters
225-
clusterExpression: 0.5871s
206+
clusterExpression: 1.0496s
226207
└─ Found 0 genes expressed
227-
expressionCluster: 0.5859s
208+
expressionCluster: 0.7598s
228209
└─ Found 0 clusters expressing gene
229-
scRNAdatasetData: 0.6444s
210+
scRNAdatasetData: 0.7922s
230211
└─ Found 0 clusters in dataset
231212
232213
================================================================================
233214
NBLAST SIMILARITY QUERIES
234215
================================================================================
235-
SimilarMorphologyTo: 0.9659s
216+
SimilarMorphologyTo: 1.0310s
236217
└─ Found 227 NBLAST matches, returned 10
237-
SimilarMorphologyToPartOf: 0.5565s
218+
SimilarMorphologyToPartOf: 0.9013s
238219
└─ Found 0 NBLASTexp matches
239-
SimilarMorphologyToPartOfexp: 0.5361s
220+
SimilarMorphologyToPartOfexp: 0.8998s
240221
└─ Found 0 reverse NBLASTexp matches
241-
SimilarMorphologyToNB: 0.6602s
222+
SimilarMorphologyToNB: 0.8881s
242223
└─ Found 15 NeuronBridge matches, returned 10
243-
SimilarMorphologyToNBexp: 0.6289s
224+
SimilarMorphologyToNBexp: 0.7458s
244225
└─ Found 15 NeuronBridge expression matches, returned 10
245226
✅ All NBLAST similarity queries completed
246227
247228
================================================================================
248229
DATASET/TEMPLATE QUERIES
249230
================================================================================
250-
PaintedDomains: 0.5739s
231+
PaintedDomains: 0.7761s
251232
└─ Found 0 painted domains
252-
DatasetImages: 0.6545s
233+
DatasetImages: 0.7672s
253234
└─ Found 0 images in dataset
254-
AllAlignedImages: 0.5679s
235+
AllAlignedImages: 0.7536s
255236
└─ Found 0 aligned images
256-
AlignedDatasets: 0.8436s
237+
AlignedDatasets: 0.9391s
257238
└─ Found 0 aligned datasets
258-
AllDatasets: 0.7601s
239+
AllDatasets: 0.9832s
259240
└─ Found 115 total datasets, returned 20
260241
✅ All dataset/template queries completed
261242
262243
================================================================================
263244
PUBLICATION/TRANSGENE QUERIES
264245
================================================================================
265-
TermsForPub: 0.5162s
246+
TermsForPub: 0.7270s
266247
└─ Found 0 terms for publication
267-
TransgeneExpressionHere: 0.6500s
248+
TransgeneExpressionHere: 0.8227s
268249
└─ Found 2339 transgene expressions, returned 10
269250
✅ All publication/transgene queries completed
270251
@@ -277,7 +258,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
277258
Performance test for specific term info queries. ... ok
278259
279260
----------------------------------------------------------------------
280-
Ran 1 test in 1.589s
261+
Ran 1 test in 2.241s
281262
282263
OK
283264
VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
@@ -292,9 +273,9 @@ VFBquery: Caching enabled by default (3-month TTL, 2GB memory)
292273
==================================================
293274
Performance Test Results:
294275
==================================================
295-
FBbt_00003748 query took: 0.8036 seconds
296-
VFB_00101567 query took: 0.7848 seconds
297-
Total time for both queries: 1.5884 seconds
276+
FBbt_00003748 query took: 1.1269 seconds
277+
VFB_00101567 query took: 1.1135 seconds
278+
Total time for both queries: 2.2404 seconds
298279
Performance Level: 🟡 Good (1.5-3 seconds)
299280
==================================================
300281
Performance test completed successfully!
@@ -313,4 +294,4 @@ Track performance trends across commits:
313294
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
314295

315296
---
316-
*Last updated: 2025-11-09 10:54:37 UTC*
297+
*Last updated: 2025-11-09 11:13:45 UTC*

0 commit comments

Comments
 (0)