search for: tictoc

Displaying 7 results from an estimated 7 matches for "tictoc".

2018 Aug 12
2
Package compiler - efficiency problem
...istributed by R-forge (gEcon). One of gEcon package users found a strange behaviour of package (R froze for couple of minutes) and reported it to me. I traced the strange behaviour to compiler package. I attach short demonstration of the problem to this mail (demonstration makes use of compiler and tictoc packages only). In short, the compiler package has problems in compiling large functions - their compilation and execution may take much longer than direct execution of an uncompiled function. Such functions are generated by gEcon package as they describe steady state for economy. I am curious if...
2018 Aug 16
3
Package compiler - efficiency problem
...e > (gEcon). One of gEcon package users found a strange behaviour of package (R > froze for couple of minutes) and reported it to me. I traced the strange > behaviour to compiler package. I attach short demonstration of the problem > to this mail (demonstration makes use of compiler and tictoc packages only). > > In short, the compiler package has problems in compiling large functions - > their compilation and execution may take much longer than direct execution > of an uncompiled function. Such functions are generated by gEcon package as > they describe steady state for e...
2018 Aug 13
0
Package compiler - efficiency problem
...e > (gEcon). One of gEcon package users found a strange behaviour of package (R > froze for couple of minutes) and reported it to me. I traced the strange > behaviour to compiler package. I attach short demonstration of the problem > to this mail (demonstration makes use of compiler and tictoc packages only). > > In short, the compiler package has problems in compiling large functions - > their compilation and execution may take much longer than direct execution > of an uncompiled function. Such functions are generated by gEcon package as > they describe steady state for e...
2020 Nov 04
2
parallel PSOCK connection latency is greater on Linux?
I'm not sure the user would know ;). This is very system-specific issue just because the Linux network stack behaves so differently from other OSes (for purely historical reasons). That makes it hard to abstract as a "feature" for the R sockets that are supposed to be platform-independent. At least TCP_NODELAY is actually part of POSIX so it is on better footing, and disabling
2020 Nov 04
0
parallel PSOCK connection latency is greater on Linux?
Please, check a tcpdump session on localhost while running the following script: library(parallel) library(tictoc) cl <- makeCluster(1) Sys.sleep(1) for (i in 1:10) { tic() x <- clusterEvalQ(cl, iris) toc() } The initialization phase comprises 7 packets. Then, the 1-second sleep will help you see where the evaluation starts. Each clusterEvalQ generates 6 packets: 1. main -> worker PSH, ACK 10...
2018 Aug 17
0
Package compiler - efficiency problem
...Econ package users found a strange behaviour of package (R >> froze for couple of minutes) and reported it to me. I traced the strange >> behaviour to compiler package. I attach short demonstration of the problem >> to this mail (demonstration makes use of compiler and tictoc packages only). >> >> In short, the compiler package has problems in compiling large functions - >> their compilation and execution may take much longer than direct execution >> of an uncompiled function. Such functions are generated by gEcon package as >>...
2020 Jun 04
2
mclust package installation is preparing for lazy loading and never finishes
...plete list of packages already installed at my library directory: marc at hera:~/R/x86_64-pc-linux-gnu-library/4.0$ ls askpass DEoptimR generics later pkgbuild readxl tibble assertthat desc ggplot2 lazyeval pkgconfig rematch tictoc backports deSolve glue lifecycle pkgload remotes tidyr base64enc digest gridExtra lspline plotly reprex tidyselect BH diptest gtable lubridate plyr reshape2 tidyverse blob dplyr...