[wpt-sync] Sync PR 18817 - Add a relaxedDurability option to IDBDatabase transaction
Categories
(Core :: Storage: IndexedDB, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 18817 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/18817
Details from upstream follow.
Adrienne Walker <enne@chromium.org> wrote:
Add a relaxedDurability option to IDBDatabase transaction
This plumbs a new optional relaxedDurability flag from the IDBDatabase
transaction web api in the renderer to the IndexedDBBackingStore
in the browser.Flushing after every file write is very expensive and burns power,
and so it's desirable to eventually experiment with turning this
option off by default. It is currently implicitly on. This patch
doesn't change the default, but only exposes the option.Results from my local Linux machine on the issue 785305 test case:
num | master | patch
------+-----------+---------
1000 | 41386 ms | 1843 ms
5100 | 214892 ms | 14283 ms
10000 | 423271 ms | 34271 msThis test case had extremely variable output times, but this seems
to be about a 10x performance improvement on that test case.Bug: 965883, 785305
Change-Id: Id54b65bd462f0983f8af44abc26575135d35f535
Reviewed-on: https://chromium-review.googlesource.com/1775557
WPT-Export-Revision: 0c6c4b19971e4c3678cf3121c374fa20d418cdc6
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=15232034a24a6a420648cb224a688c93e5b9d756
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=9ee5700b7f29c643c5829680c87090736d74622c
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=3997425f19c1f42af422c0de722f62d88b7eb345
Assignee | ||
Comment 4•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=650e0cda231789a90522bcd1717c135ca741f6b9
Assignee | ||
Comment 5•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=3882cd4992dabead566d8cd486f478bfda571e3c
Assignee | ||
Comment 6•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=77d1be75bfd0fb674b922f52d0c7a8f19391965b
Assignee | ||
Comment 7•5 years ago
|
||
Ran 2 tests and 8 subtests OK : 2 PASS : 8
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/f0869c0cc3f3 [wpt PR 18817] - Add a relaxedDurability option to IDBDatabase transaction, a=testonly
Comment 9•5 years ago
|
||
bugherder |
Description
•