<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>113568</bug_id>
          
          <creation_ts>2013-03-29 04:35:15 -0700</creation_ts>
          <short_desc>g_slist_reverse() may not be required in webKitWebAudioSrcLoop</short_desc>
          <delta_ts>2013-03-30 03:39:39 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Audio</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Praveen Jadhav">praveen.j</reporter>
          <assigned_to name="Praveen Jadhav">praveen.j</assigned_to>
          <cc>cdumez</cc>
    
    <cc>crogers</cc>
    
    <cc>dev_sachin</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>feature-media-reviews</cc>
    
    <cc>jer.noble</cc>
    
    <cc>pnormand</cc>
    
    <cc>s.choi</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>866077</commentid>
    <comment_count>0</comment_count>
    <who name="Praveen Jadhav">praveen.j</who>
    <bug_when>2013-03-29 04:35:15 -0700</bug_when>
    <thetext>webKitWebAudioSrcLoop() will be called continuously after AudioContext instance initialization which affects CPU load. Using decrement counter in for loop can reduce no. of instructions generated (when comparison is done with 0 in jump instruction). Also, g_slist_reverse() need not be used in that case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866079</commentid>
    <comment_count>1</comment_count>
      <attachid>195722</attachid>
    <who name="Praveen Jadhav">praveen.j</who>
    <bug_when>2013-03-29 04:43:05 -0700</bug_when>
    <thetext>Created attachment 195722
Patch

Basically, this change reduces the no. of instructions generated for webKitWebAudioSrcLoop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866130</commentid>
    <comment_count>2</comment_count>
      <attachid>195722</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-03-29 06:45:33 -0700</bug_when>
    <thetext>Comment on attachment 195722
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=195722&amp;action=review

Looks good but I&apos;d like to test this patch before landing

&gt; Source/WebCore/ChangeLog:8
&gt; +        Decremental for loop logic implemented to avoid using g_slist_reverse().

This could be expanded a bit, explaining the performance gain.

&gt; Source/WebCore/ChangeLog:10
&gt; +        No new tests (OOPS!).

You&apos;d need to remove this line unless you state the patch is covered by existing webaudio tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866152</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-03-29 07:42:14 -0700</bug_when>
    <thetext>Ok I tested it, if you can improve the ChangeLog a bit it&apos;d be great :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866556</commentid>
    <comment_count>4</comment_count>
    <who name="Praveen Jadhav">praveen.j</who>
    <bug_when>2013-03-29 22:43:07 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 195722 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=195722&amp;action=review
&gt; 
&gt; Looks good but I&apos;d like to test this patch before landing
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:8
&gt; &gt; +        Decremental for loop logic implemented to avoid using g_slist_reverse().
&gt; 
&gt; This could be expanded a bit, explaining the performance gain.

I tested with basic audiocontext with 2 destination channels only(No other nodes webaudio nodes are created). Calculated the time taken to execute webKitWebAudioSrcLoop() for 100000 iteration and the details are as below.

Original code                        - 2.025230 micro seconds
Original code + patch                - 1.964759 micro seconds

Its a small gain indeed, but a gain nevertheless. Given the frequency with which webKitWebAudioSrcLoop() is called, CPU load should decrease a bit.

&gt; 
&gt; &gt; Source/WebCore/ChangeLog:10
&gt; &gt; +        No new tests (OOPS!).
&gt; 
&gt; You&apos;d need to remove this line unless you state the patch is covered by existing webaudio tests.

I will update the patch shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866557</commentid>
    <comment_count>5</comment_count>
      <attachid>195842</attachid>
    <who name="Praveen Jadhav">praveen.j</who>
    <bug_when>2013-03-29 22:49:25 -0700</bug_when>
    <thetext>Created attachment 195842
Patch

Patch updated as per review comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866559</commentid>
    <comment_count>6</comment_count>
    <who name="Praveen Jadhav">praveen.j</who>
    <bug_when>2013-03-29 23:22:16 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #2)
&gt; &gt; (From update of attachment 195722 [details] [details])
&gt; &gt; View in context: https://bugs.webkit.org/attachment.cgi?id=195722&amp;action=review
&gt; &gt; 
&gt; &gt; Looks good but I&apos;d like to test this patch before landing
&gt; &gt; 
&gt; &gt; &gt; Source/WebCore/ChangeLog:8
&gt; &gt; &gt; +        Decremental for loop logic implemented to avoid using g_slist_reverse().
&gt; &gt; 
&gt; &gt; This could be expanded a bit, explaining the performance gain.
&gt; 
&gt; I tested with basic audiocontext with 2 destination channels only(No other nodes webaudio nodes are created). Calculated the time taken to execute webKitWebAudioSrcLoop() for 100000 iteration and the details are as below.
&gt; 
&gt; Original code                        - 2.025230 micro seconds
&gt; Original code + patch                - 1.964759 micro seconds

