Skip to content

Commit 6b1cf35

Browse files
committed
Update performance test results [skip ci]
1 parent ba6eb6e commit 6b1cf35

1 file changed

Lines changed: 56 additions & 65 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-03-11 23:52:41 UTC
4-
**Git Commit:** bbf0d3fafd9cbe55513c8b221a0d1268a59fd70c
3+
**Test Date:** 2026-03-12 00:25:51 UTC
4+
**Git Commit:** ba6eb6eeb99a8021eeea6e7393509eeba35de247
55
**Branch:** main
6-
**Workflow Run:** [22979846959](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22979846959)
6+
**Workflow Run:** [22980864590](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/22980864590)
77

88
## Test Overview
99

@@ -111,41 +111,23 @@ Test scRNAseq transcriptomics queries ... ok
111111
test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
112112
Test NBLAST similarity queries ... FAIL
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)
116-
Test publication and transgene queries ... FAIL
116+
Test publication and transgene queries ... ok
117117
118118
======================================================================
119119
FAIL: test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
120120
Test NBLAST similarity queries
121121
----------------------------------------------------------------------
122122
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: 16.03207039833069 not less than 15.0 : SimilarMorphologyTo exceeded threshold
126-
127-
======================================================================
128-
FAIL: test_13_dataset_template_queries (src.test.test_query_performance.QueryPerformanceTest)
129-
Test dataset and template queries
130-
----------------------------------------------------------------------
131-
Traceback (most recent call last):
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: 49.17259168624878 not less than 3.0 : DatasetImages exceeded threshold
135-
136-
======================================================================
137-
FAIL: test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerformanceTest)
138-
Test publication and transgene queries
139-
----------------------------------------------------------------------
140-
Traceback (most recent call last):
141-
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 745, in test_14_publication_transgene_queries
142-
self.assertLess(duration, self.THRESHOLD_SLOW, "TransgeneExpressionHere exceeded threshold")
143-
AssertionError: 40.38633942604065 not less than 15.0 : TransgeneExpressionHere exceeded threshold
123+
File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 549, in test_12_nblast_queries
124+
self.assertLess(duration, self.THRESHOLD_MEDIUM, "SimilarMorphologyToPartOf exceeded threshold")
125+
AssertionError: 3.2150936126708984 not less than 3.0 : SimilarMorphologyToPartOf exceeded threshold
144126
145127
----------------------------------------------------------------------
146-
Ran 15 tests in 251.882s
128+
Ran 15 tests in 60.432s
147129
148-
FAILED (failures=3)
130+
FAILED (failures=1)
149131
VFBquery functions patched with caching support
150132
VFBquery: SOLR caching enabled by default (3-month TTL)
151133
Disable with: export VFBQUERY_CACHE_ENABLED=false
@@ -155,104 +137,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
155137
================================================================================
156138
TERM INFO QUERIES
157139
================================================================================
158-
get_term_info (mushroom body): 2.0216s
159-
get_term_info (individual): 1.7303s
140+
get_term_info (mushroom body): 1.9343s
141+
get_term_info (individual): 1.8675s
160142
161143
================================================================================
162144
NEURON PART OVERLAP QUERIES
163145
================================================================================
164-
NeuronsPartHere: 2.2293s
146+
NeuronsPartHere: 2.0860s
165147
166148
================================================================================
167149
SYNAPTIC TERMINAL QUERIES
168150
================================================================================
169-
NeuronsSynaptic: 2.0835s
170-
NeuronsPresynapticHere: 1.7062s
171-
NeuronsPostsynapticHere: 1.8406s
172-
NeuronNeuronConnectivity: 1.4428s
151+
NeuronsSynaptic: 1.7747s
152+
NeuronsPresynapticHere: 1.5072s
153+
NeuronsPostsynapticHere: 1.7568s
154+
NeuronNeuronConnectivity: 1.5882s
173155
174156
================================================================================
175157
ANATOMICAL HIERARCHY QUERIES
176158
================================================================================
177-
ComponentsOf: 1.4297s
178-
PartsOf: 1.6139s
179-
SubclassesOf: 1.9622s
159+
ComponentsOf: 1.3110s
160+
PartsOf: 1.2343s
161+
SubclassesOf: 1.5601s
180162
181163
================================================================================
182164
TRACT/NERVE AND LINEAGE QUERIES
183165
================================================================================
184-
NeuronClassesFasciculatingHere: 1.4931s
185-
TractsNervesInnervatingHere: 1.5777s
186-
LineageClonesIn: 1.5436s
166+
NeuronClassesFasciculatingHere: 1.2364s
167+
TractsNervesInnervatingHere: 1.8729s
168+
LineageClonesIn: 1.2184s
187169
188170
================================================================================
189171
IMAGE AND DEVELOPMENTAL QUERIES
190172
================================================================================
191-
ImagesNeurons: 2.7143s
192-
ImagesThatDevelopFrom: 1.5840s
193-
epFrag: 1.3994s
173+
ImagesNeurons: 2.2306s
174+
ImagesThatDevelopFrom: 1.2860s
175+
epFrag: 1.3494s
194176
195177
================================================================================
196178
INSTANCE QUERIES
197179
================================================================================
198-
ListAllAvailableImages: 1.4521s
180+
ListAllAvailableImages: 1.2317s
199181
200182
================================================================================
201183
CONNECTIVITY QUERIES
202184
================================================================================
203-
NeuronNeuronConnectivityQuery: 1.4756s
204-
NeuronRegionConnectivityQuery: 1.5893s
185+
NeuronNeuronConnectivityQuery: 1.2293s
186+
NeuronRegionConnectivityQuery: 1.2493s
205187
206188
================================================================================
207189
SIMILARITY QUERIES (Neo4j NBLAST)
208190
================================================================================
209-
SimilarMorphologyTo: 0.8677s
191+
SimilarMorphologyTo: 0.6740s
210192
211193
================================================================================
212194
NEURON INPUT QUERIES (Neo4j)
213195
================================================================================
214-
NeuronInputsTo: 7.6611s
196+
NeuronInputsTo: 3.0794s
215197
216198
================================================================================
217199
EXPRESSION PATTERN QUERIES (Neo4j)
218200
================================================================================
219-
ExpressionOverlapsHere: 1.1192s
201+
ExpressionOverlapsHere: 0.9423s
220202
└─ Found 3922 total expression patterns, returned 10
221203
222204
================================================================================
223205
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
224206
================================================================================
225-
anatScRNAseqQuery: 0.7625s
207+
anatScRNAseqQuery: 0.6231s
226208
└─ Found 57 total clusters, returned 10
227-
clusterExpression: 6.5272s
209+
clusterExpression: 0.9900s
228210
└─ Found 4588 genes expressed, returned 10
229-
expressionCluster: 41.3115s
211+
expressionCluster: 0.7123s
230212
└─ Found 9 clusters expressing gene
231-
expressionCluster: Skipped (test data may not exist): 41.31153178215027 not less than 15.0 : expressionCluster exceeded threshold
232-
scRNAdatasetData: 10.2607s ✅
213+
scRNAdatasetData: 0.5273s ✅
233214
└─ Found 13 clusters in dataset, returned 10
234215
235216
================================================================================
236217
NBLAST SIMILARITY QUERIES
237218
================================================================================
238-
SimilarMorphologyTo: 16.0321s
219+
SimilarMorphologyTo: 1.0494s
239220
└─ Found 215 NBLAST matches, returned 10
221+
SimilarMorphologyToPartOf: 3.2151s ✅
222+
└─ Found 0 NBLASTexp matches
240223
241224
================================================================================
242225
DATASET/TEMPLATE QUERIES
243226
================================================================================
244-
PaintedDomains: 0.7183s
227+
PaintedDomains: 0.6242s
245228
└─ Found 46 painted domains, returned 10
246-
DatasetImages: 49.1726s
229+
DatasetImages: 0.6683s
247230
└─ Found 46 images in dataset, returned 10
231+
AllAlignedImages: 2.7341s ✅
232+
└─ Found 546915 aligned images, returned 10
233+
AlignedDatasets: 0.6368s ✅
234+
└─ Found 72 aligned datasets, returned 10
235+
AllDatasets: 0.7992s ✅
236+
└─ Found 128 total datasets, returned 20
237+
✅ All dataset/template queries completed
248238
249239
================================================================================
250240
PUBLICATION/TRANSGENE QUERIES
251241
================================================================================
252-
TermsForPub: 0.6977s
242+
TermsForPub: 0.6191s
253243
└─ Found 2 terms for publication
254-
TransgeneExpressionHere: 40.3863s
244+
TransgeneExpressionHere: 1.2171s
255245
└─ Found 2350 transgene expressions, returned 10
246+
✅ All publication/transgene queries completed
256247
257248
================================================================================
258249
PERFORMANCE TEST SUMMARY
@@ -263,7 +254,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
263254
Performance test for specific term info queries. ... ok
264255
265256
----------------------------------------------------------------------
266-
Ran 1 test in 2.913s
257+
Ran 1 test in 2.501s
267258
268259
OK
269260
VFBquery functions patched with caching support
@@ -273,9 +264,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
273264
==================================================
274265
Performance Test Results:
275266
==================================================
276-
FBbt_00003748 query took: 1.4557 seconds
277-
VFB_00101567 query took: 1.4570 seconds
278-
Total time for both queries: 2.9126 seconds
267+
FBbt_00003748 query took: 1.2464 seconds
268+
VFB_00101567 query took: 1.2545 seconds
269+
Total time for both queries: 2.5010 seconds
279270
Performance Level: 🟡 Good (1.5-3 seconds)
280271
==================================================
281272
Performance test completed successfully!
@@ -294,4 +285,4 @@ Track performance trends across commits:
294285
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
295286

296287
---
297-
*Last updated: 2026-03-11 23:52:41 UTC*
288+
*Last updated: 2026-03-12 00:25:51 UTC*

0 commit comments

Comments
 (0)