This is a small repo for our Fastbelt Introduction blog post. It contains three benchmarks:
- An example implementation of the well-known State machine language in Xtext. The benchmark can be found here. Run
mvn installin the/org.eclipse.xtext.example.fowlerdsl.parentdirectory before running the benchmark file. - A benchmark script to test throughput of the statemachine implementation of Langium. Found here. Run it with
npm run bench:statemachine. - A script to benchmark the startup performance of a language server. Run
npm installand and thennpm run bench -- "./path/to/language-server" "./example.statemachine" --runs 10.