Skip to content

Commit 2f8c023

Browse files
committed
Merge branch 'dev' of https://github.com/VirtualFlyBrain/VFBquery into dev
2 parents 01cc1d9 + b19bc31 commit 2f8c023

1 file changed

Lines changed: 47 additions & 47 deletions

File tree

performance.md

Lines changed: 47 additions & 47 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 21:49:41 UTC
4-
**Git Commit:** a744412011eb430a9ba192bd8192ab44af11eb13
3+
**Test Date:** 2025-11-18 22:27:31 UTC
4+
**Git Commit:** 5adb36b3ffc2cfa0a8b332a3c687882db358c769
55
**Branch:** dev
6-
**Workflow Run:** [19481459888](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19481459888)
6+
**Workflow Run:** [19482473210](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19482473210)
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.1569s
122+
get_term_info (mushroom body): 1.8164s
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.7873s
126+
get_term_info (individual): 1.8690s
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: 1.5837s
134+
NeuronsPartHere: 1.4803s
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: 1.8850s
142+
NeuronsSynaptic: 1.6863s
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.5158s
146+
NeuronsPresynapticHere: 1.6317s
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.4079s
150+
NeuronsPostsynapticHere: 1.5667s
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.4948s
154+
NeuronNeuronConnectivity: 1.5750s
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.3817s
162+
ComponentsOf: 1.3865s
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.4302s
166+
PartsOf: 1.4889s
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.4142s
170+
SubclassesOf: 1.3700s
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.3930s
178+
NeuronClassesFasciculatingHere: 1.3649s
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.6265s
182+
TractsNervesInnervatingHere: 1.3648s
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.4079s
186+
LineageClonesIn: 1.3709s
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.4136s
194+
ImagesNeurons: 1.3603s
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.4298s
198+
ImagesThatDevelopFrom: 1.3780s
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.4533s
202+
epFrag: 1.3845s
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.4164s
210+
ListAllAvailableImages: 1.3774s
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.3968s
218+
NeuronNeuronConnectivityQuery: 1.4409s
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.8266s
222+
NeuronRegionConnectivityQuery: 1.4440s
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.4099s
231+
SimilarMorphologyTo: 10.7987s
232232
233233
================================================================================
234234
NEURON INPUT QUERIES (Neo4j)
235235
================================================================================
236-
NeuronInputsTo: 3.0852s
236+
NeuronInputsTo: 2.6824s
237237
238238
================================================================================
239239
EXPRESSION PATTERN QUERIES (Neo4j)
240240
================================================================================
241-
ExpressionOverlapsHere: 1.0061s
241+
ExpressionOverlapsHere: 0.8197s
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 55.919s
255+
Ran 15 tests in 53.480s
256256
257257
OK
258258
================================================================================
259-
anatScRNAseqQuery: 0.8015s
259+
anatScRNAseqQuery: 0.7011s
260260
└─ Found 0 total clusters
261-
clusterExpression: 0.7012s
261+
clusterExpression: 0.6875s
262262
└─ Found 0 genes expressed
263-
expressionCluster: 0.5893s
263+
expressionCluster: 0.6768s
264264
└─ Found 0 clusters expressing gene
265-
scRNAdatasetData: 0.7448s
265+
scRNAdatasetData: 0.6113s
266266
└─ Found 0 clusters in dataset
267267
268268
================================================================================
269269
NBLAST SIMILARITY QUERIES
270270
================================================================================
271-
SimilarMorphologyTo: 0.9952s
271+
SimilarMorphologyTo: 0.9362s
272272
└─ Found 227 NBLAST matches, returned 10
273-
SimilarMorphologyToPartOf: 0.6012s
273+
SimilarMorphologyToPartOf: 0.5710s
274274
└─ Found 0 NBLASTexp matches
275-
SimilarMorphologyToPartOfexp: 0.5246s
275+
SimilarMorphologyToPartOfexp: 0.5669s
276276
└─ Found 0 reverse NBLASTexp matches
277-
SimilarMorphologyToNB: 0.5876s
277+
SimilarMorphologyToNB: 0.6223s
278278
└─ Found 15 NeuronBridge matches, returned 10
279-
SimilarMorphologyToNBexp: 0.6249s
279+
SimilarMorphologyToNBexp: 0.5490s
280280
└─ Found 15 NeuronBridge expression matches, returned 10
281281
✅ All NBLAST similarity queries completed
282282
283283
================================================================================
284284
DATASET/TEMPLATE QUERIES
285285
================================================================================
286-
PaintedDomains: 0.5818s
286+
PaintedDomains: 0.7670s
287287
└─ Found 0 painted domains
288-
DatasetImages: 0.7034s
288+
DatasetImages: 0.5738s
289289
└─ Found 0 images in dataset
290-
AllAlignedImages: 0.7116s
290+
AllAlignedImages: 0.5723s
291291
└─ Found 0 aligned images
292-
AlignedDatasets: 0.7845s
292+
AlignedDatasets: 0.8204s
293293
└─ Found 0 aligned datasets
294-
AllDatasets: 0.8413s
294+
AllDatasets: 0.9009s
295295
└─ Found 115 total datasets, returned 20
296296
✅ All dataset/template queries completed
297297
298298
================================================================================
299299
PUBLICATION/TRANSGENE QUERIES
300300
================================================================================
301-
TermsForPub: 0.5378s
301+
TermsForPub: 0.5274s
302302
└─ Found 0 terms for publication
303-
TransgeneExpressionHere: 0.6634s
303+
TransgeneExpressionHere: 0.7348s
304304
└─ Found 2339 transgene expressions, returned 10
305305
✅ All publication/transgene queries completed
306306
@@ -313,7 +313,7 @@ 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 2.856s
316+
Ran 1 test in 2.836s
317317
318318
OK
319319
VFBquery functions patched with caching support
@@ -329,9 +329,9 @@ DEBUG: Cache lookup result: True
329329
==================================================
330330
Performance Test Results:
331331
==================================================
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
332+
FBbt_00003748 query took: 1.4534 seconds
333+
VFB_00101567 query took: 1.3826 seconds
334+
Total time for both queries: 2.8360 seconds
335335
Performance Level: 🟡 Good (1.5-3 seconds)
336336
==================================================
337337
Performance test completed successfully!
@@ -350,4 +350,4 @@ Track performance trends across commits:
350350
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
351351

352352
---
353-
*Last updated: 2025-11-18 21:49:41 UTC*
353+
*Last updated: 2025-11-18 22:27:31 UTC*

0 commit comments

Comments
 (0)