Correction: it is

Original code                        - 2.025230 micro seconds per function execution
Original code + patch                - 1.964759 micro seconds per function execution

&gt; 
&gt; Its a small gain indeed, but a gain nevertheless. Given the frequency with which webKitWebAudioSrcLoop() is called, CPU load should decrease a bit.
&gt; 
&gt; &gt; 
&gt; &gt; &gt; Source/WebCore/ChangeLog:10
&gt; &gt; &gt; +        No new tests (OOPS!).
&gt; &gt; 
&gt; &gt; You&apos;d need to remove this line unless you state the patch is covered by existing webaudio tests.
&gt; 
&gt; I will update the patch shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866576</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-03-30 01:27:24 -0700</bug_when>
    <thetext>Ok it&apos;s good you made some measurements, can you put this explanation in the ChangeLog itself please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866583</commentid>
    <comment_count>8</comment_count>
    <who name="Soo-Hyun Choi">s.choi</who>
    <bug_when>2013-03-30 01:50:10 -0700</bug_when>
    <thetext>FYI - changed assignee to Praveen Jadhav.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866594</commentid>
    <comment_count>9</comment_count>
      <attachid>195851</attachid>
    <who name="Praveen Jadhav">praveen.j</who>
    <bug_when>2013-03-30 02:56:23 -0700</bug_when>
    <thetext>Created attachment 195851
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866598</commentid>
    <comment_count>10</comment_count>
      <attachid>195851</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-30 03:39:35 -0700</bug_when>
    <thetext>Comment on attachment 195851
Patch

Clearing flags on attachment: 195851

Committed r147278: &lt;http://trac.webkit.org/changeset/147278&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866599</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-30 03:39:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>195722</attachid>
            <date>2013-03-29 04:43:05 -0700</date>
            <delta_ts>2013-03-29 22:49:25 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>WebAudio-113568.txt</filename>
            <type>text/plain</type>
            <size>2310</size>
            <attacher name="Praveen Jadhav">praveen.j</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE0NzIwNSkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE3IEBACisyMDEzLTAzLTI5ICBQcmF2ZWVu
IFIgSmFkaGF2ICA8cHJhdmVlbi5qQHNhbXN1bmcuY29tPgorCisgICAgICAgIGdfc2xpc3RfcmV2
ZXJzZSgpIG1heSBub3QgYmUgcmVxdWlyZWQgaW4gd2ViS2l0V2ViQXVkaW9TcmNMb29wCisgICAg
ICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTM1NjgKKworICAg
ICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBEZWNyZW1lbnRhbCBm
b3IgbG9vcCBsb2dpYyBpbXBsZW1lbnRlZCB0byBhdm9pZCB1c2luZyBnX3NsaXN0X3JldmVyc2Uo
KS4KKworICAgICAgICBObyBuZXcgdGVzdHMgKE9PUFMhKS4KKworICAgICAgICAqIHBsYXRmb3Jt
L2F1ZGlvL2dzdHJlYW1lci9XZWJLaXRXZWJBdWRpb1NvdXJjZUdTdHJlYW1lci5jcHA6CisgICAg
ICAgICh3ZWJLaXRXZWJBdWRpb1NyY0xvb3ApOgorCiAyMDEzLTAzLTI5ICBLZWlzaGkgSGF0dG9y
aSAgPGtlaXNoaUB3ZWJraXQub3JnPgogCiAgICAgICAgIEFkZCB0aGUgZXZlbnQgaGFuZGx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AgICAgICAgY2hhbm5lbEJ1ZmZlckxpc3QgPSBnX3NsaXN0X3ByZXBlbmQoY2hhbm5lbEJ1ZmZl
ckxpc3QsIGNoYW5uZWxCdWZmZXIpOwpAQCAtMzY4LDEyICszNjgsMTEgQEAgc3RhdGljIHZvaWQg
d2ViS2l0V2ViQXVkaW9TcmNMb29wKFdlYktpdAogICAgICAgICBwcml2LT5idXMtPnNldENoYW5u
ZWxNZW1vcnkoaSwgcmVpbnRlcnByZXRfY2FzdDxmbG9hdCo+KEdTVF9CVUZGRVJfREFUQShjaGFu
bmVsQnVmZmVyKSksIHByaXYtPmZyYW1lc1RvUHVsbCk7CiAjZW5kaWYKICAgICB9Ci0gICAgY2hh
bm5lbEJ1ZmZlckxpc3QgPSBnX3NsaXN0X3JldmVyc2UoY2hhbm5lbEJ1ZmZlckxpc3QpOwogCiAg
ICAgLy8gRklYTUU6IEFkZCBzdXBwb3J0IGZvciBsb2NhbC9saXZlIGF1ZGlvIGlucHV0LgogICAg
IHByaXYtPnByb3ZpZGVyLT5yZW5kZXIoMCwgcHJpdi0+YnVzLCBwcml2LT5mcmFtZXNUb1B1bGwp
OwogCi0gICAgZm9yICh1bnNpZ25lZCBpID0gMDsgaSA8IGdfc2xpc3RfbGVuZ3RoKHByaXYtPnBh
ZHMpOyBpKyspIHsKKyAgICBmb3IgKGludCBpID0gZ19zbGlzdF9sZW5ndGgocHJpdi0+cGFkcykg
LSAxOyBpID49IDA7IGktLSkgewogICAgICAgICBHc3RQYWQqIHBhZCA9IHN0YXRpY19jYXN0PEdz
dFBhZCo+KGdfc2xpc3RfbnRoX2RhdGEocHJpdi0+cGFkcywgaSkpOwogICAgICAgICBHc3RCdWZm
ZXIqIGNoYW5uZWxCdWZmZXIgPSBzdGF0aWNfY2FzdDxHc3RCdWZmZXIqPihnX3NsaXN0X250aF9k
YXRhKGNoYW5uZWxCdWZmZXJMaXN0LCBpKSk7CiAK
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>195842</attachid>
            <date>2013-03-29 22:49:25 -0700</date>
            <delta_ts>2013-03-30 02:56:23 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>WebAudio-113568.txt</filename>
            <type>text/plain</type>
            <size>2340</size>
            <attacher name="Praveen Jadhav">praveen.j</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE0NzIwNSkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE3IEBACisyMDEzLTAzLTI5ICBQcmF2ZWVu
