[Webkit-unassigned] [Bug 98898] New: Partial support of 'typeof' node in DFG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 10 06:56:48 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=98898

           Summary: Partial support of 'typeof' node in DFG
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: valery.ignatyev at ispras.ru


Allows to apply DFG on functions with typeof. Replace Typeof DFG node with appropriate constant using profile data.
Atrificial example:
function f() {
    var i,s;
    for (i = 0; i < 1000000000; i++) {
      var k = [];
        s = typeof(k);
    }
  return s;
}

without patch
real    0m51.053s
user    0m50.963s
sys    0m0.068s

with patch
real    0m1.960s
user    0m1.948s
sys    0m0.008s

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list