mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: fix performance_compare.v
This commit is contained in:
parent
08d90afb8c
commit
7bd98ecddb
@ -190,8 +190,8 @@ fn main() {
|
|||||||
context.vflags = fp.string('vflags', 0, '', 'Additional options to pass to the v commands, for example "-cc tcc"')
|
context.vflags = fp.string('vflags', 0, '', 'Additional options to pass to the v commands, for example "-cc tcc"')
|
||||||
context.hyperfineopts = fp.string('hyperfine_options', 0, '',
|
context.hyperfineopts = fp.string('hyperfine_options', 0, '',
|
||||||
'Additional options passed to hyperfine.
|
'Additional options passed to hyperfine.
|
||||||
${flag.SPACE}For example on linux, you may want to pass:
|
${flag.space}For example on linux, you may want to pass:
|
||||||
${flag.SPACE}--hyperfine_options "--prepare \'sync; echo 3 | sudo tee /proc/sys/vm/drop_caches\'"
|
${flag.space}--hyperfine_options "--prepare \'sync; echo 3 | sudo tee /proc/sys/vm/drop_caches\'"
|
||||||
')
|
')
|
||||||
commits := vgit.add_common_tool_options(mut context, mut fp)
|
commits := vgit.add_common_tool_options(mut context, mut fp)
|
||||||
context.commit_before = commits[0]
|
context.commit_before = commits[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user