From d1013758c83d3edad794027d62660ff883a9026a Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 9 Jun 2023 19:12:33 -0600 Subject: [PATCH] update squigglepy timing in readme --- README.md | 2 +- time.txt | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 03180b69..42a5daf2 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/time.txt b/time.txt index bafaae51..dc72dbd0 100644 --- a/time.txt +++ b/time.txt @@ -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