[asterisk-bugs] [JIRA] (ASTERISK-23179) [patch] Formats: allow improved performance in Asterisk 11
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Sat Mar 14 17:44:34 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-23179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Farrell closed ASTERISK-23179.
------------------------------------
Resolution: Won't Fix
I never tried to have this patch to be considered, it was only posted to be available to others.
> [patch] Formats: allow improved performance in Asterisk 11
> ----------------------------------------------------------
>
> Key: ASTERISK-23179
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23179
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Formats/General
> Affects Versions: 11.8.0
> Reporter: Corey Farrell
> Attachments: no-format_attr.patch
>
>
> This ticket is inspired by Josh's email in asterisk-dev, and loosely related to ASTERISK-23114. The purpose of this ticket is to allow significant reduction in the cost of ast_format_cmp in Asterisk 11, without breaking ABI. The patch does nothing unless WITHOUT_FORMAT_ATTR_INTERFACE is defined for main/format.c.
> For those who do not use res_format_attr_*.so, this patch and the define significantly reduce the cost of ast_format_cmp.
> I tested with callgrind, 2 SIP calls at the same time to ConfBridge for 1 minute. No transcoding was done (both channels used slin), debug was set to 1 and verbose set to 6.
> Without the patch or without the define ast_format_cmp represented 26% of the Ir for each channel thread, 11% for the bridge thread. With the patch and define ast_format_cmp was reduced to 1% for each channel, 0.4% for the bridge thread.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list