Skip to content

khvzak/script-bench-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 uv run bench.py to generate images. It requires cargo criterion and uv installed (dependencies are declared inline in the script).

You also must have wasm32-unknown-unknown target installed for webassembly benchmarks.

Environment

OS MacOS 26.5 M5 Max
rustc v1.96.0
boa v0.21.1
koto v0.16.1
mlua v0.12-rc.2
rhai v1.25.1
roto v0.11.0
rquickjs v0.12.0
wasmi v1.0.9
wasmtime v45.0.1

Results

Sort Rust objects

Rev 1761581592

About

Rust embedded scripting languages benchmark

Topics

Resources

Stars

95 stars

Watchers

5 watching

Forks

Contributors