11# VFBquery Performance Test Results
22
3- ** Test Date:** 2025-11-10 03:14:54 UTC
4- ** Git Commit:** 093a983f213701929365b1c10ab2e620d151c64b
3+ ** Test Date:** 2025-11-11 03:09:18 UTC
4+ ** Git Commit:** f5bdc08b4cb9d9cfd948794c3f56f60a111aa58a
55** Branch:** main
6- ** Workflow Run:** [ 19219404018 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19219404018 )
6+ ** Workflow Run:** [ 19253597966 ] ( https://github.com/VirtualFlyBrain/VFBquery/actions/runs/19253597966 )
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: 17.631397008895874 not less than 3.0 : term_info query exceeded threshold
53+ AssertionError: 10.903362512588501 not less than 3.0 : term_info query exceeded threshold
5454
5555----------------------------------------------------------------------
56- Ran 6 tests in 29.451s
56+ Ran 6 tests in 22.578s
5757
5858FAILED (failures=1)
5959VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
@@ -65,52 +65,62 @@ 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): 17.6314s ✅
68+ get_term_info (mushroom body): 10.9034s ✅
6969
7070================================================================================
7171NEURON PART OVERLAP QUERIES
7272================================================================================
73- NeuronsPartHere: 1.0982s ✅
73+ NeuronsPartHere: 1.3452s ✅
7474
7575================================================================================
7676SYNAPTIC TERMINAL QUERIES
7777================================================================================
78- NeuronsSynaptic: 1.0791s ✅
79- NeuronsPresynapticHere: 0.8780s ✅
80- NeuronsPostsynapticHere: 1.0242s ✅
78+ NeuronsSynaptic: 1.0755s ✅
79+ NeuronsPresynapticHere: 1.1399s ✅
80+ NeuronsPostsynapticHere: 1.0366s ✅
8181
8282================================================================================
8383ANATOMICAL HIERARCHY QUERIES
8484================================================================================
85- ComponentsOf: 0.8908s ✅
86- PartsOf: 1.3769s ✅
87- SubclassesOf: 0.8706s ✅
85+ ComponentsOf: 0.8737s ✅
86+ PartsOf: 0.8886s ✅
87+ SubclassesOf: 0.8690s ✅
8888
8989================================================================================
9090NEW QUERIES (2025)
9191================================================================================
92- NeuronClassesFasciculatingHere: 1.0393s ✅
93- TractsNervesInnervatingHere: 0.8881s ✅
94- LineageClonesIn: 0.8939s ✅
95- ImagesNeurons: 0.8792s ✅
92+ NeuronClassesFasciculatingHere: 0.8855s ✅
93+ TractsNervesInnervatingHere: 0.8834s ✅
94+ LineageClonesIn: 0.8973s ✅
95+ ImagesNeurons: 0.8828s ✅
9696
9797================================================================================
9898INSTANCE QUERIES
9999================================================================================
100- ListAllAvailableImages: 0.9001s ✅
100+ ListAllAvailableImages: 0.8958s ✅
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. ... ok
108+ Performance test for specific term info queries. ... Cached result incomplete for FBbt_00003748, re-executing function
109+ FAIL
109110
111+ ======================================================================
112+ FAIL: test_term_info_performance (src.test.term_info_queries_test.TermInfoQueriesTest)
113+ Performance test for specific term info queries.
110114----------------------------------------------------------------------
111- Ran 1 test in 1.785s
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: 10.468158960342407 not less than 3.0 : FBbt_00003748 query took 10.4682s, exceeding 3.0s threshold
112119
113- OK
120+ ----------------------------------------------------------------------
121+ Ran 1 test in 11.370s
122+
123+ FAILED (failures=1)
114124VFBquery caching enabled: TTL=2160h (90 days), Memory=2048MB
115125VFBquery functions patched with caching support
116126VFBquery: Caching enabled by default (3-month TTL, 2GB memory)
@@ -123,12 +133,11 @@ VFBquery: Caching enabled by default (3-month TTL, 2GB memory)
123133==================================================
124134Performance Test Results:
125135==================================================
126- FBbt_00003748 query took: 0.8927 seconds
127- VFB_00101567 query took: 0.8925 seconds
128- Total time for both queries: 1.7851 seconds
129- Performance Level: 🟡 Good (1.5-3 seconds)
136+ FBbt_00003748 query took: 10.4682 seconds
137+ VFB_00101567 query took: 0.9015 seconds
138+ Total time for both queries: 11.3696 seconds
139+ Performance Level: 🔴 Slow (> 6 seconds)
130140==================================================
131- Performance test completed successfully!
132141```
133142
134143## Summary
@@ -144,4 +153,4 @@ Track performance trends across commits:
144153- [ GitHub Actions History] ( https://github.com/VirtualFlyBrain/VFBquery/actions/workflows/performance-test.yml )
145154
146155---
147- * Last updated: 2025-11-10 03:14:54 UTC*
156+ * Last updated: 2025-11-11 03:09:18 UTC*
0 commit comments