To run the benchmark, you will need the following tools installed in your PATH.
- Python
- Lua
- Wrengo
go get github.com/Terisback/wrengo/cmd/wrengo
- Tengo:
go install github.com/d5/tengo/cmd/tengo
- GopherLua:
go get github.com/yuin/gopher-lua/cmd/glua
- otto:
go get github.com/robertkrimen/otto/otto
- go-lua:
go get github.com/Terisback/wrengobench/cmd/go-lua
- Anko:
go get github.com/mattn/anko
- starlark:
go get go.starlark.net/cmd/starlark
- gofib:
go install github.com/Terisback/wrengobench/cmd/gofib
- gofibtc:
go install github.com/Terisback/wrengobench/cmd/gofibtc
- gpython:
go get github.com/go-python/gpython
- goja:
go get github.com/dop251/goja/goja
Or, run:
make setup
To start the benchmark:
make start
You can see all the source codes used in this benchmark in code directory.