• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / goro / 25772669780
13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 01:35AM UTC
Jobs 1
Files 398
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 01:33AM UTC coverage: 12.109% (+0.02%) from 12.085%
25772669780

push

github

MagicalTux
vm: int-int fast paths for arithmetic and comparison ops

OpAdd, OpSub, OpMul, OpCmpEq/Ne/Id/Nid/Lt/Le/Gt/Ge inline the int-int
case directly in the dispatch loop. Mixed-type operands still go
through the generic OperatorMath / OperatorCompare path.

Adds a small intIntFast / pushBoolReplace2 helper pair so each op
case stays readable.

Benchmarks (single-machine; same hardware; 1s benchtime):

  Arithmetic   55.8 ms (AST)  ->  19.8 ms (VM)   2.82x
  FunctionCalls 22.0 ms       ->  15.7 ms        1.40x
  Fibonacci    34.5 ms        ->  21.7 ms        1.59x
  ArrayOps     14.7 ms        ->   9.4 ms        1.57x
  StringConcat 21.6 ms        ->  17.3 ms        1.25x

The largest jump is on integer-heavy loops; Fibonacci improved from
1.32x to 1.59x because every recursive base-case branch is now an
inline ai <= 1 compare.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

59 of 61 new or added lines in 1 file covered. (96.72%)

17 existing lines in 2 files now uncovered.

13979 of 115447 relevant lines covered (12.11%)

2042.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
64.67
2.26% core/vm/vm.go

Coverage Regressions

Lines Coverage ∆ File
15
44.44
-55.56% core/vm/ops_compare.go
2
28.14
-0.11% core/compiler/run-operator.go
Jobs
ID Job ID Ran Files Coverage
1 25772669780.1 13 May 2026 01:35AM UTC 398
12.11
GitHub Action Run
Source Files on build 25772669780
  • Tree
  • List 398
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25772669780
  • 25107abe on github
  • Prev Build on master (#25772566548)
  • Next Build on master (#25772768391)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc