Skip to content

Repository files navigation

Language Tool Benchmark

Benchmarks for various language engineering tools, comparing the same statemachine DSL implemented in Langium (TypeScript), Fastbelt (Go), Xtext (Java), and AnyText (C#).

Requirements

  • Node.js 22+ and npm
  • Go, version per fastbelt/statemachine/go.mod
  • .NET SDK 9+ and the anytextgen CLI (installed via dotnet tool install --global NMF-AnyTextGen)
  • JDK 21+ and Maven
  • dotnet-trace (dotnet tool install --global dotnet-trace), for bench:anytext:alloc only

Run npm install once before anything else.

Benchmark

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.

About

A small benchmark of various language engineering tools

Resources

Security policy

Stars

Watchers

Forks

Contributors

Languages