Parser memory usage metrics
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- compilers, performance
Research direction
Start by examining the existing --profile-rule-parsing behavior and the related issues #3672 and #3647. Define a useful parser memory indicator for rules or ambiguities and specify how it should be reported; done means the metric identifies memory-heavy parsing behavior in the EVM semantics case.
Written by the indexing model from the issue text.
Description
The EVM semantics sometimes fail with OutOfMemory errors.
It is often because parsing takes a very long time and memory on specific rules.
It would be nice to have some sort of metric about what the parser is doing. If it's trying many ambiguities at runtime, we should detect those rules and print some data in --profile-rule-parsing.
Maybe we can count how many objects are being created by the parser.
@dwightguth, what would be a good indicator of memory usage in the parser?
If we know which rules are using a lot of memory, then we can debug further, we can adjust the definition, we can add parentheses...
Related:
- #3672,
- #3647
- Dominant language
- Python
- Stars
- 591
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from runtimeverification/k
-
runtimeverification/k#4939 · 1 assignee ·
-
Concolic Explorer Open
Difficulty 5/5 Over a week Newbie friendliness 32/100
runtimeverification/k#4937 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
runtimeverification/k#4936 ·
-
type:epic
runtimeverification/k#4934 · 4 comments · 1 assignee ·
-
runtimeverification/k#4924 · 1 assignee ·
All issues in runtimeverification/k
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100