Skip to content

Commit

Permalink
content: minor text change
Browse files Browse the repository at this point in the history
  • Loading branch information
changkun committed Jan 1, 2022
1 parent 1f8c9f8 commit d33e662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/posts/bench-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Atomic/n-100000/w/o-timer-8 432µs ± 0%
What's interesting in the modified benchmark result is by testing target code with a higher cost,
the difference between `with-timer` and `w/o-timer` gets much closer. For instance, in the last pair of output when `n=100000`, the measured atomic operation only has `(444µs-432µs)/100000 = 0.12 ns` difference, which is pretty much accurate other than when `n=1` the error is `(34.8ns-6.44ns)/1 = 28.36 ns`.

So, how is this happening? There are two ways to trace the problem down to the bare bones.
How is this happening? There are two ways to trace the problem down to the bare bones.

<!--more-->

Expand Down

0 comments on commit d33e662

Please sign in to comment.