From 4d3f9546ea36e1a088b4b90f71b652c189c7e548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Sat, 26 Mar 2022 07:10:18 +0100 Subject: [PATCH] change @benchmark to @btime --- ch09.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ch09.jl b/ch09.jl index b64068e..6c5398c 100644 --- a/ch09.jl +++ b/ch09.jl @@ -96,8 +96,9 @@ df1.Popularity === puzzles.Popularity df2.Rating === puzzles.Rating df2.Popularity === puzzles.Popularity -@benchmark $puzzles[:, ["Rating", "Popularity"]] -@benchmark $puzzles[!, ["Rating", "Popularity"]] +using BenchmarkTools +@btime $puzzles[:, ["Rating", "Popularity"]]; +@btime $puzzles[!, ["Rating", "Popularity"]]; puzzles[1, 1] puzzles[[1], 1]