Skip to content

Avoid forced garbage collection when logging memory use - #273

Open
lm-sousa wants to merge 1 commit into
t3/optimize-joinpoint-wrapfrom
t3/disable-exec-info-logging
Open

lm-sousa wants to merge 1 commit into
t3/optimize-joinpoint-wrapfrom
t3/disable-exec-info-logging

Conversation

@lm-sousa

@lm-sousa lm-sousa commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Logging parser memory use currently requests garbage collection, adding work to each parse. Read used memory without requesting garbage collection while keeping execution information enabled.

Stacked on #272.

Performance

Wall-clock time for npm test, including process startup. Each suite was run once before and once after the change, sequentially, after rebuilding Java with scripts/ws build.

Suite Before After Change
Lara-JS 2.44 s 2.45 s +0.01 s (+0.4%)
Clava-JS 35.75 s 27.15 s -8.60 s (-24.1%)

These are single runs, so the differences include run-to-run variation and are not a statistical benchmark.

Validation

  • scripts/ws build passed before and after.
  • Lara-JS: 60 passed, 1 expected failure in both runs.
  • Clava-JS: 167 passed, 2 skipped in both runs.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T00:22:29.457833Z b30fd99 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lm-sousa
lm-sousa added this pull request to stack #256 November 2, 2026 00:22
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant