Benchmarks for various language engineering tools, comparing the same statemachine DSL implemented in Langium (TypeScript), Fastbelt (Go), Xtext (Java), and AnyText (C#).
- Node.js 22+ and npm
- Go, version per fastbelt/statemachine/go.mod
- .NET SDK 9+ and the
anytextgenCLI (installed viadotnet tool install --global NMF-AnyTextGen) - JDK 21+ and Maven
dotnet-trace(dotnet tool install --global dotnet-trace), forbench:anytext:alloconly
Run npm install once before anything else.
The package.json contains multiple scripts to execute different benchmarks. Run npm run bench:sweep to run them all. This will take 10-15 minutes.