mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: add a separate ALL_FRONT_STAGES timing metric
This commit is contained in:
parent
b71c131678
commit
8e9e91be7e
@ -102,6 +102,10 @@ pub fn (mut b Builder) interpret_text(code string, v_files []string) ! {
|
|||||||
|
|
||||||
pub fn (mut b Builder) front_stages(v_files []string) ! {
|
pub fn (mut b Builder) front_stages(v_files []string) ! {
|
||||||
mut timers := util.get_timers()
|
mut timers := util.get_timers()
|
||||||
|
util.timing_start('ALL_FRONT_STAGES')
|
||||||
|
defer {
|
||||||
|
timers.show('ALL_FRONT_STAGES')
|
||||||
|
}
|
||||||
util.timing_start('PARSE')
|
util.timing_start('PARSE')
|
||||||
|
|
||||||
util.timing_start('Builder.front_stages.parse_files')
|
util.timing_start('Builder.front_stages.parse_files')
|
||||||
|
Loading…
Reference in New Issue
Block a user