Skip to content

Commit 81282bb

Browse files
committed
Update performance test results [skip ci]
1 parent 19f2101 commit 81282bb

1 file changed

Lines changed: 68 additions & 56 deletions

File tree

performance.md

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

3-
**Test Date:** 2026-03-19 08:16:02 UTC
4-
**Git Commit:** 5d4a465284cf9786c19a78f99f57850e6fef0887
3+
**Test Date:** 2026-03-19 08:32:15 UTC
4+
**Git Commit:** 19f2101e07b1b863c6e18462bea65f1fbb897219
55
**Branch:** main
6-
**Workflow Run:** [23285802149](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23285802149)
6+
**Workflow Run:** [23286319896](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/23286319896)
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 69.990s
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.1629445552825928 not less than 3.0 : AllAlignedImages exceeded threshold
120126
121-
OK
127+
----------------------------------------------------------------------
128+
Ran 15 tests in 59.668s
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,113 @@ VFBquery: SOLR caching enabled by default (3-month TTL)
128137
================================================================================
129138
TERM INFO QUERIES
130139
================================================================================
131-
get_term_info (mushroom body): 2.1905s
132-
get_term_info (individual): 2.3133s
140+
get_term_info (mushroom body): 1.8089s
141+
get_term_info (individual): 1.9031s
133142
134143
================================================================================
135144
NEURON PART OVERLAP QUERIES
136145
================================================================================
137-
NeuronsPartHere: 2.2050s
146+
NeuronsPartHere: 1.9445s
138147
139148
================================================================================
140149
SYNAPTIC TERMINAL QUERIES
141150
================================================================================
142-
NeuronsSynaptic: 2.2515s
143-
NeuronsPresynapticHere: 2.0003s
144-
NeuronsPostsynapticHere: 2.1191s
145-
NeuronNeuronConnectivity: 1.6858s
151+
NeuronsSynaptic: 1.8381s
152+
NeuronsPresynapticHere: 1.5638s
153+
NeuronsPostsynapticHere: 1.6468s
154+
NeuronNeuronConnectivity: 1.6219s
146155
147156
================================================================================
148157
ANATOMICAL HIERARCHY QUERIES
149158
================================================================================
150-
ComponentsOf: 1.7417s
151-
PartsOf: 1.7147s
152-
SubclassesOf: 1.5689s
159+
ComponentsOf: 1.4106s
160+
PartsOf: 1.3936s
161+
SubclassesOf: 1.4024s
153162
154163
================================================================================
155164
TRACT/NERVE AND LINEAGE QUERIES
156165
================================================================================
157-
NeuronClassesFasciculatingHere: 1.5973s
158-
TractsNervesInnervatingHere: 1.6288s
159-
LineageClonesIn: 1.6018s
166+
NeuronClassesFasciculatingHere: 1.4348s
167+
TractsNervesInnervatingHere: 1.4148s
168+
LineageClonesIn: 1.4325s
160169
161170
================================================================================
162171
IMAGE AND DEVELOPMENTAL QUERIES
163172
================================================================================
164-
ImagesNeurons: 2.7622s
165-
ImagesThatDevelopFrom: 1.8575s
166-
epFrag: 1.5653s
173+
ImagesNeurons: 2.4609s
174+
ImagesThatDevelopFrom: 1.4401s
175+
epFrag: 1.4172s
167176
168177
================================================================================
169178
INSTANCE QUERIES
170179
================================================================================
171-
ListAllAvailableImages: 1.6255s
180+
ListAllAvailableImages: 1.5186s
172181
173182
================================================================================
174183
CONNECTIVITY QUERIES
175184
================================================================================
176-
NeuronNeuronConnectivityQuery: 1.6143s
177-
NeuronRegionConnectivityQuery: 1.5827s
185+
NeuronNeuronConnectivityQuery: 1.4157s
186+
NeuronRegionConnectivityQuery: 1.4163s
178187
179188
================================================================================
180189
SIMILARITY QUERIES (Neo4j NBLAST)
181190
================================================================================
182-
SimilarMorphologyTo: 0.8559s
191+
SimilarMorphologyTo: 0.7492s
183192
184193
================================================================================
185194
NEURON INPUT QUERIES (Neo4j)
186195
================================================================================
187-
NeuronInputsTo: 3.0088s
196+
NeuronInputsTo: 2.7821s
188197
189198
================================================================================
190199
EXPRESSION PATTERN QUERIES (Neo4j)
191200
================================================================================
192-
ExpressionOverlapsHere: 1.1350s
201+
ExpressionOverlapsHere: 1.0534s
193202
└─ Found 3922 total expression patterns, returned 10
194203
195204
================================================================================
196205
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
197206
================================================================================
198-
anatScRNAseqQuery: 0.7903s
207+
anatScRNAseqQuery: 0.7102s
199208
└─ Found 57 total clusters, returned 10
200-
clusterExpression: 1.2640s
209+
clusterExpression: 0.9031s
201210
└─ Found 4588 genes expressed, returned 10
202-
expressionCluster: 0.7571s
211+
expressionCluster: 0.7566s
203212
└─ Found 9 clusters expressing gene
204-
scRNAdatasetData: 0.7853s
213+
scRNAdatasetData: 0.8352s
205214
└─ Found 13 clusters in dataset, returned 10
206215
207216
================================================================================
208217
NBLAST SIMILARITY QUERIES
209218
================================================================================
210-
SimilarMorphologyTo: 1.0286s
219+
SimilarMorphologyTo: 0.9407s
211220
└─ Found 215 NBLAST matches, returned 10
212-
SimilarMorphologyToPartOf: 0.6499s
221+
SimilarMorphologyToPartOf: 0.6989s
213222
└─ Found 0 NBLASTexp matches
214-
SimilarMorphologyToPartOfexp: 0.7583s
223+
SimilarMorphologyToPartOfexp: 0.5837s
215224
└─ Found 0 reverse NBLASTexp matches
216-
SimilarMorphologyToNB: 0.6596s
225+
SimilarMorphologyToNB: 0.6105s
217226
└─ Found 15 NeuronBridge matches, returned 10
218-
SimilarMorphologyToNBexp: 0.6392s
227+
SimilarMorphologyToNBexp: 0.7026s
219228
└─ Found 15 NeuronBridge expression matches, returned 10
220229
✅ All NBLAST similarity queries completed
221230
222231
================================================================================
223232
DATASET/TEMPLATE QUERIES
224233
================================================================================
225-
PaintedDomains: 0.8018s
234+
PaintedDomains: 0.7294s
226235
└─ Found 46 painted domains, returned 10
227-
DatasetImages: 0.9047s
236+
DatasetImages: 0.6141s
228237
└─ Found 46 images in dataset, returned 10
229-
AllAlignedImages: 2.3948s
238+
AllAlignedImages: 3.1629s
230239
└─ Found 465165 aligned images, returned 10
231-
AlignedDatasets: 0.7824s ✅
232-
└─ Found 72 aligned datasets, returned 10
233-
AllDatasets: 0.9788s ✅
234-
└─ Found 130 total datasets, returned 20
235-
✅ All dataset/template queries completed
236240
237241
================================================================================
238242
PUBLICATION/TRANSGENE QUERIES
239243
================================================================================
240-
TermsForPub: 0.7935s
244+
TermsForPub: 0.6966s
241245
└─ Found 2 terms for publication
242-
TransgeneExpressionHere: 1.5525s
246+
TransgeneExpressionHere: 1.3832s
243247
└─ Found 2338 transgene expressions, returned 10
244248
✅ All publication/transgene queries completed
245249
@@ -249,25 +253,33 @@ PERFORMANCE TEST SUMMARY
249253
All performance tests completed!
250254
================================================================================
251255
test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
252-
Performance test for specific term info queries. ... ok
256+
Performance test for specific term info queries. ... FAIL
257+
258+
======================================================================
259+
FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
260+
Performance test for specific term info queries.
261+
----------------------------------------------------------------------
262+
Traceback (most recent call last):
263+
File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 590, in test_term_info_performance
264+
self.assertLess(duration_1, max_single_query_time,
265+
AssertionError: 25.65109658241272 not less than 10.0 : FBbt_00003748 query took 25.6511s, exceeding 10.0s threshold
253266
254267
----------------------------------------------------------------------
255-
Ran 1 test in 2.801s
268+
Ran 1 test in 27.116s
256269
257-
OK
270+
FAILED (failures=1)
258271
VFBquery functions patched with caching support
259272
VFBquery: SOLR caching enabled by default (3-month TTL)
260273
Disable with: export VFBQUERY_CACHE_ENABLED=false
261274
262275
==================================================
263276
Performance Test Results:
264277
==================================================
265-
FBbt_00003748 query took: 1.2104 seconds
266-
VFB_00101567 query took: 1.5902 seconds
267-
Total time for both queries: 2.8006 seconds
268-
Performance Level: 🟡 Good (1.5-3 seconds)
278+
FBbt_00003748 query took: 25.6511 seconds
279+
VFB_00101567 query took: 1.4640 seconds
280+
Total time for both queries: 27.1151 seconds
281+
Performance Level: 🔴 Slow (> 6 seconds)
269282
==================================================
270-
Performance test completed successfully!
271283
```
272284

273285
## Summary
@@ -283,4 +295,4 @@ Track performance trends across commits:
283295
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
284296

285297
---
286-
*Last updated: 2026-03-19 08:16:02 UTC*
298+
*Last updated: 2026-03-19 08:32:15 UTC*

0 commit comments

Comments
 (0)