Faster Command Line Tools in Nim
This is a project to test how Nim compares to D in one very specific scenario. It was inspired by the
Faster Command line Tools in D blog post.
There's a full blog post explaining the reasoning and with some basic results form my system available here.
Running the tests
All versions are built and ran using Docker.
To run every version and dump results into the
output folder, you can use the
run Make target:
You can also run individual targets if you're working on improving a target:
This will download the
resources/ngrams.tsv if it doesn't already exist
This repository is built by Travis for every push or PR. Results are published to the
- Build an overall results file which will be published to GitHub pages - possibly include graphs in this file?
- Run each version multiple times and take the average run times