11# VFBquery Performance Test Results
22
3- ** Test Date:** 2025-11-12 03:07:46 UTC
4- ** Git Commit:** cdcbf0fb6c338a74258bc62b18ba016c34f8ac98
3+ ** Test Date:** 2025-11-13 03:10:28 UTC
4+ ** Git Commit:** 1040f305f9e0cc94d644ce26e82df68e00c7f079
55** Branch:** main
6- ** Workflow Run:** [ 19285019327 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19285019327 )
6+ ** Workflow Run:** [ 19319202253 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19319202253 )
77
88## Test Overview
99
@@ -50,10 +50,10 @@ Test term info query performance
5050Traceback (most recent call last):
5151 File "/home/runner/work/VFBquery/VFBquery/src/test/test_query_performance.py", line 94, in test_01_term_info_queries
5252 self.assertLess(duration, self.THRESHOLD_MEDIUM, "term_info query exceeded threshold")
53- AssertionError: 8.409825801849365 not less than 3.0 : term_info query exceeded threshold
53+ AssertionError: 12.69656229019165 not less than 3.0 : term_info query exceeded threshold
5454
5555----------------------------------------------------------------------
56- Ran 6 tests in 16.064s
56+ Ran 6 tests in 25.246s
5757
5858FAILED (failures=1)
5959VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
@@ -65,62 +65,52 @@ VFBquery: Caching enabled by default (3-month TTL, 2GB memory)
6565TERM INFO QUERIES
6666================================================================================
6767DEBUG: Cache lookup for FBbt_00003748: MISS
68- get_term_info (mushroom body): 8.4098s ✅
68+ get_term_info (mushroom body): 12.6966s ✅
6969
7070================================================================================
7171NEURON PART OVERLAP QUERIES
7272================================================================================
73- NeuronsPartHere: 0.6982s ✅
73+ NeuronsPartHere: 1.1397s ✅
7474
7575================================================================================
7676SYNAPTIC TERMINAL QUERIES
7777================================================================================
78- NeuronsSynaptic: 0.6855s ✅
79- NeuronsPresynapticHere: 0.8893s ✅
80- NeuronsPostsynapticHere: 0.6459s ✅
78+ NeuronsSynaptic: 1.4513s ✅
79+ NeuronsPresynapticHere: 0.9791s ✅
80+ NeuronsPostsynapticHere: 1.1147s ✅
8181
8282================================================================================
8383ANATOMICAL HIERARCHY QUERIES
8484================================================================================
85- ComponentsOf: 0.7198s ✅
86- PartsOf: 0.5539s ✅
87- SubclassesOf: 0.5519s ✅
85+ ComponentsOf: 0.9237s ✅
86+ PartsOf: 0.9482s ✅
87+ SubclassesOf: 0.9327s ✅
8888
8989================================================================================
9090NEW QUERIES (2025)
9191================================================================================
92- NeuronClassesFasciculatingHere: 0.7016s ✅
93- TractsNervesInnervatingHere: 0.5560s ✅
94- LineageClonesIn: 0.5507s ✅
95- ImagesNeurons: 0.5507s ✅
92+ NeuronClassesFasciculatingHere: 1.2333s ✅
93+ TractsNervesInnervatingHere: 0.9584s ✅
94+ LineageClonesIn: 0.9776s ✅
95+ ImagesNeurons: 0.9519s ✅
9696
9797================================================================================
9898INSTANCE QUERIES
9999================================================================================
100- ListAllAvailableImages: 0.5496s ✅
100+ ListAllAvailableImages: 0.9373s ✅
101101
102102================================================================================
103103PERFORMANCE TEST SUMMARY
104104================================================================================
105105All performance tests completed!
106106================================================================================
107107test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
108- Performance test for specific term info queries. ... Cached result incomplete for FBbt_00003748, re-executing function
109- FAIL
108+ Performance test for specific term info queries. ... ok
110109
111- ======================================================================
112- FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
113- Performance test for specific term info queries.
114110----------------------------------------------------------------------
115- Traceback (most recent call last):
116- File "/home/runner/work/VFBquery/VFBquery/src/test/term_info_queries_test.py", line 575, in test_term_info_performance
117- self.assertLess(duration_1, max_single_query_time,
118- AssertionError: 7.857726812362671 not less than 3.0 : FBbt_00003748 query took 7.8577s, exceeding 3.0s threshold
111+ Ran 1 test in 2.096s
119112
120- ----------------------------------------------------------------------
121- Ran 1 test in 8.418s
122-
123- FAILED (failures=1)
113+ OK
124114VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
125115VFBquery functions patched with caching support
126116VFBquery: Caching enabled by default (3-month TTL, 2GB memory)
@@ -133,11 +123,12 @@ VFBquery: Caching enabled by default (3-month TTL, 2GB memory)
133123==================================================
134124Performance Test Results:
135125==================================================
136- FBbt_00003748 query took: 7.8577 seconds
137- VFB_00101567 query took: 0.5598 seconds
138- Total time for both queries: 8.4175 seconds
139- Performance Level: 🔴 Slow (> 6 seconds)
126+ FBbt_00003748 query took: 1.1483 seconds
127+ VFB_00101567 query took: 0.9475 seconds
128+ Total time for both queries: 2.0958 seconds
129+ Performance Level: 🟡 Good (1.5-3 seconds)
140130==================================================
131+ Performance test completed successfully!
141132```
142133
143134## Summary
@@ -153,4 +144,4 @@ Track performance trends across commits:
153144- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
154145
155146---
156- * Last updated: 2025-11-12 03:07:46 UTC*
147+ * Last updated: 2025-11-13 03:10:28 UTC*
0 commit comments