hdl
hdl copied to clipboard
Log time consumed by each phase (lexer, parser, analyzer, elab, codegen)
This could be fun
Note: As parser uses lexer, we cannot measure exact time of lexing and parsing separately. We can measure time of lexing alone and time of parsing (and lexing)
Note no 2. As firstly combining pass is run, we have to split sema timing in few phases Note no 3. It is probably good idea to measure semantical analysis time without the pass invoking api, am I right @Jacajack ?
Yes, that's right