зеркало из https://github.com/electron/electron.git
purgedSize and purgeableSize are removed by Chrome
This commit is contained in:
Родитель
6d323dd6fe
Коммит
5e43ea227e
|
@ -445,9 +445,6 @@ v8::Local<v8::Value> Converter<blink::WebCache::ResourceTypeStat>::ToV8(
|
|||
dict.Set("count", static_cast<uint32_t>(stat.count));
|
||||
dict.Set("size", static_cast<double>(stat.size));
|
||||
dict.Set("liveSize", static_cast<double>(stat.liveSize));
|
||||
dict.Set("decodedSize", static_cast<double>(stat.decodedSize));
|
||||
dict.Set("purgedSize", static_cast<double>(stat.purgedSize));
|
||||
dict.Set("purgeableSize", static_cast<double>(stat.purgeableSize));
|
||||
return dict.GetHandle();
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,3 @@
|
|||
* `count` Number
|
||||
* `size` Number
|
||||
* `liveSize` Number
|
||||
* `decodedSize` Number
|
||||
* `purgedSize` Number
|
||||
* `purgeableSize` Number
|
||||
|
|
|
@ -144,10 +144,7 @@ console.log(webFrame.getResourceUsage())
|
|||
images: {
|
||||
count: 22,
|
||||
size: 2549,
|
||||
liveSize: 2542,
|
||||
decodedSize: 478,
|
||||
purgedSize: 0,
|
||||
purgeableSize: 0
|
||||
liveSize: 2542
|
||||
},
|
||||
cssStyleSheets: { /* same with "images" */ },
|
||||
xslStyleSheets: { /* same with "images" */ },
|
||||
|
|
|
@ -3,6 +3,3 @@
|
|||
* `count` 數字
|
||||
* `size` 數字
|
||||
* `liveSize` 數字
|
||||
* `decodedSize` 數字
|
||||
* `purgedSize` 數字
|
||||
* `purgeableSize` 數字
|
||||
|
|
|
@ -3,6 +3,3 @@
|
|||
* `count` Number
|
||||
* `size` Number
|
||||
* `liveSize` Number
|
||||
* `decodedSize` Number
|
||||
* `purgedSize` Number
|
||||
* `purgeableSize` Number
|
||||
|
|
|
@ -167,10 +167,7 @@ This will generate:
|
|||
images: {
|
||||
count: 22,
|
||||
size: 2549,
|
||||
liveSize: 2542,
|
||||
decodedSize: 478,
|
||||
purgedSize: 0,
|
||||
purgeableSize: 0
|
||||
liveSize: 2542
|
||||
},
|
||||
cssStyleSheets: { /* same with "images" */ },
|
||||
xslStyleSheets: { /* same with "images" */ },
|
||||
|
|
Загрузка…
Ссылка в новой задаче