time-to-botec/time.txt

96 lines
1.8 KiB
Plaintext
Raw Normal View History

# bc
time ghbc -l squiggle.bc estimate.bc
2024-02-11 18:24:00 +00:00
.8872657001481914
2023-06-02 22:24:08 +00:00
2024-02-11 18:24:00 +00:00
real 0m16.170s
user 0m16.115s
sys 0m0.008s
2023-06-02 22:24:08 +00:00
2023-05-29 23:40:03 +00:00
# C
Running 100x and taking avg time: OMP_NUM_THREADS=16 out/samples
2024-02-11 18:24:00 +00:00
Time using 16 threads: 6.20ms
# js (bun)
2024-02-11 18:24:00 +00:00
0.8861715640546732
2024-02-11 18:24:00 +00:00
real 0m0.562s
user 0m0.540s
sys 0m0.074s
# js (node)
2024-02-11 18:24:00 +00:00
0.8863245179136781
2024-02-11 18:24:00 +00:00
real 0m0.423s
user 0m0.509s
sys 0m0.077s
# lua (luajit)
Requires /bin/time, found on GNU/Linux systems
Running 100x and taking avg time of: luajit samples.lua
2024-02-11 18:24:00 +00:00
Time: 68.80ms
2023-05-21 05:46:45 +00:00
2023-05-21 05:54:03 +00:00
# nim
Requires /bin/time, found on GNU/Linux systems
2023-05-21 05:46:45 +00:00
2024-02-11 18:24:00 +00:00
Running 100x and taking avg time of:
Time: 41.10ms
2023-05-21 05:46:45 +00:00
2023-06-09 01:12:07 +00:00
# ocaml
Requires /bin/time, found on GNU/Linux systems
2024-02-11 18:24:00 +00:00
Running 100x and taking avg time of:
Time: 185.50ms
2023-06-09 01:12:07 +00:00
# Python (3.9)
0.8887373869178242
2023-06-10 01:12:33 +00:00
2024-02-11 18:24:00 +00:00
real 0m11.909s
user 0m12.149s
sys 0m1.145s
# R (3.6.1)
2024-02-11 18:24:00 +00:00
[1] 0.8862725
2024-02-11 18:24:00 +00:00
real 0m4.494s
user 0m4.465s
sys 0m0.025s
# Squiggle (0.8.6)
Requires /bin/time, found on GNU/Linux systems
2024-02-11 18:24:00 +00:00
Running 100x and taking avg time of:
Time: 384.00ms
2023-08-17 12:36:03 +00:00
# SquigglePy (0.27)
time python3.9 samples.py
2024-02-11 18:24:00 +00:00
100%|█████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 22.58it/s]
100%|████████████████████████████████████████████████████████████████████| 1000000/1000000 [00:00<00:00, 1322894.77it/s]
0.8876134007583529
2023-08-17 12:36:03 +00:00
2024-02-11 18:24:00 +00:00
real 0m1.542s
user 0m1.989s
sys 0m2.226s
2023-10-15 00:19:56 +00:00
# squiggle.c
Running 100x and taking avg time: OMP_NUM_THREADS=16 ./samples
2024-02-11 18:24:00 +00:00
Time using 16 threads: 7.20ms
2023-11-02 23:52:56 +00:00