Skip to content

Isolate Malloc candidates in Wasm64 and refresh scores - #111

Merged
ahydchh merged 1 commit into
mainfrom
fix/candidate-isolation
Sep 15, 2026
Merged

ahydchh merged 1 commit into
mainfrom
fix/candidate-isolation

Conversation

@ahydchh

@ahydchh ahydchh commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

Copy link
Copy Markdown

🤖 AI Code Review (gemini-3-flash-preview)

  •             "-lwasmtime", "-lm", "-lpthread", "-ldl", "-o", str(host)],
    
  •            work, [toolchain.wasmtime, SUPPORT], 60,
    
  •        )
    
  •        if warnings:
    
  •            artifacts["host_build_warnings"] = warnings
    
  •        stdout, stderr = _run(
    
  •            [str(host), str(wasm), str(handout / "traces")],
    
  •            work, [wasm, handout / "traces"], 600,
    
  •        )
    
  •        if stderr:
    
  •            artifacts["host_stderr"] = stderr
    
  •        report = json.loads(stdout)
    
  •        metrics = _metrics(report)
    
  •        artifacts["report"] = report
    
  • except Exception as exc:
  •    metrics["error"] = str(exc)
    
  • metrics["wall_clock_s"] = time.monotonic() - started
  • return metrics, artifacts

+def main():

  • p = argparse.ArgumentParser()
  • p.add_argument("candidate", type=str)
  • p.add_argument("--benchmark", type=str, required=True)
  • p.add_argument("--metrics-out", type=str, required=True)
  • p.add_argument("--details-out", type=str, required=True)
  • args = p.parse_args()
  • metrics, artifacts = evaluate(Path(args.candidate), Path(args.benchmark))
  • with open(args.metrics_out, "w") as f:
  •    json.dump(metrics, f, indent=2)
    
  • with open(args.details_out, "w") as f:
  •    json.dump(artifacts, f, indent=2)
    

+if name == "main":

  • main()

Please review the PR content.

@ahydchh
ahydchh merged commit d0fc337 into main Sep 15, 2026
1 check passed
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