feat: recompute time for Squiggle

This commit is contained in:
NunoSempere 2022-12-03 13:15:28 +00:00
parent 94119e0173
commit 7cecdd24b8
2 changed files with 7 additions and 7 deletions

View File

@ -21,11 +21,12 @@ With the [time](https://man7.org/linux/man-pages/man1/time.1.html) tool, using 1
| Language | Time |
|----------|-----------|
| C | 0m0,442s |
| Squiggle | 0m0,488s |
| Node | 0m0,732s |
| Squiggle | 0m1,536s |
| 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
@ -40,7 +41,7 @@ I was very surprised that Node/Squiggle code was almost as fast as the raw C cod
The future of this project is uncertain. In most words, I simply forget about this repository.
To do:
- [ ] Check whether the Squiggle code is producing 1M samples.
- [x] Check whether the Squiggle code is producing 1M samples.
## Other similar projects

View File

@ -8,10 +8,9 @@ sys 0m0,064s
# Squiggle
real 0m0,488s
user 0m0,567s
sys 0m0,099s
real 0m1,536s
user 0m1,564s
sys 0m0,240s
# NodeJS