New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translate.c: implement new direct comp table mode #585
Conversation
CLA has not been signed, so this can't be reviewed yet. However, I'm curious what one is supposed to make of "999999". It's not clear how that should be interpreted, or if that is even correct. |
CLA still pending, probably can get this by next week. about the 999999: this is due to the Suggestion as both the 0 values and the 999999 values have no actual meaning in the context of evaluating the computational time in this table:
|
Please note the alaw/ulaw and ulaw/alaw costs in the table come from a new direct alaw/ulaw|ulaw/alaw transcoder in my local environment, which runs 50% faster than the existing "A-law and Mulaw direct Coder/Decoder". (part of next patches)
|
A few things you need to do...
See |
@gtjoseph
Not sure about the following, do you do the squashing when you merge the PR?
about the cherry picking: Since it is a new feature i assume this is not backported to any previous versions but only is merged against the master branch for the next version, right? |
You still need to update the PR description and the commit message so you need to add
This allows the automation to automatically close the issue when this PR merges and also tie the issue and commit together in the change logs.
Nope. The automated process that does the merges doesn't squash (for many reasons) so you need to squash the commits yourself and do a force push.
If the change is a major one or one that breaks some existing behavior then yes, it'd be master-only. Most new features though are fine to backport into the currently supported branches which, at the present time, are 18, 20 and 21. |
@gtjoseph |
You're getting closer but the "Resolves" line needs to be in the PR description, not the summary, and the cherry-pick lines need to be by themselves in a separate comment. I'll fix both for you but keep this in mind if you should create more PRs. |
cherry-pick-to: 18 |
Thanks @gtjoseph, will keep that in mind for future pull requests |
The new mode lists for each codec translation the actual real cost in cpu microseconds per second translated audio. This allows to compare the real cpu usage of translations and helps in evaluation of codec implementation changes regarding performance (regression testing). - add new table mode - hide the 999999 comp values, as these only indicate an issue with transcoding - hide the 0 values, as these also do not contain any information (only indicate a multistep transcoding) Resolves: asterisk#601
ea8ead4
into
asterisk:master
Successfully merged to branch master and cherry-picked to ["18","20","21"] |
The new mode gives for each codec translation the actual real cost of microseconds per second cpu time taken. This allows to compare actual real cpu usage of translations and helps in evaluation of codec implementation changes regarding performance (regression testing)
sample output:
Resolves: #601