Skip to content

Commit 2cc3b47

Browse files
committed
reorganize
1 parent 0a39175 commit 2cc3b47

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/docs/codeflash-concepts/benchmarking.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
## How Codeflash measures the runtime of code
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# How Codeflash measures code runtime
26

37
Codeflash reports benchmarking results that look like this :
48

9+
```text
510
⏱️ Runtime : 32.8 microseconds → 29.2 microseconds (best of 315 runs)
11+
```
612

713
To measure runtime, Codeflash runs a function multiple times with several inputs
814
and sums the minimum time for each input to get the total runtime.

docs/docs/how-codeflash-works.md renamed to docs/docs/codeflash-concepts/how-codeflash-works.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 4
2+
sidebar_position: 1
33
---
44
# How Codeflash Works
55

0 commit comments

Comments
 (0)