profdump 0.0.1
Processes profiling output
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
profdump
profdump converts output of D programming language profiler into:
- Plain text
- JSON
- DOT graph
Why?
Because profiler gives you this. It's very hard to read and understand it. profdump can convert it to:
or just draw this beautiful graph:
Graph output
Every node represents a function and has the following layout:
+----------------------------+
| Function name |
| total time % (self time %) |
| total time s (self time s) |
+----------------------------+
And edge represents the calls between two functions and has the following layout:
calls
parent --------------> child
JSON output
Has the following layout:
{
"functions": [
{
"name": <string>, // Demangled name of function
"mangled": <string>, // Mangled name of function
"time": <integer>, // Time spent on this function and all its children in ticks
"timeSec": <float>, // Time spent on this function and all its children in seconds
"functionTime": <integer>, // Time spent on this function in ticks
"functionTimeSec": <float>, // Time spent on this function in seconds
"callsTo": [ // All children which are called by this function
{
"name": <string>, // Demangled name of children
"mangled": <string, // Mangled name of children
"calls": <integer>, // Number of calls
}
<...>
],
"calledBy": [ // All parents which calls this function
{
"name": <string>, // Demangled name of parent
"mangled": <string, // Mangled name of parent
"calls": <integer>, // Number of calls
}
<...>
]
}
<...>
],
"tps": <integer> // Number of ticks per second
}
Plain text output
Should be easy to understand
- Registered by Anton Fediushin
- 0.0.1 released 7 years ago
- AntonMeep/profdump
- MIT
- Copyright © 2017, Anton Fediusin
- Authors:
- Dependencies:
- none
- Versions:
-
0.4.3 2018-Jul-24 0.4.2 2017-May-31 0.4.1 2017-May-24 0.4.0 2017-May-24 0.3.0 2017-May-24 - Download Stats:
-
-
0 downloads today
-
1 downloads this week
-
1 downloads this month
-
130 downloads total
-
- Score:
- 0.5
- Short URL:
- profdump.dub.pm