Skip to content

Commit 5adb36b

Browse files
committed
Merge branch 'dev' of https://github.com/VirtualFlyBrain/VFBquery into dev
2 parents 9dff8c5 + 8f19052 commit 5adb36b

1 file changed

Lines changed: 48 additions & 51 deletions

File tree

performance.md

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

3-
**Test Date:** 2025-11-18 20:29:14 UTC
4-
**Git Commit:** 50f751eebd0049422f9bc6aff48feb986b77d74e
3+
**Test Date:** 2025-11-18 21:49:41 UTC
4+
**Git Commit:** a744412011eb430a9ba192bd8192ab44af11eb13
55
**Branch:** dev
6-
**Workflow Run:** [19480268057](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19480268057)
6+
**Workflow Run:** [19481459888](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19481459888)
77

88
## Test Overview
99

@@ -119,107 +119,107 @@ TERM INFO QUERIES
119119
DEBUG: Checking cache for term_info, term_id=FBbt_00003748, cache_term_id=FBbt_00003748_preview_True, should_cache=True
120120
DEBUG: Attempting cache lookup for term_info(FBbt_00003748_preview_True) with full results
121121
DEBUG: Cache lookup result: True
122-
get_term_info (mushroom body): 2.8356s
122+
get_term_info (mushroom body): 2.1569s
123123
DEBUG: Checking cache for term_info, term_id=VFB_00101567, cache_term_id=VFB_00101567_preview_True, should_cache=True
124124
DEBUG: Attempting cache lookup for term_info(VFB_00101567_preview_True) with full results
125125
DEBUG: Cache lookup result: True
126-
get_term_info (individual): 1.6825s
126+
get_term_info (individual): 1.7873s
127127
128128
================================================================================
129129
NEURON PART OVERLAP QUERIES
130130
================================================================================
131131
DEBUG: Checking cache for neurons_part_here, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
132132
DEBUG: Attempting cache lookup for neurons_part_here(FBbt_00007401) with full results
133133
DEBUG: Cache lookup result: True
134-
NeuronsPartHere: 2.3842s
134+
NeuronsPartHere: 1.5837s
135135
136136
================================================================================
137137
SYNAPTIC TERMINAL QUERIES
138138
================================================================================
139139
DEBUG: Checking cache for neurons_synaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
140140
DEBUG: Attempting cache lookup for neurons_synaptic(FBbt_00007401) with full results
141141
DEBUG: Cache lookup result: True
142-
NeuronsSynaptic: 2.0558s
142+
NeuronsSynaptic: 1.8850s
143143
DEBUG: Checking cache for neurons_presynaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
144144
DEBUG: Attempting cache lookup for neurons_presynaptic(FBbt_00007401) with full results
145145
DEBUG: Cache lookup result: True
146-
NeuronsPresynapticHere: 1.6847s
146+
NeuronsPresynapticHere: 1.5158s
147147
DEBUG: Checking cache for neurons_postsynaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
148148
DEBUG: Attempting cache lookup for neurons_postsynaptic(FBbt_00007401) with full results
149149
DEBUG: Cache lookup result: True
150-
NeuronsPostsynapticHere: 1.6729s
150+
NeuronsPostsynapticHere: 1.4079s
151151
DEBUG: Checking cache for neuron_neuron_connectivity_query, term_id=VFB_jrchk00s, cache_term_id=VFB_jrchk00s, should_cache=True
152152
DEBUG: Attempting cache lookup for neuron_neuron_connectivity_query(VFB_jrchk00s) with full results
153153
DEBUG: Cache lookup result: True
154-
NeuronNeuronConnectivity: 1.6594s
154+
NeuronNeuronConnectivity: 1.4948s
155155
156156
================================================================================
157157
ANATOMICAL HIERARCHY QUERIES
158158
================================================================================
159159
DEBUG: Checking cache for components_of, term_id=FBbt_00003748, cache_term_id=FBbt_00003748, should_cache=True
160160
DEBUG: Attempting cache lookup for components_of(FBbt_00003748) with full results
161161
DEBUG: Cache lookup result: True
162-
ComponentsOf: 1.6879s
162+
ComponentsOf: 1.3817s
163163
DEBUG: Checking cache for parts_of, term_id=FBbt_00003748, cache_term_id=FBbt_00003748, should_cache=True
164164
DEBUG: Attempting cache lookup for parts_of(FBbt_00003748) with full results
165165
DEBUG: Cache lookup result: True
166-
PartsOf: 1.6824s
166+
PartsOf: 1.4302s
167167
DEBUG: Checking cache for subclasses_of, term_id=FBbt_00003748, cache_term_id=FBbt_00003748, should_cache=True
168168
DEBUG: Attempting cache lookup for subclasses_of(FBbt_00003748) with full results
169169
DEBUG: Cache lookup result: True
170-
SubclassesOf: 1.6760s
170+
SubclassesOf: 1.4142s
171171
172172
================================================================================
173173
TRACT/NERVE AND LINEAGE QUERIES
174174
================================================================================
175175
DEBUG: Checking cache for neuron_classes_fasciculating_here, term_id=FBbt_00003987, cache_term_id=FBbt_00003987, should_cache=True
176176
DEBUG: Attempting cache lookup for neuron_classes_fasciculating_here(FBbt_00003987) with full results
177177
DEBUG: Cache lookup result: True
178-
NeuronClassesFasciculatingHere: 1.6487s
178+
NeuronClassesFasciculatingHere: 1.3930s
179179
DEBUG: Checking cache for tracts_nerves_innervating_here, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
180180
DEBUG: Attempting cache lookup for tracts_nerves_innervating_here(FBbt_00007401) with full results
181181
DEBUG: Cache lookup result: True
182-
TractsNervesInnervatingHere: 1.6888s
182+
TractsNervesInnervatingHere: 1.6265s
183183
DEBUG: Checking cache for lineage_clones_in, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
184184
DEBUG: Attempting cache lookup for lineage_clones_in(FBbt_00007401) with full results
185185
DEBUG: Cache lookup result: True
186-
LineageClonesIn: 1.8182s
186+
LineageClonesIn: 1.4079s
187187
188188
================================================================================
189189
IMAGE AND DEVELOPMENTAL QUERIES
190190
================================================================================
191191
DEBUG: Checking cache for images_neurons, term_id=FBbt_00007401, cache_term_id=FBbt_00007401, should_cache=True
192192
DEBUG: Attempting cache lookup for images_neurons(FBbt_00007401) with full results
193193
DEBUG: Cache lookup result: True
194-
ImagesNeurons: 1.6760s
194+
ImagesNeurons: 1.4136s
195195
DEBUG: Checking cache for images_that_develop_from, term_id=FBbt_00001419, cache_term_id=FBbt_00001419, should_cache=True
196196
DEBUG: Attempting cache lookup for images_that_develop_from(FBbt_00001419) with full results
197197
DEBUG: Cache lookup result: True
198-
ImagesThatDevelopFrom: 1.6545s
198+
ImagesThatDevelopFrom: 1.4298s
199199
DEBUG: Checking cache for expression_pattern_fragments, term_id=FBtp0000001, cache_term_id=FBtp0000001, should_cache=True
200200
DEBUG: Attempting cache lookup for expression_pattern_fragments(FBtp0000001) with full results
201201
DEBUG: Cache lookup result: True
202-
epFrag: 1.6702s
202+
epFrag: 1.4533s
203203
204204
================================================================================
205205
INSTANCE QUERIES
206206
================================================================================
207207
DEBUG: Checking cache for instances, term_id=FBbt_00003982, cache_term_id=FBbt_00003982, should_cache=True
208208
DEBUG: Attempting cache lookup for instances(FBbt_00003982) with full results
209209
DEBUG: Cache lookup result: True
210-
ListAllAvailableImages: 1.6796s
210+
ListAllAvailableImages: 1.4164s
211211
212212
================================================================================
213213
CONNECTIVITY QUERIES
214214
================================================================================
215215
DEBUG: Checking cache for neuron_neuron_connectivity_query, term_id=VFB_jrchk00s, cache_term_id=VFB_jrchk00s, should_cache=True
216216
DEBUG: Attempting cache lookup for neuron_neuron_connectivity_query(VFB_jrchk00s) with full results
217217
DEBUG: Cache lookup result: True
218-
NeuronNeuronConnectivityQuery: 1.6876s
218+
NeuronNeuronConnectivityQuery: 1.3968s
219219
DEBUG: Checking cache for neuron_region_connectivity_query, term_id=VFB_jrchk00s, cache_term_id=VFB_jrchk00s, should_cache=True
220220
DEBUG: Attempting cache lookup for neuron_region_connectivity_query(VFB_jrchk00s) with full results
221221
DEBUG: Cache lookup result: True
222-
NeuronRegionConnectivityQuery: 1.6846s
222+
NeuronRegionConnectivityQuery: 1.8266s
223223
224224
================================================================================
225225
SIMILARITY QUERIES (Neo4j NBLAST)
@@ -228,17 +228,17 @@ DEBUG: Checking cache for similar_neurons, term_id=VFB_jrchk00s, cache_term_id=V
228228
DEBUG: Attempting cache lookup for similar_neurons(VFB_jrchk00s_score_NBLAST_score) with full results
229229
DEBUG: Cache lookup result: False
230230
✅ Neo4j connection established
231-
SimilarMorphologyTo: 11.2676s
231+
SimilarMorphologyTo: 11.4099s
232232
233233
================================================================================
234234
NEURON INPUT QUERIES (Neo4j)
235235
================================================================================
236-
NeuronInputsTo: 2.8901s
236+
NeuronInputsTo: 3.0852s
237237
238238
================================================================================
239239
EXPRESSION PATTERN QUERIES (Neo4j)
240240
================================================================================
241-
ExpressionOverlapsHere: 1.0867s
241+
ExpressionOverlapsHere: 1.0061s
242242
└─ Found 3922 total expression patterns, returned 10
243243
244244
================================================================================
@@ -252,55 +252,55 @@ test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerf
252252
Test publication and transgene queries ... ok
253253
254254
----------------------------------------------------------------------
255-
Ran 15 tests in 61.479s
255+
Ran 15 tests in 55.919s
256256
257257
OK
258258
================================================================================
259-
anatScRNAseqQuery: 0.9047s
259+
anatScRNAseqQuery: 0.8015s
260260
└─ Found 0 total clusters
261-
clusterExpression: 0.6816s
261+
clusterExpression: 0.7012s
262262
└─ Found 0 genes expressed
263-
expressionCluster: 0.7049s
263+
expressionCluster: 0.5893s
264264
└─ Found 0 clusters expressing gene
265-
scRNAdatasetData: 0.7100s
265+
scRNAdatasetData: 0.7448s
266266
└─ Found 0 clusters in dataset
267267
268268
================================================================================
269269
NBLAST SIMILARITY QUERIES
270270
================================================================================
271-
SimilarMorphologyTo: 0.9707s
271+
SimilarMorphologyTo: 0.9952s
272272
└─ Found 227 NBLAST matches, returned 10
273-
SimilarMorphologyToPartOf: 0.6617s
273+
SimilarMorphologyToPartOf: 0.6012s
274274
└─ Found 0 NBLASTexp matches
275-
SimilarMorphologyToPartOfexp: 0.6609s
275+
SimilarMorphologyToPartOfexp: 0.5246s
276276
└─ Found 0 reverse NBLASTexp matches
277-
SimilarMorphologyToNB: 0.6700s
277+
SimilarMorphologyToNB: 0.5876s
278278
└─ Found 15 NeuronBridge matches, returned 10
279-
SimilarMorphologyToNBexp: 0.6800s
279+
SimilarMorphologyToNBexp: 0.6249s
280280
└─ Found 15 NeuronBridge expression matches, returned 10
281281
✅ All NBLAST similarity queries completed
282282
283283
================================================================================
284284
DATASET/TEMPLATE QUERIES
285285
================================================================================
286-
PaintedDomains: 0.6986s
286+
PaintedDomains: 0.5818s
287287
└─ Found 0 painted domains
288-
DatasetImages: 0.6784s
288+
DatasetImages: 0.7034s
289289
└─ Found 0 images in dataset
290-
AllAlignedImages: 0.6773s
290+
AllAlignedImages: 0.7116s
291291
└─ Found 0 aligned images
292-
AlignedDatasets: 0.9748s
292+
AlignedDatasets: 0.7845s
293293
└─ Found 0 aligned datasets
294-
AllDatasets: 0.9213s
294+
AllDatasets: 0.8413s
295295
└─ Found 115 total datasets, returned 20
296296
✅ All dataset/template queries completed
297297
298298
================================================================================
299299
PUBLICATION/TRANSGENE QUERIES
300300
================================================================================
301-
TermsForPub: 0.6160s
301+
TermsForPub: 0.5378s
302302
└─ Found 0 terms for publication
303-
TransgeneExpressionHere: 0.7910s
303+
TransgeneExpressionHere: 0.6634s
304304
└─ Found 2339 transgene expressions, returned 10
305305
✅ All publication/transgene queries completed
306306
@@ -313,13 +313,10 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
313313
Performance test for specific term info queries. ... ok
314314
315315
----------------------------------------------------------------------
316-
Ran 1 test in 3.372s
316+
Ran 1 test in 2.856s
317317
318318
OK
319319
VFBquery functions patched with caching support
320-
VFBquery: SOLR caching enabled by default (3-month TTL)
321-
Disable with: export VFBQUERY_CACHE_ENABLED=false
322-
VFBquery functions patched with caching support
323320
VFBquery: SOLR caching enabled by default (3-month TTL)
324321
Disable with: export VFBQUERY_CACHE_ENABLED=false
325322
DEBUG: Checking cache for term_info, term_id=FBbt_00003748, cache_term_id=FBbt_00003748_preview_True, should_cache=True
@@ -332,10 +329,10 @@ DEBUG: Cache lookup result: True
332329
==================================================
333330
Performance Test Results:
334331
==================================================
335-
FBbt_00003748 query took: 1.6910 seconds
336-
VFB_00101567 query took: 1.6803 seconds
337-
Total time for both queries: 3.3713 seconds
338-
Performance Level: 🟠 Acceptable (3-6 seconds)
332+
FBbt_00003748 query took: 1.4265 seconds
333+
VFB_00101567 query took: 1.4289 seconds
334+
Total time for both queries: 2.8554 seconds
335+
Performance Level: 🟡 Good (1.5-3 seconds)
339336
==================================================
340337
Performance test completed successfully!
341338
```
@@ -353,4 +350,4 @@ Track performance trends across commits:
353350
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
354351

355352
---
356-
*Last updated: 2025-11-18 20:29:14 UTC*
353+
*Last updated: 2025-11-18 21:49:41 UTC*

0 commit comments

Comments
 (0)