1
0
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:
Artem 2022-02-11 10:24:07 +01:00 committed by GitHub
parent a21f4563b3
commit e0618f94e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 !