Open mahsashadi opened 2 years ago
I print win object size in console by your size-of module, and also attach it to window, to show it in chrome devTools.
win
size-of
console.log('mywin size is:', sizeof(win)); //shows 22M window.mywin= win; //shows 20B
The question is that is this difference reasonable? which one is really consumed by memory?
Result:
@miktam
I print
win
object size in console by yoursize-of
module, and also attach it to window, to show it in chrome devTools.The question is that is this difference reasonable? which one is really consumed by memory?
Result:![Screenshot from 2022-02-20 14-09-09](https://user-images.githubusercontent.com/70196035/154838892-a1ae9e02-ef0e-4cad-8293-84220cc4bf89.png)
@miktam