Skip to content

Commit 40865d7

Browse files
authored
Fix few broken links (#286)
* Fix broken link in index.md * Update reference link in index.md
1 parent e9ce3c4 commit 40865d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ BenchmarkTools.Trial:
2929
Memory estimate: 160 bytes, allocs estimate: 1.
3030
```
3131

32-
For quick sanity checks, one can use the [`@btime` macro](https://github.com/JuliaCI/BenchmarkTools.jl/blob/master/doc/manual.md#benchmarking-basics), which is a convenience wrapper around `@benchmark` whose output is analogous to Julia's built-in [`@time` macro](https://docs.julialang.org/en/v1/base/base/#Base.@time):
32+
For quick sanity checks, one can use the [`@btime` macro](https://juliaci.github.io/BenchmarkTools.jl/stable/manual/#Benchmarking-basics), which is a convenience wrapper around `@benchmark` whose output is analogous to Julia's built-in [`@time` macro](https://docs.julialang.org/en/v1/base/base/#Base.@time):
3333

3434
```julia
3535
julia> @btime sin(x) setup=(x=rand())
@@ -40,7 +40,7 @@ julia> @btime sin(x) setup=(x=rand())
4040
If you're interested in profiling a fast-running command, you can use `@bprofile sin(x) setup=(x=rand())` and then your favorite
4141
tools for displaying the results (`Profile.print` or a graphical viewer).
4242

43-
If the expression you want to benchmark depends on external variables, you should use [`$` to "interpolate"](https://github.com/JuliaCI/BenchmarkTools.jl/blob/master/doc/manual.md#interpolating-values-into-benchmark-expressions) them into the benchmark expression to
43+
If the expression you want to benchmark depends on external variables, you should use [`$` to "interpolate"](https://juliaci.github.io/BenchmarkTools.jl/stable/manual/#Interpolating-values-into-benchmark-expressions) them into the benchmark expression to
4444
[avoid the problems of benchmarking with globals](https://docs.julialang.org/en/v1/manual/performance-tips/#Avoid-global-variables).
4545
Essentially, any interpolated variable `$x` or expression `$(...)` is "pre-computed" before benchmarking begins:
4646

@@ -73,4 +73,4 @@ julia> @btime $(Ref(a))[] + $(Ref(b))[]
7373
3
7474
```
7575

76-
As described in the [Manual](@ref), the BenchmarkTools package supports many other features, both for additional output and for more fine-grained control over the benchmarking process.
76+
As described in the [Manual](https://juliaci.github.io/BenchmarkTools.jl/stable/reference/), the BenchmarkTools package supports many other features, both for additional output and for more fine-grained control over the benchmarking process.

0 commit comments

Comments
 (0)