Closed wingleung closed 4 years ago
For jsHeapSizeLimit, totalJSHeapSize, usedJSHeapSize it could be nice to have a human readable property like deviceMemory is somewhat of a human readable property (in gigabytes). We could add a human readable property alongside machine value.
jsHeapSizeLimit
totalJSHeapSize
usedJSHeapSize
deviceMemory
{ supported: true, deviceMemory: 8, jsHeapSizeLimit: 4345298944 jsHeapSizeLimit-human: "4.05 G", totalJSHeapSize: 47665242, totalJSHeapSize-human:"45.46 MB", usedJSHeapSize: 38501994, usedJSHeapSize-human: "36.72 MB", }
This can be done with comments
{ supported: true, deviceMemory: 8, jsHeapSizeLimit: 4345298944, // 4.05 G totalJSHeapSize: 47665242, // 45.46 MB usedJSHeapSize: 38501994, // 36.72 MB }
For
jsHeapSizeLimit
,totalJSHeapSize
,usedJSHeapSize
it could be nice to have a human readable property likedeviceMemory
is somewhat of a human readable property (in gigabytes). We could add a human readable property alongside machine value.