[Webkit-unassigned] [Bug 167616] New: Performance test IndexedDB/large-binary-keys.html creates a DB of more than 6GB

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 30 17:07:01 PST 2017


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

            Bug ID: 167616
           Summary: Performance test IndexedDB/large-binary-keys.html
                    creates a DB of more than 6GB
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: achristensen at apple.com, beidson at apple.com,
                    bugs-noreply at webkitgtk.org, lforschler at apple.com
            Blocks: 165567

The Performance test IndexedDB/large-binary-keys.html was timing out on the GTK+ performance bot since it was added on https://trac.webkit.org/changeset/209499.

The main reason was that our Performance bot was using a dedicated /tmp volume with 2GB of space, and this test requires at least ~ 6.5 GB of free disk space on /tmp to successfully run.

$ du -hs /tmp/WebKitTestRunner-pGQSwk
6.6G    /tmp/WebKitTestRunner-pGQSwk

$ find /tmp/WebKitTestRunner-pGQSwk
/tmp/WebKitTestRunner-pGQSwk
/tmp/WebKitTestRunner-pGQSwk/LocalStorage
/tmp/WebKitTestRunner-pGQSwk/Databases
/tmp/WebKitTestRunner-pGQSwk/Databases/IndexedDB
/tmp/WebKitTestRunner-pGQSwk/Databases/IndexedDB/file__0
/tmp/WebKitTestRunner-pGQSwk/Databases/IndexedDB/file__0/large-string-keys-DB-0
/tmp/WebKitTestRunner-pGQSwk/Databases/IndexedDB/file__0/large-string-keys-DB-0/IndexedDB.sqlite3-wal
/tmp/WebKitTestRunner-pGQSwk/Databases/IndexedDB/file__0/large-string-keys-DB-0/IndexedDB.sqlite3-shm
/tmp/WebKitTestRunner-pGQSwk/Databases/IndexedDB/file__0/large-string-keys-DB-0/IndexedDB.sqlite3
/tmp/WebKitTestRunner-pGQSwk/Cache
/tmp/WebKitTestRunner-pGQSwk/Cache/Version 11
/tmp/WebKitTestRunner-pGQSwk/Cache/Version 11/Blobs
/tmp/WebKitTestRunner-pGQSwk/Cache/Version 11/salt


$ ls -1sh /tmp/WebKitTestRunner-pGQSwk/Databases/IndexedDB/file__0/large-string-keys-DB-0
total 6.6G
201M IndexedDB.sqlite3
 50M IndexedDB.sqlite3-shm
6.3G IndexedDB.sqlite3-wal


I have already fixed the issue with getting out of space on the GTK+ perf bot. It has now 30GB for /tmp that should be enough.

So, I open this bug mainly to ask if testing the performance on such monster databases (6.6GB) is something representative of real world use cases or it is something worth testing?

The test also takes a lot to complete, between 30 and 45 minutes.

-- 
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/20170131/cc6c5125/attachment.html>


More information about the webkit-unassigned mailing list