analyticalmonk / Rperform

:bar_chart: R package for tracking performance metrics across git versions and branches.
https://analyticalmonk.github.io/Rperform
GNU General Public License v3.0
65 stars 9 forks source link

record timings of running entire test-*.R file #4

Closed tdhock closed 9 years ago

tdhock commented 9 years ago

In some test files such as https://github.com/tdhock/animint/blob/panel_backgrounds/tests/testthat/test-panels.R most of the work is being done outside of test_that blocks, so we should also record the amount of time it takes to run source on the entire test-*.R file.

tdhock commented 9 years ago

also some packages don't use testthat at all, such as https://github.com/HenrikBengtsson/matrixStats/blob/master/tests/rowDiffs.R

for such packages it would be nice to record the time/memory info for executing the whole test file.