Skip to content

Commit 5b0746c

Browse files
authored
Docs: correct placement of benchmark start (#2563)
1 parent 18c9b0d commit 5b0746c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/videos/deno_bench.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ benchmark reading just the first word? If we use the `bench`
114114
const FILENAME = "./Releases.md";
115115

116116
Deno.bench("get first word", (b) => {
117-
b.start();
118117
const file = Deno.readTextFileSync(FILENAME);
118+
b.start();
119119
const firstWord = file.split(" ")[0];
120120
b.end();
121121
});

0 commit comments

Comments
 (0)