mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v help: add an example of using both -prof
and run
(#13432)
This commit is contained in:
parent
a21f4563b3
commit
e0618f94e8
@ -85,6 +85,9 @@ NB: the build flags are shared with the run command too:
|
|||||||
c) an average for each function (i.e. (b) / (a) )
|
c) an average for each function (i.e. (b) / (a) )
|
||||||
d) the function name
|
d) the function name
|
||||||
|
|
||||||
|
NB: you can also combine this command with `run` command.
|
||||||
|
For example - `v -prof prof.txt run main.v`
|
||||||
|
|
||||||
NB: the profiler is *NOT* currently thread safe, so look at the profile results of
|
NB: the profiler is *NOT* currently thread safe, so look at the profile results of
|
||||||
multithreaded programs very sceptically !
|
multithreaded programs very sceptically !
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user