Skip to content

Commit a5baa2b

Browse files
authored
Add Lute (#9711)
1 parent 24a7351 commit a5baa2b

File tree

7 files changed

+592
-0
lines changed

7 files changed

+592
-0
lines changed

frameworks/Luau/lute/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Lute Benchmarking Test
2+
3+
[Lute](https://github.com/aatxe/lute) is a runtime for [Luau](https://luau.org/), a typed scripting language derived from Lua.
4+
5+
## Test URLs
6+
### JSON
7+
8+
http://localhost:3000/json
9+
10+
### PLAINTEXT
11+
12+
http://localhost:3000/plaintext
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"framework": "lute",
3+
"tests": [
4+
{
5+
"default": {
6+
"json_url": "/json",
7+
"plaintext_url": "/plaintext",
8+
"port": 3000,
9+
"approach": "Realistic",
10+
"classification": "Platform",
11+
"database": "None",
12+
"framework": "None",
13+
"language": "Luau",
14+
"flavor": "None",
15+
"orm": "None",
16+
"platform": "None",
17+
"webserver": "None",
18+
"os": "Linux",
19+
"database_os": "Linux",
20+
"display_name": "Lute",
21+
"notes": "",
22+
"versus": "None"
23+
}
24+
}
25+
]
26+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM ubuntu:24.04
2+
3+
EXPOSE 3000
4+
5+
WORKDIR /app
6+
7+
RUN apt-get update && apt-get install -y curl unzip
8+
9+
COPY rokit.toml .
10+
11+
RUN curl -sSf https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | bash
12+
13+
ENV PATH="/root/.rokit/bin:${PATH}"
14+
15+
RUN rokit install --no-trust-check
16+
17+
COPY ./src .
18+
19+
CMD ["sh", "-c", "lute parallel.luau -- $(nproc)"]

frameworks/Luau/lute/rokit.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This file lists tools managed by Rokit, a toolchain manager for Roblox projects.
2+
# For more information, see https://github.com/rojo-rbx/rokit
3+
4+
# New tools can be added by running `rokit add <tool>` in a terminal.
5+
6+
[tools]
7+
lute = "aatxe/[email protected]"

0 commit comments

Comments
 (0)