tweak: clean README, add benchmarks
This commit is contained in:
parent
57fc886bed
commit
72884d8e1e
29
README.md
29
README.md
|
@ -8,21 +8,36 @@ The title of this repository is a pun on two meanings of "time to": "how much ti
|
||||||
|
|
||||||
## Current languages
|
## Current languages
|
||||||
|
|
||||||
- Python
|
- [x] Python
|
||||||
- R
|
- [x] R
|
||||||
- Squiggle
|
- [x] Squiggle
|
||||||
|
- [x] Javascript (NodeJS)
|
||||||
|
- [x] C
|
||||||
|
|
||||||
|
## Performance table
|
||||||
|
|
||||||
|
With the [time](https://man7.org/linux/man-pages/man1/time.1.html) tool, using 1M samples:
|
||||||
|
|
||||||
|
| Language | Time |
|
||||||
|
|----------|-----------|
|
||||||
|
| C | 0m0,442s |
|
||||||
|
| Squiggle | 0m0,488s |
|
||||||
|
| Node | 0m0,732s |
|
||||||
|
| R | 0m7,000s |
|
||||||
|
| Python (CPython) | 0m16,641s |
|
||||||
|
|
||||||
|
I was very surprised that Node/Squiggle code was almost as fast as the raw C code. For the Python code, it's possible that the lack of speed is more a function of me not being as familiar with Python. It's also very possible that the code would run faster with [PyPy](https://doc.pypy.org)
|
||||||
|
|
||||||
## Languages I may add later
|
## Languages I may add later
|
||||||
|
|
||||||
- Javascript
|
- Julia (TuringML)
|
||||||
- Julia
|
|
||||||
- Rust
|
- Rust
|
||||||
- C
|
- Lisp
|
||||||
- ... and suggestions welcome
|
- ... and suggestions welcome
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
uhe future of this project is uncertain. In most words, I simply forget about this repository.
|
The future of this project is uncertain. In most words, I simply forget about this repository.
|
||||||
|
|
||||||
## Other similar projects
|
## Other similar projects
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user