Show
Ignore:
Timestamp:
09/06/05 14:40:13 (3 years ago)
Author:
hyatt
Message:

Reduce the # of cached pages for a back/forward list. The old cache would cache the
following per tab:
> 1gb memory = 16 pages per tab/window
> 512mb memory = 8 pages per tab/window
<= 512mb memory = 4 pages per tab/window

This consumes far too much memory and is way too aggressive. The new cache sizes are
as follows:
>= 1gb memory = 3 pages per tab/window
>= 512mb memory = 2 pages per tab/window
< 512mb memory = 1 page per tab/window

Reviewed by john

  • History.subproj/WebBackForwardList.m: (-pageCacheSize):
  • WebView.subproj/WebPreferences.m: (+initialize):
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/ChangeLog

    r10474 r10476  
     12005-09-06  David Hyatt  <hyatt@apple.com> 
     2 
     3        Reduce the # of cached pages for a back/forward list.  The old cache would cache the 
     4        following per tab: 
     5        > 1gb memory = 16 pages per tab/window 
     6        > 512mb memory = 8 pages per tab/window 
     7        <= 512mb memory = 4 pages per tab/window 
     8 
     9        This consumes far too much memory and is way too aggressive.  The new cache sizes are 
     10        as follows: 
     11        >= 1gb memory = 3 pages per tab/window 
     12        >= 512mb memory = 2 pages per tab/window 
     13        < 512mb memory = 1 page per tab/window 
     14 
     15        Reviewed by john 
     16 
     17        * History.subproj/WebBackForwardList.m: 
     18        (-[WebBackForwardList pageCacheSize]): 
     19        * WebView.subproj/WebPreferences.m: 
     20        (+[WebPreferences initialize]): 
     21 
    1222005-09-05  Darin Adler  <darin@apple.com> 
    223