update squigglepy timing in readme

This commit is contained in:
NunoSempere 2023-06-09 19:12:33 -06:00
parent 7dd1c17b42
commit d1013758c8
2 changed files with 10 additions and 6 deletions

View File

@ -38,8 +38,8 @@ The title of this repository is a pun on two meanings of "time to": "how much ti
| C (naïve implementation) | 292ms | 149 |
| Javascript (NodeJS) | 732ms | 69 |
| Squiggle | 1,536s | 14 |
| SquigglePy | 1.602s | 18 |
| R | 7,000s | 49 |
| SquigglePy | 14.305s | 18 |
| Python (CPython) | 16,641s | 56 |
Time measurements taken with the [time](https://man7.org/linux/man-pages/man1/time.1.html) tool, using 1M samples.

View File

@ -91,9 +91,13 @@ sys 0m0.020s
## Squigglepy
$ time python3 samples.py
0.8847701592663298
real 0m14.305s
user 0m14.130s
sys 0m0.494s
— time make run
python3 samples.py
100%|█████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 20.68it/s]
100%|████████████████████████████████████████████████████████████████████| 1000000/1000000 [00:00<00:00, 1298266.78it/s]
0.8854926010232937
real 0m1.602s
user 0m1.582s
sys 0m0.331s