IFIgSmFkaGF2ICA8cHJhdmVlbi5qQHNhbXN1bmcuY29tPgorCisgICAgICAgIGdfc2xpc3RfcmV2
ZXJzZSgpIG1heSBub3QgYmUgcmVxdWlyZWQgaW4gd2ViS2l0V2ViQXVkaW9TcmNMb29wCisgICAg
ICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTM1NjgKKworICAg
ICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBEZWNyZW1lbnRhbCAn
Zm9yJyBsb29wIGxvZ2ljIGltcGxlbWVudGVkIHRvIGF2b2lkIHVzaW5nIGdfc2xpc3RfcmV2ZXJz
ZSgpLgorCisgICAgICAgIFRoaXMgcGF0Y2ggaXMgY292ZXJlZCBieSBleGlzdGluZyB3ZWJhdWRp
byB0ZXN0cy4KKworICAgICAgICAqIHBsYXRmb3JtL2F1ZGlvL2dzdHJlYW1lci9XZWJLaXRXZWJB
dWRpb1NvdXJjZUdTdHJlYW1lci5jcHA6CisgICAgICAgICh3ZWJLaXRXZWJB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IgPSBzdGF0aWNf
Y2FzdDxHc3RCdWZmZXIqPihnX3NsaXN0X250aF9kYXRhKGNoYW5uZWxCdWZmZXJMaXN0LCBpKSk7
CiAK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>195851</attachid>
            <date>2013-03-30 02:56:23 -0700</date>
            <delta_ts>2013-03-30 03:39:35 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>WebAudio-113568.txt</filename>
            <type>text/plain</type>
            <size>2478</size>
            <attacher name="Praveen Jadhav">praveen.j</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE0NzIwNSkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDIwIEBACisyMDEzLTAzLTI5ICBQcmF2ZWVu
IFIgSmFkaGF2ICA8cHJhdmVlbi5qQHNhbXN1bmcuY29tPgorCisgICAgICAgIGdfc2xpc3RfcmV2
ZXJzZSgpIG1heSBub3QgYmUgcmVxdWlyZWQgaW4gd2ViS2l0V2ViQXVkaW9TcmNMb29wCisgICAg
ICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTM1NjgKKworICAg
ICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBEZWNyZW1lbnRhbCAn
Zm9yJyBsb29wIGxvZ2ljIGltcGxlbWVudGVkIHRvIGF2b2lkIHVzaW5nIGdfc2xpc3RfcmV2ZXJz
ZSgpLgorCisgICAgICAgIE9yaWdpbmFsIGNvZGUgICAgICAgICAgICAtIDIuMDI1MjMwIG1pY3J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