diff --git a/dev/articles/profiling.html b/dev/articles/profiling.html index c81a95dd79..f03b78eba2 100644 --- a/dev/articles/profiling.html +++ b/dev/articles/profiling.html @@ -130,7 +130,7 @@
In general, a minimal plot is used so that profiles are focused on +
In general, a minimal plot is used so that profiles are focused on low-level, general code, rather than implementations of specific geoms. This might be expanded at the point where improving performance of specific geoms becomes a focus. Further, the profile focuses on the diff --git a/dev/news/index.html b/dev/news/index.html index 96efa8d1b2..34b8a05e34 100644 --- a/dev/news/index.html +++ b/dev/news/index.html @@ -67,7 +67,8 @@
Moved {mgcv} from Imports to Suggests (@teunbrand, #5986)
Passing empty unmapped aesthetics to layers raises a warning instead of throwing an error (@teunbrand, #6009).
Moved {mgcv} from Imports to Suggests (@teunbrand, #5986)
New reset_geom_defaults()
and reset_stat_defaults()
to restore all geom or stat default aesthetics at once (@teunbrand, #5975).
facet_wrap()
can have space = "free_x"
with 1-row layouts and space = "free_y"
with 1-column layouts (@teunbrand)
Secondary axes respect n.breaks
setting in continuous scales (@teunbrand, #4483).
benchplot(ggplot(mtcars, aes(mpg, wt)) + geom_point())
#> step user.self sys.self elapsed
-#> 1 construct 0.003 0 0.003
-#> 2 build 0.018 0 0.018
-#> 3 render 0.021 0 0.020
-#> 4 draw 0.020 0 0.021
-#> 5 TOTAL 0.062 0 0.062
+#> 1 construct 0.003 0 0.002
+#> 2 build 0.019 0 0.018
+#> 3 render 0.019 0 0.019
+#> 4 draw 0.020 0 0.020
+#> 5 TOTAL 0.061 0 0.059
benchplot(ggplot(mtcars, aes(mpg, wt)) + geom_point() + facet_grid(. ~ cyl))
#> step user.self sys.self elapsed
-#> 1 construct 0.002 0 0.003
-#> 2 build 0.020 0 0.019
-#> 3 render 0.046 0 0.046
-#> 4 draw 0.037 0 0.037
-#> 5 TOTAL 0.105 0 0.105
+#> 1 construct 0.003 0 0.003
+#> 2 build 0.019 0 0.019
+#> 3 render 0.045 0 0.045
+#> 4 draw 0.036 0 0.035
+#> 5 TOTAL 0.103 0 0.102
# With tidy eval:
p <- expr(ggplot(mtcars, aes(mpg, wt)) + geom_point())
benchplot(!!p)
#> step user.self sys.self elapsed
-#> 1 construct 0.003 0 0.002
-#> 2 build 0.018 0 0.017
-#> 3 render 0.020 0 0.019
-#> 4 draw 0.021 0 0.021
-#> 5 TOTAL 0.062 0 0.059
+#> 1 construct 0.002 0 0.002
+#> 2 build 0.018 0 0.018
+#> 3 render 0.019 0 0.019
+#> 4 draw 0.020 0 0.020
+#> 5 TOTAL 0.059 0 0.059