{"id":16690357,"url":"https://github.com/khvzak/script-bench-rs","last_synced_at":"2025-03-17T00:33:09.813Z","repository":{"id":46921914,"uuid":"430202459","full_name":"khvzak/script-bench-rs","owner":"khvzak","description":"Rust embedded scripting languages benchmark","archived":false,"fork":false,"pushed_at":"2024-09-09T21:26:20.000Z","size":668,"stargazers_count":39,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-13T15:51:11.950Z","etag":null,"topics":["lua","luau","rhai","rune","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khvzak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-20T20:26:05.000Z","updated_at":"2024-09-30T02:15:01.000Z","dependencies_parsed_at":"2023-11-27T23:27:09.723Z","dependency_job_id":"9ed34e79-71c7-49f1-9bb5-7586a13b376b","html_url":"https://github.com/khvzak/script-bench-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khvzak%2Fscript-bench-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khvzak%2Fscript-bench-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khvzak%2Fscript-bench-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khvzak%2Fscript-bench-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khvzak","download_url":"https://codeload.github.com/khvzak/script-bench-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835942,"owners_count":20355611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lua","luau","rhai","rune","rust"],"created_at":"2024-10-12T15:51:23.230Z","updated_at":"2025-03-17T00:33:09.808Z","avatar_url":"https://github.com/khvzak.png","language":"Rust","readme":"# Rust scripting languages benchmark\n\nThe project goal is to benchmark most popular embedded scripting languages for Rust.\n\n- [boa](https://boajs.dev)\n- [mlua](https://crates.io/crates/mlua) (Lua 5.4 and Luau)\n- [rhai](https://crates.io/crates/rhai)\n- [rquickjs](https://crates.io/crates/rquickjs)\n- [rune](https://crates.io/crates/rune)\n- [wasmi](https://crates.io/crates/wasmi)\n- [wasmtime](https://crates.io/crates/wasmtime)\n\nThe benchmark is designed to cover not only the performance of code evaluation but interoperability with Rust too.\n\n## Getting your own results\n\nSimply run the `bench.py` script to generate images. It requires `cargo criterion` and `python3-matplotlib` package installed.\n\nYou also must have `wasm32-unknown-unknown` target installed for webassembly benchmarks.\n\n## Environment\n\n|          |                               |\n|----------|-------------------------------|\n| OS       | Ubuntu 22.04, m6i.16xlarge    |\n| rustc    | v1.83.0                       |\n| boa      | v0.19.1                       |\n| mlua     | v0.10.2                       |\n| rhai     | v1.20.0                       |\n| rquickjs | v0.8.1                        |\n| rune     | v0.13.4                       |\n| wasmi    | v0.40.0                       |\n| wasmtime | v27.0.0                       |\n\n## Results\n\n![Sort Rust objects](Sort%20Rust%20objects.png)\n\n[//]: # 1733534949\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhvzak%2Fscript-bench-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhvzak%2Fscript-bench-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhvzak%2Fscript-bench-rs/lists"}