khvzak / script-bench-rs

Rust embedded scripting languages benchmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust scripting languages benchmark

The project goal is to benchmark most popular embedded scripting languages for Rust.

The benchmark is designed to cover not only the performance of code evaluation but interoperability with Rust too.

Getting your own results

Simply run the bench.py script to generate images. It requires cargo criterion and python3-matplotlib package installed.

Environment

OS Ubuntu 23.04, r6i.8xlarge
boa v0.18.0
mlua v0.9.6
rhai v1.17.1
rquickjs v0.5.1
rune v0.13.2
rustc v1.76.0

Results

Sort Rust objects

About

Rust embedded scripting languages benchmark


Languages

Language:Rust 78.2%Language:Python 8.9%Language:JavaScript 6.9%Language:Lua 6.0%