Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task Manger for Osjs #789

Closed
mahsashadi opened this issue Feb 12, 2022 · 7 comments
Closed

Task Manger for Osjs #789

mahsashadi opened this issue Feb 12, 2022 · 7 comments

Comments

@mahsashadi
Copy link

Does Osjs have any task manager for showing memory usage in client-side?
If there is not, what is your suggestion for developing such a capability?
I am thinking of one application which can shows memory usage per app, widget, and so on.

@andersevenrud
Copy link
Member

There is no way to show memory usage per app, etc. These all run within the same shared memory.

@andersevenrud
Copy link
Member

Closed by mistake...

@andersevenrud andersevenrud reopened this Feb 12, 2022
@mahsashadi
Copy link
Author

As I searched, getting size of objects is not provided in JS language.

Although I have found one library to do this, but the valid amount of consumed memory by each object is specified at run time, and depended on browser.

So do you think we can make use of modules like that to calculate memory usage of OSjs apps?

@andersevenrud
Copy link
Member

That won't really help because it can only get the size of an object. There's more to it that that.

@mahsashadi
Copy link
Author

Yes, as you said, for example, functions are not supported.

Even if one module can calculate all types, is that usable? Because as I know memory consumption is specified at run time by browser.

@andersevenrud
Copy link
Member

andersevenrud commented Feb 20, 2022 via email

@andersevenrud
Copy link
Member

Going to close this because I think this discussion has concluded.

Even though there's no way to measure performance stats, I would happily accept and document (or transfer to the official org account) an app like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants