Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log time consumed by each phase (lexer, parser, analyzer, elab, codegen) #228

Open
Jacajack opened this issue Oct 26, 2023 · 4 comments
Open
Labels
analyzer Related to semantic & design analyzers core Library core related deprioritized Deprioritized task - can be reopened later nice to have Only if we have time

Comments

@Jacajack
Copy link
Owner

No description provided.

@Jacajack Jacajack added analyzer Related to semantic & design analyzers core Library core related nice to have Only if we have time labels Oct 26, 2023
@WojciechPtas
Copy link
Collaborator

This could be fun

@WojciechPtas
Copy link
Collaborator

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)

@WojciechPtas
Copy link
Collaborator

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 ?

@Jacajack
Copy link
Owner Author

Yes, that's right

@Jacajack Jacajack added the deprioritized Deprioritized task - can be reopened later label Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer Related to semantic & design analyzers core Library core related deprioritized Deprioritized task - can be reopened later nice to have Only if we have time
Projects
None yet
Development

No branches or pull requests

2 participants