You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
time python -c "from sonic_platform_base.sonic_eeprom.eeprom_tlvinfo import TlvInfoDecoder"
Describe the results you received:
in 2405 it generates 320k func callings:
real 0m0.887s
user 0m0.769s
sys 0m0.116s
whereas in 2311, the above command generates only about 50k func callings:
real 0m0.379s
user 0m0.318s
sys 0m0.060s
From the flame graph it can be seen that pkgresources/setuptools had been called in 2405 but not in 2311, the only difference between them is the python version. 2405 import sonic_platfrom_common flame graph
2311 import sonic_platfrom_common flame graph
Describe the results you expected:
The time should be close between 2311 and 2405
Output of show version:
(paste your output here)
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
Description
Steps to reproduce the issue:
time python -c "from sonic_platform_base.sonic_eeprom.eeprom_tlvinfo import TlvInfoDecoder"
Describe the results you received:
in 2405 it generates 320k func callings:
whereas in 2311, the above command generates only about 50k func callings:
From the flame graph it can be seen that pkgresources/setuptools had been called in 2405 but not in 2311, the only difference between them is the python version.
2405 import sonic_platfrom_common flame graph
2311 import sonic_platfrom_common flame graph
Describe the results you expected:
The time should be close between 2311 and 2405
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: