Intent to Implement: Private Browsing Storage (IndexedDB, Blobs, etc)

2016-12-13 Thread Kyle Machulis
In bug 781982, we're planning on implementing IndexedDB capabilities in
Private Browsing Mode.

The current plan is to:

- Store IDB databases, minus blobs, in memory for the lifetime of the
private browsing session
- Store blobs to disk, encrypted via a key that is only held in memory
during the private browsing session. We'll clean up encrypted blobs on disk
at the end of the private browsing session, or on next startup if there is
a crash.

One of the main reasons of this design is games. Apparently we've gotten a
lot of requests for being able to play games in private browsing mode, and
storing blobs for game assets in memory would quickly eat through whatever
probably conservative memory budget we would allocate. However, there's
been some pushback on the idea of storing anything to disk while in private
browsing mode, so we'd like to get some input about this.

AFAIK, Chrome's strategy for this is to just store everything in memory and
keep a fairly small size cap on it (something like 32mb?).

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=781982

Platform coverage: All platforms.

Estimated or target release: Not yet determined.

Do other browser engines implement this?
Blink: Yes
Edge: Not yet implemented.
WebKit: Yes

Tests: Not yet written.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Windows CPU power settings

2016-12-13 Thread Ben Kelly
On Mon, Dec 12, 2016 at 8:44 PM, Gregory Szorc  wrote:

> The Windows 10 power settings appear to set the minimum CPU frequency at 5%
> or 10% of maximum. When I cranked this up to 100%, artifact build time
> dropped from ~170s to ~77s and full build configure dropped from ~165s to
> ~97s!
>
> If you are a Windows user with Xeons in your desktop, you may want to visit
> Control Panel -> Hardware and Sound -> Power Options -> Edit Plan Settings
> -> Change advanced power settings -> Process power management -> Minimum
> processor state and crank that up and see what happens. Note: running your
> CPU at 100% all the time may impact your power bill!
>

FWIW, in my windows 10 Control Panel -> Hardware and Sound -> Power Options
I had 3 preset power profiles:

* Balanced (default selected)
* Power Saver
* Performance

The "Balanced" profile has the 5% minimum clock speed.  The "Performance"
profile set that to 100%.

Ben
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform