[R-pkg-devel] Slowdown running examples since 4.2 on Windows
Greg Hunt
greg @end|ng |rom ||rm@n@y@h@com
Thu Jun 30 01:00:03 CEST 2022
Performance changes on that scale really ought to be either documented as
expected behaviour, or treated as a bug (either in WinBuilder's job
scheduling or R 4.2). I noticed some large variability in
WinBulder elapsed times last time I submitted a package update so there are
probably some capacity constraints in it driving this behaviour.
On Thu, 30 Jun 2022 at 06:26, Barbara Lerner <blerner using mtholyoke.edu> wrote:
> I have a package that I want to submit an updated version for but the
> examples run too slowly on win-builder since 4.2 came out. I just
> submitted the exact same tar.gz file to all 3 versions of R available on
> win-builder and got the results shown below. Notice the dramatic
> slowdown from 4.1.3 to 4.2.1.
>
> I don't know how to go about tracking down the cause of this slowdown.
> The examples are quite small. I am reluctant to use \dontrun, but I am
> not sure what else to do.
>
> June 29 2:33 PM - old release
> * using R version 4.1.3 (2022-03-10)
> i386 timings
> name user system elapsed
> prov.json 3.28 0.33 5.19
> prov.run 2.70 0.27 4.18
>
> x64 timings
> name user system elapsed
> prov.json 3.51 0.27 4.93
> prov.run 3.05 0.28 4.48
>
>
> June 29 2:19 PM - release
> * using R version 4.2.1 (2022-06-23 ucrt)
> * using platform: x86_64-w64-mingw32 (64-bit)
> name user system elapsed
> prov.json 16.98 8.81 26.82
> prov.run 3.53 0.42 4.89
>
>
> June 29 1:52 PM - devel
> * using R Under development (unstable) (2022-06-28 r82534 ucrt)
> * using platform: x86_64-w64-mingw32 (64-bit)
> name user system elapsed
> prov.json 16.60 9.09 26.66
> prov.run 3.57 0.22 4.70 I then ran the same timing script as
> win-builder uses on my Mac,
> using Rscript and got these results: name user system elapsed
> prov.json 1.105 0.159 1.329 prov.run 0.890 0.103
> 1.053 session_info reports: version R version 4.2.0 (2022-04-22)
> os macOS Catalina 10.15.7 system x86_64, darwin17.0 I then
> installed 4.2.1 on my Mac. The time is a little slower but nothing like
> the slowdown on Windows.
> name user system elapsed prov.json 1.286 0.230 3.080
> prov.run 0.940 0.108 1.131 version R version 4.2.1
> (2022-06-23) os macOS Catalina 10.15.7 system x86_64, darwin17.0
>
> --
> <http://www.getpostbox.com>Barbara Lerner (she / her)
> Professor
> Computer Science Department
> Mount Holyoke College
>
> <http://www.getpostbox.com>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list