在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:JuliaPerf/PProf.jl开源软件地址:https://github.com/JuliaPerf/PProf.jl开源编程语言:Julia 100.0%开源软件介绍:PProf.jlSometimes I need a hammer, sometimes I need a drill, this is a hammer-drill using Profile
using PProf
# collect a profile
@profile peakflops()
# Export pprof profile and open interactive profiling web interface.
pprof() This prints a link to a local webserver where you can inspect the profile you've collected. It produces a file called For more usage examples see the pprof docs: https://github.com/google/pprof/blob/master/doc/README.md Dependencies
Usagehelp?> pprof
pprof([data, [lidict]];
web = true, webhost = "localhost", webport = 57599,
out = "profile.pb.gz", from_c = true, full_signatures = true, drop_frames = "",
keep_frames = "", ui_relative_percentages = true, sampling_delay = nothing,
)
pprof(FlameGraphs.flamegraph(); kwargs...)
Fetches the collected `Profile` data, exports to the `pprof` format, and (optionally) opens
a `pprof` web-server for interactively viewing the results. help?> @pprof
@pprof ex
Profiles the expression using @profile and starts or restarts the pprof() web UI with default arguments. Calling If you manually modify the output profile file, you can refresh the web server without overwriting the Examplejulia> using PProf
julia> @pprof peakflops()
"profile.pb.gz"
Main binary filename not available.
Serving web UI on http://localhost:57599 Google PProf Web View |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论