[Webkit-unassigned] [Bug 146137] New: Object.getOwnPropertySymbols on large list takes very long

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 18 21:18:41 PDT 2015


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

            Bug ID: 146137
           Summary: Object.getOwnPropertySymbols on large list takes very
                    long
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: benjamin at webkit.org, ggaren at apple.com,
                    utatane.tea at gmail.com

* SUMMARY
Object.getOwnPropertySymbols can take a very long time on an object without Symbols but lots of properties. Other browsers take 0ms.

* TEST
<script>
// Likewise with just a large Array...
var buffer = new ArrayBuffer(10000000);
var int8View = new Int8Array(buffer);
var start = Date.now();
var list = Object.getOwnPropertySymbols(int8View);
var end = Date.now();
console.log("Symbols", list, "Time", end-start);
</script>

* NOTES
- Firefox - 0ms
- Chrome - 0ms
- WebKit - 10703ms

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150619/900c3d7a/attachment.html>


More information about the webkit-unassigned mailing list