You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@8f3ee1c31d84:/# time Rscript test.R
...
real 0m0.146s
user 0m0.090s
sys 0m0.030s
Python is slow than native Rscript, but still comparable. But perl client is more than 10x slower. I wonder if there is something inefficient or a bug in the client.
I tested on both remote and local host to Rserve.
R version 3.1.1
Rserve 1.8-5, 1.7-3, 0.6-8 all similar results.
The text was updated successfully, but these errors were encountered:
Can you check the performance of just a single assignment? (E.g., x1) I want to check whether it's any object, even a simple vector (x1), or if it's especially the more complex objects, like matrices (i.e., cbind).
The library was never optimized for performance, it's kind of like a recursive parser to make it easy to work from the protocol spec.
unless x1 is actually needed in the PG problem. I know it's just a workaround, but I don't have the time right now to deep dive into performance issues in the library.
It seems the library has slow performance on larger data set. Here is the example:
root@6b3ba909a6e2:/opt/webwork# time perl test.pl .... real 0m3.931s user 0m3.890s sys 0m0.030s
Same R statements running in python client:
root@6b3ba909a6e2:/opt/webwork# time python test.py ... real 0m0.291s user 0m0.080s sys 0m0.110s
Native Rscript:
root@8f3ee1c31d84:/# time Rscript test.R ... real 0m0.146s user 0m0.090s sys 0m0.030s
Python is slow than native Rscript, but still comparable. But perl client is more than 10x slower. I wonder if there is something inefficient or a bug in the client.
I tested on both remote and local host to Rserve.
R version 3.1.1
Rserve 1.8-5, 1.7-3, 0.6-8 all similar results.
The text was updated successfully, but these errors were encountered: