[Webkit-unassigned] [Bug 132047] New: Sunspider 1.0.2 - date-format-tofte getting bad results in chrome, compared with other browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 23 01:10:04 PDT 2014


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

           Summary: Sunspider 1.0.2 - date-format-tofte getting bad
                    results in chrome, compared with other browsers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beni.duca at jumpeye.com


Created an attachment (id=229962)
 --> (https://bugs.webkit.org/attachment.cgi?id=229962&action=review)
Fix to date-format-tofte test

It seems that chrome 34 (also previous versions) is getting really bad results compared with other browsers. Here is a benchmark result : http://screencast.com/t/ljWBY5x6i

I investigated the problem and seems that "date-format-tofte" is using the "eval" method in its code to call some functions. I think this is not a test for evaluating the "eval" method(Anyway is a bad habit and not recommended to use it. ), so it should be approach differently. I attached a slightly different  version of the test, which fixed that issue. Hope it helps.

-- 
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