Skip to content

Commit 946d671

Browse files
committed
Update performance test results [skip ci]
1 parent 7d4b13e commit 946d671

1 file changed

Lines changed: 56 additions & 53 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-04-11 04:15:48 UTC
4-
**Git Commit:** 3c886eb01fc6fd5fd2a1cf93b8c3f2d5a7e3b53b
3+
**Test Date:** 2026-04-11 15:11:03 UTC
4+
**Git Commit:** 7d4b13eee35ee03fa56359e60401dd8dc1ae384f
55
**Branch:** main
6-
**Workflow Run:** [24274395885](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24274395885)
6+
**Workflow Run:** [24285242277](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/24285242277)
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 87.629s
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.1822357177734375 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121-
OK
127+
----------------------------------------------------------------------
128+
Ran 15 tests in 58.537s
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,119 +137,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137
================================================================================
129138
TERM INFO QUERIES
130139
================================================================================
131-
get_term_info (mushroom body): 2.0846s
132-
get_term_info (individual): 1.6162s
140+
get_term_info (mushroom body): 1.7174s
141+
get_term_info (individual): 1.7490s
133142
134143
================================================================================
135144
NEURON PART OVERLAP QUERIES
136145
================================================================================
137-
NeuronsPartHere: 1.8085s
146+
NeuronsPartHere: 1.7241s
138147
139148
================================================================================
140149
SYNAPTIC TERMINAL QUERIES
141150
================================================================================
142-
NeuronsSynaptic: 2.0595s
143-
NeuronsPresynapticHere: 1.6278s
144-
NeuronsPostsynapticHere: 1.8164s
145-
NeuronNeuronConnectivity: 1.4833s
151+
NeuronsSynaptic: 1.6998s
152+
NeuronsPresynapticHere: 1.6345s
153+
NeuronsPostsynapticHere: 1.7555s
154+
NeuronNeuronConnectivity: 1.5269s
146155
147156
================================================================================
148157
ANATOMICAL HIERARCHY QUERIES
149158
================================================================================
150-
ComponentsOf: 1.4988s
151-
PartsOf: 1.3891s
152-
SubclassesOf: 1.4267s
159+
ComponentsOf: 2.1433s
160+
PartsOf: 1.4937s
161+
SubclassesOf: 1.2244s
153162
154163
================================================================================
155164
TRACT/NERVE AND LINEAGE QUERIES
156165
================================================================================
157-
NeuronClassesFasciculatingHere: 1.4372s
158-
TractsNervesInnervatingHere: 1.4098s
159-
LineageClonesIn: 1.4121s
166+
NeuronClassesFasciculatingHere: 1.2460s
167+
TractsNervesInnervatingHere: 1.1999s
168+
LineageClonesIn: 1.2025s
160169
161170
================================================================================
162171
IMAGE AND DEVELOPMENTAL QUERIES
163172
================================================================================
164-
ImagesNeurons: 2.4492s
165-
ImagesThatDevelopFrom: 1.4459s
166-
epFrag: 1.3857s
173+
ImagesNeurons: 2.1928s
174+
ImagesThatDevelopFrom: 1.2857s
175+
epFrag: 1.3628s
167176
168177
================================================================================
169178
INSTANCE QUERIES
170179
================================================================================
171-
ListAllAvailableImages: 1.3935s
180+
ListAllAvailableImages: 1.3813s
172181
173182
================================================================================
174183
CONNECTIVITY QUERIES
175184
================================================================================
176-
NeuronNeuronConnectivityQuery: 1.4353s
177-
NeuronRegionConnectivityQuery: 1.4248s
185+
NeuronNeuronConnectivityQuery: 1.2194s
186+
NeuronRegionConnectivityQuery: 1.2847s
178187
179188
================================================================================
180189
SIMILARITY QUERIES (Neo4j NBLAST)
181190
================================================================================
182-
SimilarMorphologyTo: 1.2075s
191+
SimilarMorphologyTo: 0.6241s
183192
184193
================================================================================
185194
NEURON INPUT QUERIES (Neo4j)
186195
================================================================================
187-
NeuronInputsTo: 3.2933s
196+
NeuronInputsTo: 3.4204s
188197
189198
================================================================================
190199
EXPRESSION PATTERN QUERIES (Neo4j)
191200
================================================================================
192-
ExpressionOverlapsHere: 1.0189s
201+
ExpressionOverlapsHere: 0.9068s
193202
└─ Found 3922 total expression patterns, returned 10
194203
195204
================================================================================
196205
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206
================================================================================
198-
anatScRNAseqQuery: 0.7066s
207+
anatScRNAseqQuery: 0.5997s
199208
└─ Found 57 total clusters, returned 10
200-
clusterExpression: 15.3676s
209+
clusterExpression: 1.1548s
201210
└─ Found 4588 genes expressed, returned 10
202-
clusterExpression: Skipped (test data may not exist): 15.367552280426025 not less than 15.0 : clusterExpression exceeded threshold
203-
expressionCluster: 1.3843s ✅
211+
expressionCluster: 0.7450s ✅
204212
└─ Found 9 clusters expressing gene
205-
scRNAdatasetData: 0.5941s
213+
scRNAdatasetData: 0.7158s
206214
└─ Found 13 clusters in dataset, returned 10
207215
208216
================================================================================
209217
NBLAST SIMILARITY QUERIES
210218
================================================================================
211-
SimilarMorphologyTo: 1.2154s
219+
SimilarMorphologyTo: 1.1938s
212220
└─ Found 215 NBLAST matches, returned 10
213-
SimilarMorphologyToPartOf: 0.5657s
221+
SimilarMorphologyToPartOf: 0.6532s
214222
└─ Found 0 NBLASTexp matches
215-
SimilarMorphologyToPartOfexp: 0.5581s
223+
SimilarMorphologyToPartOfexp: 0.6131s
216224
└─ Found 0 reverse NBLASTexp matches
217-
SimilarMorphologyToNB: 0.6695s
225+
SimilarMorphologyToNB: 0.6424s
218226
└─ Found 15 NeuronBridge matches, returned 10
219-
SimilarMorphologyToNBexp: 0.5780s
227+
SimilarMorphologyToNBexp: 0.5552s
220228
└─ Found 15 NeuronBridge expression matches, returned 10
221229
✅ All NBLAST similarity queries completed
222230
223231
================================================================================
224232
DATASET/TEMPLATE QUERIES
225233
================================================================================
226-
PaintedDomains: 0.7414s
234+
PaintedDomains: 0.5949s
227235
└─ Found 46 painted domains, returned 10
228-
DatasetImages: 0.5820s
236+
DatasetImages: 0.7697s
229237
└─ Found 46 images in dataset, returned 10
230-
AllAlignedImages: 2.9648s
238+
AllAlignedImages: 3.1822s
231239
└─ Found 527179 aligned images, returned 10
232-
AlignedDatasets: 0.7254s ✅
233-
└─ Found 72 aligned datasets, returned 10
234-
AllDatasets: 0.8843s ✅
235-
└─ Found 130 total datasets, returned 20
236-
✅ All dataset/template queries completed
237240
238241
================================================================================
239242
PUBLICATION/TRANSGENE QUERIES
240243
================================================================================
241-
TermsForPub: 0.6932s
244+
TermsForPub: 0.5830s
242245
└─ Found 2 terms for publication
243-
TransgeneExpressionHere: 1.6198s
246+
TransgeneExpressionHere: 1.2202s
244247
└─ Found 2340 transgene expressions, returned 10
245248
✅ All publication/transgene queries completed
246249
@@ -253,7 +256,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
253256
Performance test for specific term info queries. ... ok
254257
255258
----------------------------------------------------------------------
256-
Ran 1 test in 2.828s
259+
Ran 1 test in 2.399s
257260
258261
OK
259262
VFBquery functions patched with caching support
@@ -263,9 +266,9 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
263266
==================================================
264267
Performance Test Results:
265268
==================================================
266-
FBbt_00003748 query took: 1.3963 seconds
267-
VFB_00101567 query took: 1.4314 seconds
268-
Total time for both queries: 2.8278 seconds
269+
FBbt_00003748 query took: 1.1897 seconds
270+
VFB_00101567 query took: 1.2089 seconds
271+
Total time for both queries: 2.3987 seconds
269272
Performance Level: 🟡 Good (1.5-3 seconds)
270273
==================================================
271274
Performance test completed successfully!
@@ -284,4 +287,4 @@ Track performance trends across commits:
284287
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
285288

286289
---
287-
*Last updated: 2026-04-11 04:15:48 UTC*
290+
*Last updated: 2026-04-11 15:11:03 UTC*

0 commit comments

Comments
 (0)