aboutsummaryrefslogtreecommitdiff
path: root/implementation
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-11-13 12:29:42 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-11-13 12:30:33 -0500
commite42111e4dfc2fac9f99b053fd3cd65cd6e11259f (patch)
tree3d7dd3fee6bef81af9421ebce5a7779b29c68a41 /implementation
parent244863139cb6a43861953bd349479e3236301613 (diff)
Typos
Diffstat (limited to 'implementation')
-rw-r--r--implementation/perf.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/implementation/perf.md b/implementation/perf.md
index 4624cb49..a6319d02 100644
--- a/implementation/perf.md
+++ b/implementation/perf.md
@@ -15,7 +15,7 @@ Currently we aim for high performance on a single CPU core, and are focusing on
The spotty optimization coverage means that it's more accurate to say CBQN can be fast, not that it will be fast. Have to learn how to use it. Definitely ask on the forum if you're having performance troubles so you can find some tricks to use or request improvements.
-There are two measurement tools in the [time](../spec/system.md#time) system values. `•MonoTime` is a high-precision timer for performance measurements; you can take a time before and after some operation or section of a program and subtract them to get a time in seconds (a profiling tool to do this automatically would be nice, but we don't have one). More convenient for small snippets, `•_timed` returns the time to evaluate `𝔽𝕩`, averaging over `𝕨` runs if given. For two argument functions you can write `w⊸F•_timed x` or `F´•_timed w‿x`. CBQN also has a `)time` command that prints the time taken by an entire expression, not counting compilation time.
+There are two measurement tools in the [time](../spec/system.md#time) system values. `•MonoTime` is a high-precision timer for performance measurements; you can take a time before and after some operation or section of a program and subtract them to get a time in seconds (a profiling tool to do this automatically would be nice, but we don't have one). More convenient for small snippets, `•_timed` returns the time to evaluate `𝔽𝕩`, averaging over `𝕨` runs if given. For two-argument functions you can write `w⊸F•_timed x` or `F´•_timed w‿x`. CBQN also has a `)time` command that prints the time taken by an entire expression, not counting compilation time.
100 +´•_timed ↕1e6 # Time +´ only
)time:100 +´↕1e6 # Time entire expression