Skip to content

Commit 54763d6

Browse files
committed
Update performance test results [skip ci]
1 parent a105e6b commit 54763d6

1 file changed

Lines changed: 57 additions & 52 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-03-27 04:29:12 UTC
4-
**Git Commit:** 2333ab427320586c079465fb3af601800f83a6c5
3+
**Test Date:** 2026-03-28 04:13:30 UTC
4+
**Git Commit:** a105e6b60155cfc243146f569525d5040374d830
55
**Branch:** main
6-
**Workflow Run:** [23631155900](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23631155900)
6+
**Workflow Run:** [23677191753](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23677191753)
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 72.056s
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: 3.070275068283081 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121-
OK
127+
----------------------------------------------------------------------
128+
Ran 15 tests in 80.383s
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,118 +137,114 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137
================================================================================
129138
TERM INFO QUERIES
130139
================================================================================
131-
get_term_info (mushroom body): 2.0394s
132-
get_term_info (individual): 1.4306s
140+
get_term_info (mushroom body): 2.0812s
141+
get_term_info (individual): 2.4498s
133142
134143
================================================================================
135144
NEURON PART OVERLAP QUERIES
136145
================================================================================
137-
NeuronsPartHere: 2.0098s
146+
NeuronsPartHere: 2.0685s
138147
139148
================================================================================
140149
SYNAPTIC TERMINAL QUERIES
141150
================================================================================
142-
NeuronsSynaptic: 1.8804s
143-
NeuronsPresynapticHere: 1.2888s
144-
NeuronsPostsynapticHere: 1.9318s
145-
NeuronNeuronConnectivity: 1.2795s
151+
NeuronsSynaptic: 1.9458s
152+
NeuronsPresynapticHere: 1.2861s
153+
NeuronsPostsynapticHere: 1.9960s
154+
NeuronNeuronConnectivity: 1.5480s
146155
147156
================================================================================
148157
ANATOMICAL HIERARCHY QUERIES
149158
================================================================================
150-
ComponentsOf: 1.4419s
151-
PartsOf: 1.7005s
152-
SubclassesOf: 1.2550s
159+
ComponentsOf: 1.4206s
160+
PartsOf: 1.4419s
161+
SubclassesOf: 1.4328s
153162
154163
================================================================================
155164
TRACT/NERVE AND LINEAGE QUERIES
156165
================================================================================
157-
NeuronClassesFasciculatingHere: 1.7074s
158-
TractsNervesInnervatingHere: 1.3850s
159-
LineageClonesIn: 1.2349s
166+
NeuronClassesFasciculatingHere: 1.5297s
167+
TractsNervesInnervatingHere: 1.2061s
168+
LineageClonesIn: 1.4316s
160169
161170
================================================================================
162171
IMAGE AND DEVELOPMENTAL QUERIES
163172
================================================================================
164-
ImagesNeurons: 2.1888s
165-
ImagesThatDevelopFrom: 1.2424s
166-
epFrag: 1.4203s
173+
ImagesNeurons: 2.1308s
174+
ImagesThatDevelopFrom: 1.2312s
175+
epFrag: 1.1925s
167176
168177
================================================================================
169178
INSTANCE QUERIES
170179
================================================================================
171-
ListAllAvailableImages: 1.2025s
180+
ListAllAvailableImages: 1.3355s
172181
173182
================================================================================
174183
CONNECTIVITY QUERIES
175184
================================================================================
176-
NeuronNeuronConnectivityQuery: 1.2156s
177-
NeuronRegionConnectivityQuery: 1.4283s
185+
NeuronNeuronConnectivityQuery: 1.1948s
186+
NeuronRegionConnectivityQuery: 1.1762s
178187
179188
================================================================================
180189
SIMILARITY QUERIES (Neo4j NBLAST)
181190
================================================================================
182-
SimilarMorphologyTo: 0.6707s
191+
SimilarMorphologyTo: 1.2121s
183192
184193
================================================================================
185194
NEURON INPUT QUERIES (Neo4j)
186195
================================================================================
187-
NeuronInputsTo: 2.9341s
196+
NeuronInputsTo: 3.0501s
188197
189198
================================================================================
190199
EXPRESSION PATTERN QUERIES (Neo4j)
191200
================================================================================
192-
ExpressionOverlapsHere: 0.9855s
201+
ExpressionOverlapsHere: 0.8907s
193202
└─ Found 3922 total expression patterns, returned 10
194203
195204
================================================================================
196205
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206
================================================================================
198-
anatScRNAseqQuery: 0.5949s
207+
anatScRNAseqQuery: 0.6831s
199208
└─ Found 57 total clusters, returned 10
200-
clusterExpression: 5.1018s
209+
clusterExpression: 17.6260s
201210
└─ Found 4588 genes expressed, returned 10
202-
expressionCluster: 1.0494s ✅
211+
clusterExpression: Skipped (test data may not exist): 17.62600088119507 not less than 15.0 : clusterExpression exceeded threshold
212+
expressionCluster: 0.7122s ✅
203213
└─ Found 9 clusters expressing gene
204-
scRNAdatasetData: 0.6729s
214+
scRNAdatasetData: 0.7373s
205215
└─ Found 13 clusters in dataset, returned 10
206216
207217
================================================================================
208218
NBLAST SIMILARITY QUERIES
209219
================================================================================
210-
SimilarMorphologyTo: 0.7909s
220+
SimilarMorphologyTo: 2.4418s
211221
└─ Found 215 NBLAST matches, returned 10
212-
SimilarMorphologyToPartOf: 0.6117s
222+
SimilarMorphologyToPartOf: 0.5916s
213223
└─ Found 0 NBLASTexp matches
214-
SimilarMorphologyToPartOfexp: 0.5172s
224+
SimilarMorphologyToPartOfexp: 0.6663s
215225
└─ Found 0 reverse NBLASTexp matches
216-
SimilarMorphologyToNB: 0.7306s
226+
SimilarMorphologyToNB: 0.8993s
217227
└─ Found 15 NeuronBridge matches, returned 10
218-
SimilarMorphologyToNBexp: 0.6225s
228+
SimilarMorphologyToNBexp: 0.5833s
219229
└─ Found 15 NeuronBridge expression matches, returned 10
220230
✅ All NBLAST similarity queries completed
221231
222232
================================================================================
223233
DATASET/TEMPLATE QUERIES
224234
================================================================================
225-
PaintedDomains: 0.5865s
235+
PaintedDomains: 0.5878s
226236
└─ Found 46 painted domains, returned 10
227-
DatasetImages: 0.5771s
237+
DatasetImages: 0.8914s
228238
└─ Found 46 images in dataset, returned 10
229-
AllAlignedImages: 2.5644s
239+
AllAlignedImages: 3.0703s
230240
└─ Found 527179 aligned images, returned 10
231-
AlignedDatasets: 0.5851s ✅
232-
└─ Found 72 aligned datasets, returned 10
233-
AllDatasets: 0.8338s ✅
234-
└─ Found 130 total datasets, returned 20
235-
✅ All dataset/template queries completed
236241
237242
================================================================================
238243
PUBLICATION/TRANSGENE QUERIES
239244
================================================================================
240-
TermsForPub: 0.6017s
245+
TermsForPub: 0.5814s
241246
└─ Found 2 terms for publication
242-
TransgeneExpressionHere: 2.1257s
247+
TransgeneExpressionHere: 1.9342s
243248
└─ Found 2340 transgene expressions, returned 10
244249
✅ All publication/transgene queries completed
245250
@@ -252,7 +257,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252257
Performance test for specific term info queries. ... ok
253258
254259
----------------------------------------------------------------------
255-
Ran 1 test in 2.396s
260+
Ran 1 test in 2.446s
256261
257262
OK
258263
VFBquery functions patched with caching support
@@ -262,9 +267,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
262267
==================================================
263268
Performance Test Results:
264269
==================================================
265-
FBbt_00003748 query took: 1.1919 seconds
266-
VFB_00101567 query took: 1.2035 seconds
267-
Total time for both queries: 2.3954 seconds
270+
FBbt_00003748 query took: 1.2098 seconds
271+
VFB_00101567 query took: 1.2360 seconds
272+
Total time for both queries: 2.4458 seconds
268273
Performance Level: 🟡 Good (1.5-3 seconds)
269274
==================================================
270275
Performance test completed successfully!
@@ -283,4 +288,4 @@ Track performance trends across commits:
283288
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
284289

285290
---
286-
*Last updated: 2026-03-27 04:29:12 UTC*
291+
*Last updated: 2026-03-28 04:13:30 UTC*

0 commit comments

Comments
 (0)