Skip to content

feat: trace jit implementation#69

Merged
siyul-park merged 4 commits into
mainfrom
feature/trace_jit
Jun 13, 2026
Merged

feat: trace jit implementation#69
siyul-park merged 4 commits into
mainfrom
feature/trace_jit

Conversation

@siyul-park

Copy link
Copy Markdown
Owner

Summary

  • Implement trace JIT for improved performance monitoring
  • Add FieldIndex method to StructType for field index retrieval
  • Implement exit method for Tracer to handle trace exits
  • Remove reason field from trace struct, simplifying trace logic
  • Refactor reference counting for ARM64 JIT

Changes

  • trace.go: New trace execution system with exit handling
  • interp.go/jit_arm64.go: Integrated trace JIT support
  • types/struct.go: Added FieldIndex method for type introspection
  • Documentation: Updated guides and benchmarks with trace JIT details

Test Plan

  • Existing unit tests pass
  • Integration tests verify trace output
  • Reference counting verified for ARM64 backend
  • Code pattern compliance checked

🤖 Generated with Claude Code

@codecov

codecov Bot commented Jun 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 57.64192% with 291 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.89%. Comparing base (6618056) to head (a1cb916).

Files with missing lines Patch % Lines
interp/jit.go 0.00% 108 Missing ⚠️
interp/trace.go 78.79% 71 Missing and 17 partials ⚠️
interp/interp.go 31.93% 72 Missing and 9 partials ⚠️
interp/cache.go 45.83% 12 Missing and 1 partial ⚠️
cli/repl.go 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   61.57%   63.89%   +2.31%     
==========================================
  Files          60       60              
  Lines       10723    10754      +31     
==========================================
+ Hits         6603     6871     +268     
+ Misses       3425     3170     -255     
- Partials      695      713      +18     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@siyul-park siyul-park merged commit 5fcfcb8 into main Jun 13, 2026
4 of 5 checks 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