Running
the test suite is a proxy for some kind of benchmark. Obviously this is
inadequate with most CRAN test-suites. However, the test_that path may
be set to a directory of testthat tests, which are called by
test_dir. Alternatively, environment variables or R
options may be set to run computationally intensive tests which exercise the
compiled code.
| 1 2 3 4 5 6 | pgo_bench(pkg_path = getwd(), test_path = "tests/testthat",
  prof_dir = file.path(pkg_path, "src/prof"), iterations = 7,
  quiet = TRUE, reporter = ifelse(quiet, "silent", "check"),
  clean = FALSE, opt_level = "-O3", cc = "clang", cxx = "clang++",
  brew = Sys.info()[["sysname"]] == "Darwin", measure = c("real",
  "user", "system"), ...)
 | 
Do not use 'ccache'!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.