Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 728 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 728 Bytes

Monkey Language

Implementation of Monkey Programming Language from Thorsten Ball's Writing An Interpreter In Go and Writing A Compiler In Go Books.

Performance Results

Hardware Overview:

Model Name:	MacBook Air
Model Identifier:	MacBookAir10,1
Chip:	Apple M1
Total Number of Cores:	8 (4 performance and 4 efficiency)
Memory:	8 GB

Results

➜  monkey git:(main) ✗ go build -o bench benchmark/main.go 
➜  monkey git:(main) ✗ ./bench -engine=eval 
engine=eval, result=9227465, duration=12.911341834s
➜  monkey git:(main) ✗ ./bench -engine=vm  
engine=vm, result=9227465, duration=4.276731125s