Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gpython to the benchmark #1

Merged
merged 1 commit into from
Jan 20, 2019
Merged

Add gpython to the benchmark #1

merged 1 commit into from
Jan 20, 2019

Conversation

ncw
Copy link
Contributor

@ncw ncw commented Jan 19, 2019

No description provided.

@d5
Copy link
Owner

d5 commented Jan 20, 2019

Thanks for creating this PR! Do you mind posting an example output of this here? I'm curious what it's like compared to others.

@d5 d5 merged commit 0b2d7c7 into d5:master Jan 20, 2019
@d5
Copy link
Owner

d5 commented Jan 20, 2019

@ncw
Copy link
Contributor Author

ncw commented Jan 20, 2019

Sure

fib(35) fibt(35) Type
Go 68ms 1ms Go (native)
Tengo 5,261ms 1ms VM on Go
Lua 1,720ms 1ms Lua (native)
go-lua 6,240ms 1ms Lua VM on Go
GopherLua 6,505ms 2ms Lua VM on Go
Python 2,969ms 9ms Python (native)
gpython 25,423ms 4ms Python Interpreter on Go
starlark-go 20,703ms 2ms Python-like Interpreter on Go
otto 130,110ms 10ms JS Interpreter on Go
Anko 153,654ms 3ms Interpreter on Go

These are on my Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz laptop.

So gpython makes a below average score, but not too bad!

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.

None yet

2 participants