Many of those are done lazily specifically so that they won't slow
down app launch.  However, I didn't mean to come across as  "jumping
all over" the idea--I was just saying we shouldn't brush it off as
insignificant without measuring it.

--Amanda

On Mon, Apr 27, 2009 at 11:05 AM, Mike Pinkerton <pinker...@chromium.org> wrote:
> On Sun, Apr 26, 2009 at 5:50 PM, Amanda Walker <ama...@chromium.org> wrote:
>> Application startup is one of the areas where we count every
>> millisecond, and try to touch the disk as little as possible.  I don't
>> think it's safe to assume that the cost of creating and writing to a
>> file is negligible in this context without actually measuring it.
>
> Just curious, how many files are read/written loading a profile:
> history, bookmarks, cache, last session, preferences, cookies, etc? I
> imagine it's non-trivial and happens at every startup.
>
> I agree that the proposal just for the sake of consolidating code may
> not be warranted, but to jump all over it because a file has to be
> written seems like premature optimization in light of everything else
> that happens on the disk at app startup.
>
> --
> Mike Pinkerton
> Mac Weenie
> pinker...@google.com
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to