Skip to content

Commit a744412

Browse files
committed
Merge branch 'dev' of https://github.com/VirtualFlyBrain/VFBquery into dev
2 parents 4225c9c + 28f5ff8 commit a744412

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 20:25:21 UTC
4-
**Git Commit:** 457eabd421032d8e2eedeb9399918250173d5a73
3+
**Test Date:** 2025-11-18 20:29:14 UTC
4+
**Git Commit:** 50f751eebd0049422f9bc6aff48feb986b77d74e
55
**Branch:** dev
6-
**Workflow Run:** [19480153423](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19480153423)
6+
**Workflow Run:** [19480268057](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19480268057)
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): 3.3375s
122+
get_term_info (mushroom body): 2.8356s
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): 2.8910s
126+
get_term_info (individual): 1.6825s
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.3047s
134+
NeuronsPartHere: 2.3842s
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.3913s
142+
NeuronsSynaptic: 2.0558s
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: 2.1570s
146+
NeuronsPresynapticHere: 1.6847s
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: 2.0161s
150+
NeuronsPostsynapticHere: 1.6729s
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: 2.3127s
154+
NeuronNeuronConnectivity: 1.6594s
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: 2.4162s
162+
ComponentsOf: 1.6879s
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: 2.0668s
166+
PartsOf: 1.6824s
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: 2.0267s
170+
SubclassesOf: 1.6760s
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: 2.0152s
178+
NeuronClassesFasciculatingHere: 1.6487s
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.9898s
182+
TractsNervesInnervatingHere: 1.6888s
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: 2.0506s
186+
LineageClonesIn: 1.8182s
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.9976s
194+
ImagesNeurons: 1.6760s
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: 2.0045s
198+
ImagesThatDevelopFrom: 1.6545s
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: 2.0214s
202+
epFrag: 1.6702s
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.9917s
210+
ListAllAvailableImages: 1.6796s
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: 2.0127s
218+
NeuronNeuronConnectivityQuery: 1.6876s
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.9808s
222+
NeuronRegionConnectivityQuery: 1.6846s
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: 13.7892s
231+
SimilarMorphologyTo: 11.2676s
232232
233233
================================================================================
234234
NEURON INPUT QUERIES (Neo4j)
235235
================================================================================
236-
NeuronInputsTo: 3.1779s
236+
NeuronInputsTo: 2.8901s
237237
238238
================================================================================
239239
EXPRESSION PATTERN QUERIES (Neo4j)
240240
================================================================================
241-
ExpressionOverlapsHere: 1.2337s
241+
ExpressionOverlapsHere: 1.0867s
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 74.656s
255+
Ran 15 tests in 61.479s
256256
257257
OK
258258
================================================================================
259-
anatScRNAseqQuery: 0.8218s
259+
anatScRNAseqQuery: 0.9047s
260260
└─ Found 0 total clusters
261-
clusterExpression: 0.8133s
261+
clusterExpression: 0.6816s
262262
└─ Found 0 genes expressed
263-
expressionCluster: 0.9584s
263+
expressionCluster: 0.7049s
264264
└─ Found 0 clusters expressing gene
265-
scRNAdatasetData: 0.8077s
265+
scRNAdatasetData: 0.7100s
266266
└─ Found 0 clusters in dataset
267267
268268
================================================================================
269269
NBLAST SIMILARITY QUERIES
270270
================================================================================
271-
SimilarMorphologyTo: 1.2640s
271+
SimilarMorphologyTo: 0.9707s
272272
└─ Found 227 NBLAST matches, returned 10
273-
SimilarMorphologyToPartOf: 0.9170s
273+
SimilarMorphologyToPartOf: 0.6617s
274274
└─ Found 0 NBLASTexp matches
275-
SimilarMorphologyToPartOfexp: 0.7639s
275+
SimilarMorphologyToPartOfexp: 0.6609s
276276
└─ Found 0 reverse NBLASTexp matches
277-
SimilarMorphologyToNB: 0.9905s
277+
SimilarMorphologyToNB: 0.6700s
278278
└─ Found 15 NeuronBridge matches, returned 10
279-
SimilarMorphologyToNBexp: 0.7805s
279+
SimilarMorphologyToNBexp: 0.6800s
280280
└─ Found 15 NeuronBridge expression matches, returned 10
281281
✅ All NBLAST similarity queries completed
282282
283283
================================================================================
284284
DATASET/TEMPLATE QUERIES
285285
================================================================================
286-
PaintedDomains: 1.0081s
286+
PaintedDomains: 0.6986s
287287
└─ Found 0 painted domains
288-
DatasetImages: 0.7879s
288+
DatasetImages: 0.6784s
289289
└─ Found 0 images in dataset
290-
AllAlignedImages: 0.7794s
290+
AllAlignedImages: 0.6773s
291291
└─ Found 0 aligned images
292-
AlignedDatasets: 1.1047s
292+
AlignedDatasets: 0.9748s
293293
└─ Found 0 aligned datasets
294-
AllDatasets: 1.0412s
294+
AllDatasets: 0.9213s
295295
└─ Found 115 total datasets, returned 20
296296
✅ All dataset/template queries completed
297297
298298
================================================================================
299299
PUBLICATION/TRANSGENE QUERIES
300300
================================================================================
301-
TermsForPub: 0.7466s
301+
TermsForPub: 0.6160s
302302
└─ Found 0 terms for publication
303-
TransgeneExpressionHere: 0.8822s
303+
TransgeneExpressionHere: 0.7910s
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 4.060s
316+
Ran 1 test in 3.372s
317317
318318
OK
319319
VFBquery functions patched with caching support
@@ -332,9 +332,9 @@ DEBUG: Cache lookup result: True
332332
==================================================
333333
Performance Test Results:
334334
==================================================
335-
FBbt_00003748 query took: 2.0446 seconds
336-
VFB_00101567 query took: 2.0152 seconds
337-
Total time for both queries: 4.0598 seconds
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
338338
Performance Level: 🟠 Acceptable (3-6 seconds)
339339
==================================================
340340
Performance test completed successfully!
@@ -353,4 +353,4 @@ Track performance trends across commits:
353353
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
354354

355355
---
356-
*Last updated: 2025-11-18 20:25:21 UTC*
356+
*Last updated: 2025-11-18 20:29:14 UTC*

0 commit comments

Comments
 (0)