Skip to content

Commit 3f09175

Browse files
committed
Merge branch 'dev' of https://github.com/VirtualFlyBrain/VFBquery into dev
2 parents 7bb8f0c + 6041b69 commit 3f09175

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

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-19 11:37:58 UTC
4-
**Git Commit:** b7ec9c11bc8ad5bbe5b29bc2bc3d11cb902d3f09
3+
**Test Date:** 2025-11-19 12:01:22 UTC
4+
**Git Commit:** 25928543f1c759514f31bacbe9d8b6612362bcf8
55
**Branch:** dev
6-
**Workflow Run:** [19499939048](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19499939048)
6+
**Workflow Run:** [19500515147](https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19500515147)
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.5919s
122+
get_term_info (mushroom body): 2.6552s
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.1520s
126+
get_term_info (individual): 2.8084s
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_dataframe_False, should_cache=True
132132
DEBUG: Attempting cache lookup for neurons_part_here(FBbt_00007401_dataframe_False) with full results
133133
DEBUG: Cache lookup result: True
134-
NeuronsPartHere: 2.5356s
134+
NeuronsPartHere: 2.9905s
135135
136136
================================================================================
137137
SYNAPTIC TERMINAL QUERIES
138138
================================================================================
139139
DEBUG: Checking cache for neurons_synaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401_dataframe_False, should_cache=True
140140
DEBUG: Attempting cache lookup for neurons_synaptic(FBbt_00007401_dataframe_False) with full results
141141
DEBUG: Cache lookup result: True
142-
NeuronsSynaptic: 2.5372s
142+
NeuronsSynaptic: 2.4257s
143143
DEBUG: Checking cache for neurons_presynaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401_dataframe_False, should_cache=True
144144
DEBUG: Attempting cache lookup for neurons_presynaptic(FBbt_00007401_dataframe_False) with full results
145145
DEBUG: Cache lookup result: True
146-
NeuronsPresynapticHere: 2.1552s
146+
NeuronsPresynapticHere: 2.2086s
147147
DEBUG: Checking cache for neurons_postsynaptic, term_id=FBbt_00007401, cache_term_id=FBbt_00007401_dataframe_False, should_cache=True
148148
DEBUG: Attempting cache lookup for neurons_postsynaptic(FBbt_00007401_dataframe_False) with full results
149149
DEBUG: Cache lookup result: True
150-
NeuronsPostsynapticHere: 2.1832s
150+
NeuronsPostsynapticHere: 2.6456s
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.2534s
154+
NeuronNeuronConnectivity: 2.0174s
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.8852s
162+
ComponentsOf: 2.0057s
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.8743s
166+
PartsOf: 2.0891s
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.8471s
170+
SubclassesOf: 1.9816s
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.8823s
178+
NeuronClassesFasciculatingHere: 1.9893s
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: 2.2979s
182+
TractsNervesInnervatingHere: 2.0149s
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.8734s
186+
LineageClonesIn: 2.0353s
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.8476s
194+
ImagesNeurons: 1.9686s
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.8767s
198+
ImagesThatDevelopFrom: 2.0212s
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.2409s
202+
epFrag: 2.0078s
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.8741s
210+
ListAllAvailableImages: 2.0269s
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.8895s
218+
NeuronNeuronConnectivityQuery: 1.9957s
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: 2.2853s
222+
NeuronRegionConnectivityQuery: 2.0215s
223223
224224
================================================================================
225225
SIMILARITY QUERIES (Neo4j NBLAST)
@@ -228,18 +228,18 @@ DEBUG: Checking cache for similar_neurons, term_id=VFB_jrchk00s, cache_term_id=V
228228
DEBUG: Attempting cache lookup for similar_neurons(VFB_jrchk00s_dataframe_False) with full results
229229
DEBUG: Cache lookup result: True
230230
DEBUG: Sliced cached dict result to 5 rows
231-
SimilarMorphologyTo: 1.0859s
231+
SimilarMorphologyTo: 1.1920s
232232
233233
================================================================================
234234
NEURON INPUT QUERIES (Neo4j)
235235
================================================================================
236236
✅ Neo4j connection established
237-
NeuronInputsTo: 3.3908s
237+
NeuronInputsTo: 3.5662s
238238
239239
================================================================================
240240
EXPRESSION PATTERN QUERIES (Neo4j)
241241
================================================================================
242-
ExpressionOverlapsHere: 0.9510s
242+
ExpressionOverlapsHere: 1.0951s
243243
└─ Found 3922 total expression patterns, returned 10
244244
ok
245245
test_12_nblast_queries (src.test.test_query_performance.QueryPerformanceTest)
@@ -250,58 +250,58 @@ test_14_publication_transgene_queries (src.test.test_query_performance.QueryPerf
250250
Test publication and transgene queries ... ok
251251
252252
----------------------------------------------------------------------
253-
Ran 15 tests in 59.829s
253+
Ran 15 tests in 62.404s
254254
255255
OK
256256
257257
================================================================================
258258
TRANSCRIPTOMICS QUERIES (Neo4j scRNAseq)
259259
================================================================================
260-
anatScRNAseqQuery: 1.1972s
260+
anatScRNAseqQuery: 0.9489s
261261
└─ Found 0 total clusters
262-
clusterExpression: 1.0573s
262+
clusterExpression: 0.8189s
263263
└─ Found 0 genes expressed
264-
expressionCluster: 0.7830s
264+
expressionCluster: 0.8244s
265265
└─ Found 0 clusters expressing gene
266-
scRNAdatasetData: 0.8754s
266+
scRNAdatasetData: 0.9303s
267267
└─ Found 0 clusters in dataset
268268
269269
================================================================================
270270
NBLAST SIMILARITY QUERIES
271271
================================================================================
272-
SimilarMorphologyTo: 1.0362s
272+
SimilarMorphologyTo: 1.4002s
273273
└─ Found 227 NBLAST matches, returned 10
274-
SimilarMorphologyToPartOf: 0.8602s
274+
SimilarMorphologyToPartOf: 0.7579s
275275
└─ Found 0 NBLASTexp matches
276-
SimilarMorphologyToPartOfexp: 0.6944s
276+
SimilarMorphologyToPartOfexp: 0.7674s
277277
└─ Found 0 reverse NBLASTexp matches
278-
SimilarMorphologyToNB: 0.7171s
278+
SimilarMorphologyToNB: 0.7737s
279279
└─ Found 15 NeuronBridge matches, returned 10
280-
SimilarMorphologyToNBexp: 0.8439s
280+
SimilarMorphologyToNBexp: 0.9156s
281281
└─ Found 15 NeuronBridge expression matches, returned 10
282282
✅ All NBLAST similarity queries completed
283283
284284
================================================================================
285285
DATASET/TEMPLATE QUERIES
286286
================================================================================
287-
PaintedDomains: 1.1413s
287+
PaintedDomains: 0.7957s
288288
└─ Found 0 painted domains
289-
DatasetImages: 0.9997s
289+
DatasetImages: 0.9187s
290290
└─ Found 0 images in dataset
291-
AllAlignedImages: 0.7356s
291+
AllAlignedImages: 0.9587s
292292
└─ Found 0 aligned images
293-
AlignedDatasets: 0.9527s
293+
AlignedDatasets: 1.1802s
294294
└─ Found 0 aligned datasets
295-
AllDatasets: 0.9486s
295+
AllDatasets: 0.9988s
296296
└─ Found 115 total datasets, returned 20
297297
✅ All dataset/template queries completed
298298
299299
================================================================================
300300
PUBLICATION/TRANSGENE QUERIES
301301
================================================================================
302-
TermsForPub: 0.6787s
302+
TermsForPub: 0.7389s
303303
└─ Found 0 terms for publication
304-
TransgeneExpressionHere: 0.7941s
304+
TransgeneExpressionHere: 0.9094s
305305
└─ Found 2339 transgene expressions, returned 10
306306
✅ All publication/transgene queries completed
307307
@@ -314,7 +314,7 @@ test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
314314
Performance test for specific term info queries. ... ok
315315
316316
----------------------------------------------------------------------
317-
Ran 1 test in 4.186s
317+
Ran 1 test in 4.054s
318318
319319
OK
320320
VFBquery functions patched with caching support
@@ -330,9 +330,9 @@ DEBUG: Cache lookup result: True
330330
==================================================
331331
Performance Test Results:
332332
==================================================
333-
FBbt_00003748 query took: 1.9114 seconds
334-
VFB_00101567 query took: 2.2739 seconds
335-
Total time for both queries: 4.1854 seconds
333+
FBbt_00003748 query took: 2.0215 seconds
334+
VFB_00101567 query took: 2.0322 seconds
335+
Total time for both queries: 4.0537 seconds
336336
Performance Level: 🟠 Acceptable (3-6 seconds)
337337
==================================================
338338
Performance test completed successfully!
@@ -351,4 +351,4 @@ Track performance trends across commits:
351351
- [GitHub Actions History](https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml)
352352

353353
---
354-
*Last updated: 2025-11-19 11:37:58 UTC*
354+
*Last updated: 2025-11-19 12:01:22 UTC*

0 commit comments

Comments
 (0)