Update README.md

This commit is contained in:
Daniel Kang 2019-01-20 08:55:46 -08:00 committed by GitHub
parent 00168726d6
commit 2caa4d19c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,15 +28,15 @@ Tengo is [fast](#benchmark) as it's compiled to bytecode and executed on stack-b
| | fib(35) | fibt(35) | Type |
| :--- | ---: | ---: | :---: |
| Go | `67ms` | `4ms` | Go (native) |
| [**Tengo**](https://github.com/d5/tengo) | `4,390ms` | `5ms` | VM on Go |
| Lua | `1,804ms` | `3ms` | Lua (native) |
| [go-lua](https://github.com/Shopify/go-lua) | `5,114ms` | `4ms` | Lua VM on Go |
| [GopherLua](https://github.com/yuin/gopher-lua) | `5,679ms` | `5ms` | Lua VM on Go |
| Python | `2,853ms` | `25ms` | Python (native) |
| [starlark-go](https://github.com/google/starlark-go) | `16,725ms` | `5ms` | Python-like Interpreter on Go |
| [otto](https://github.com/robertkrimen/otto) | `88,148ms` | `21ms` | JS Interpreter on Go |
| [Anko](https://github.com/mattn/anko) | `107,968ms` | `22ms` | Interpreter on Go |
| Go | `66ms` | `3ms` | Go (native) |
| [**Tengo**](https://github.com/d5/tengo) | `4,401ms` | `5ms` | VM on Go |
| Lua | `1,747ms` | `3ms` | Lua (native) |
| [go-lua](https://github.com/Shopify/go-lua) | `5,060ms` | `5ms` | Lua VM on Go |
| [GopherLua](https://github.com/yuin/gopher-lua) | `5,655ms` | `5ms` | Lua VM on Go |
| Python | `2,855ms` | `27ms` | Python (native) |
| [starlark-go](https://github.com/google/starlark-go) | `16,772ms` | `5ms` | Python-like Interpreter on Go |
| [otto](https://github.com/robertkrimen/otto) | `87,945ms` | `13ms` | JS Interpreter on Go |
| [Anko](https://github.com/mattn/anko) | `108,386ms` | `19ms` | Interpreter on Go |
[fib(35)](https://github.com/d5/tengobench/blob/master/code/fib.tengo) is a function to compute 35th Fibonacci number, and, [fibt(35)](https://github.com/d5/tengobench/blob/master/code/fibtc.tengo) is the [tail-call](https://en.wikipedia.org/wiki/Tail_call) version of the same function.