AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Parser for Sourcemod Handle Dumps (https://forums.alliedmods.net/showthread.php?t=320954)

Papero 01-17-2020 11:42

Parser for Sourcemod Handle Dumps
 
This is a web app, that will parse a sourcemod handle dump, that can be generated with (sm_dump_handles file.txt).
You just need to paste in the content of the file (or upload it), in the textarea of the webpage, and the dump will be parsed giving informations such as: the total memory used by a plugin, how many handles a plugin is using and which is the most used handle type. You can hover the cursor on the handle type to show more detailed information such as the list of all the handles types, how many of them exist and how much memory are they using.
All the table columns can be sorted in ascending or descending order.
After a dump is parsed it is saved in a indexed db, and the web app will keep track of all the previous dumps.

https://i.imgur.com/XV3j45H.png

https://i.imgur.com/s1LJ0sO.png
The web app is available here: https://hexer10.github.io/Sourcemod-HandleDumpParser/
Source code: https://github.com/Hexer10/Sourcemod-HandleDumpParser

It is built with Dart and Bootstrap.

Maxximou5 01-17-2020 13:13

Re: Parser for Sourcemod Handle Dumps
 
This is awesome! I love visualizing data in this format.

One thing:
Spoiler

Papero 01-17-2020 13:35

Re: Parser for Sourcemod Handle Dumps
 
Quote:

Originally Posted by Maxximou5 (Post 2680662)
This is awesome! I love visualizing data in this format.

One thing:
Spoiler

Thank you, but I don't understand what do you mean with cutting the string length, in the dump the owner name cannot be more than 20 characters long afaik.

Maxximou5 01-17-2020 20:57

Re: Parser for Sourcemod Handle Dumps
 
Quote:

Originally Posted by Papero (Post 2680669)
Thank you, but I don't understand what do you mean with cutting the string length, in the dump the owner name cannot be more than 20 characters long afaik.

You're totally correct. My apologies, I didn't realize that wasn't a limitation on your end but simply what's produced from sm_dump_handles.

Dragokas 01-22-2020 16:18

Re: Parser for Sourcemod Handle Dumps
 
Nice! Thank you.

Dragokas 01-23-2020 01:37

Re: Parser for Sourcemod Handle Dumps
 
Can you please add ability to save table to external csv file (to be able to compare two tables) ?

Papero 01-23-2020 02:09

Re: Parser for Sourcemod Handle Dumps
 
Quote:

Originally Posted by Dragokas (Post 2681311)
Can you please add ability to save table to external csv file (to be able to compare two tables) ?

It is already possible to compare two dumps, just push both tags in the app and in the URL type #ID1-ID2 and it will highlight the changed rows in red.
Later I'll add a way to do that directly in from UI.

Dragokas 01-24-2020 01:34

Re: Parser for Sourcemod Handle Dumps
 
1 Attachment(s)
I typed

https://hexer10.github.io/Sourcemod-...umpParser/#1-2

and I got some strange "comparation" (see screenshot).

According this info, I can't see anything useful. I need a number before and a number after.

P.S. At the moment, I just copy-paste to MS Excel. Fits good.

Dragokas 01-24-2020 01:42

Re: Parser for Sourcemod Handle Dumps
 
It is also good to have a button "remove" all dumps.

Papero 01-31-2020 16:10

Re: Parser for Sourcemod Handle Dumps
 
Quote:

Originally Posted by Dragokas (Post 2681415)
I typed

https://hexer10.github.io/Sourcemod-...umpParser/#1-2

and I got some strange "comparation" (see screenshot).

According this info, I can't see anything useful. I need a number before and a number after.

P.S. At the moment, I just copy-paste to MS Excel. Fits good.

I've added an export to CSV button, it will copy the content of the table as csv in your clipboard.
Quote:

Originally Posted by Dragokas (Post 2681417)
It is also good to have a button "remove" all dumps.

I agree actually this is already in my todo list.


All times are GMT -4. The time now is 23:18.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.