Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
C
 
 
D
 
 
Go
 
 
Nim
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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:

make run

You can also run individual targets if you're working on improving a target:

  • C: make c_run
  • D: make d_run
  • Go: make go_run
  • Nim: make nim_run
  • Python: make python_run

This will download the resources/ngrams.tsv if it doesn't already exist

Results

This repository is built by Travis for every push or PR. Results are published to the gh-pages branch:

TODO

  • 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

About

A comparison of Nim's performance against the "Faster Command Line Tools in D" blog post found here: http://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.