4 ms·
OwnTime.jl - A Julia profiling library [1]. It reports the time spent on each line of your project, and you can filter which files are included. For example, y
by Buttons840 5y ago
OwnTime.jl - A Julia profiling library [1].
It reports the time spent on each line of your project, and you can filter which files are included. For example, you might do a complicated map operation which calls a function in another library, if you filter out the library then it will report that all the time was spent in your code on the line that performed the map. However, if you don't filter out the library then it will report that all the time was spent on the lines inside the library.
I was tired of looking at profiling reports filled with lines of code I had never seen before.
I couldn't figure out how to get what I wanted from the existing profiling libraries so wrote this. It was quite easy once I figured it out. Julia has a built in sampling profiler you can turn on, and from there you can process the sampled stackframes however you'd like and display them however you'd like.
[1]: https://github.com/DevJac/OwnTime.jl https://github.com/DevJac/OwnTime.jl
- amval 5y agoI gave it a try with a couple of calls of a framework which I have written and I suspect is littered with bad practices. Not sure what to make of the results, since most of the time seems to be spent here: [1] 79% => poptask(W::Base.InvasiveLinkedListSynchronized{Task}) at task.jl:760 Is this just something internal to Atom to execute code?
- Buttons840 5y agoDoes task.jl contain code you wrote? Feel free to make an issue and we can talk about it on GitHib too. Try setting a stackframe_filter, filter on the root path of your project and then only lines in your repository will be reported.