Skip to content

khvzak/script-bench-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 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 the bench.py script to generate images. It requires cargo criterion and python3-matplotlib package installed.

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

Environment

OS Ubuntu 22.04, m6i.16xlarge
rustc v1.82.0
boa v0.19.1
mlua v0.10.1
rhai v1.20.0
rquickjs v0.8.1
rune v0.13.4
wasmi v0.39.1
wasmtime v27.0.0

Results

Sort Rust objects