[asterisk-bugs] [JIRA] (ASTERISK-24974) Astobj2: Allow reference debugging to be enabled/disabled by config.
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Jul 27 10:24:11 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-24974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-24974:
-------------------------------------
Target Release Version/s: 14.0.0
> Astobj2: Allow reference debugging to be enabled/disabled by config.
> --------------------------------------------------------------------
>
> Key: ASTERISK-24974
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24974
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Core/AstMM
> Affects Versions: SVN
> Reporter: Corey Farrell
> Assignee: Corey Farrell
> Severity: Minor
> Target Release: 14.0.0
>
>
> This patch has rippled out from the original goal of getting better error messages from {{INTERNAL_OBJ}}. I found that providing only a REF_DEBUG version of __ao2_ref and __ao2_alloc resulted in faster performance, so I've expanded this to all code with REF_DEBUG dual ABI. REF_DEBUG no longer has an effect on ABI, it is only used to set reference debugging to enabled by default. Reference debugging can be controlled in asterisk.conf, refdebug=yes|no in the options section.
> Test runs of {{/main/astobj2/perf}}:
> ||Branch||Runtimes (ms)||Average||
> |{{master}}|54133, 54045, 53753, 53731, 53692|53870|
> |{{patch4}}|53585, 53353, 53216, 53258, 53264|53335|
> |{{patch5}}|52455, 52537, 52557, 52663, 52689|52580|
> All test runs were done on my Linux Mint 17 workstation, with reference debugging disabled. I watched TV during each run to ensure I wouldn't do anything to effect system load. patch4 is the original scope of changes to __ao2_ref and __ao2_alloc, INTERNAL_OBJ and is_ao2_object. patch5 is the full removal of REF_DEBUG dual ABI.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list