-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OPTIMIZATION] Profiling of influx_query() #28
Comments
@ckatsulis Thanks for your profiling!!! Could you please check the performance again with latest dev version 8b0568d |
You are the man! How do I install that specific dev version with devtools?
…On Mon, Aug 21, 2017 at 4:24 AM, Dominik Leutnant ***@***.***> wrote:
@ckatsulis <https://github.com/ckatsulis> Thanks for your profiling!!!
Could you please check the performance again with latest dev version
8b0568d
<8b0568d>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHKwqnfUq0wnAxHWNpCQ6mr8Z2tPG-Vzks5saUy3gaJpZM4O8t0d>
.
|
|
That works exactly as anticipated. Thanks again for the quick turn around! I'm guessing 20x improvement. You have recently changed your main wiki page, but you used to remind patrons how to install the dev version until you can push these to CRAN. People are definately gonna want these last three improvements! |
CRAN maintainers are quite fast these days: New release of influxdbr 0.13.0. is already on CRAN! Thanks for your support, @ckatsulis ! |
Quick moving... Thanks for letting me know.
…On Tue, Aug 22, 2017 at 12:37 AM, Dominik Leutnant ***@***.*** > wrote:
CRAN maintainers are quite fast these days: New release of influxdbr is
already on CRAN! Thanks for your support, @ckatsulis
<https://github.com/ckatsulis> !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHKwqnPN3YmEGbZ-O7MfnjGWw8xNBbBNks5samkygaJpZM4O8t0d>
.
|
I'm going to close this issue for now as it addressed a specific parsing problem (which has been solved). |
Thanks again!
…On Thu, Aug 31, 2017 at 3:37 AM, Dominik Leutnant ***@***.***> wrote:
Closed #28 <#28>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHKwqqNQG38xN5gX8wLVFbyubHnYCRD8ks5sdnDSgaJpZM4O8t0d>
.
|
Dominik,
First, a thanks for you effort and attention to this package. Hopefully you will be getting more and more help in the upcoming months as influxdb continues to gain ground.
Observation
One interesting observation with the package is the time it takes to pull down large data sets relative to the network activity on the querying host where the R call is made.
I have noticed large lags between when the data connection ceasing activity and when the R call eventually returns a result. As I'm on 155Mbits/sec download, I see my network connection peak at around 35-50Mbits for about 10-20 seconds, then nothing. I then believe it takes R several minutes to assemble what has been pulled. Is this consistent with your experience?
Investigation
I tried to get a profile using
profvis
andprofr
, however it causes my windows R session to crash. Are you able to try this on your end for windows?However, I was able to get this to work for my linux machine. I wanted to give you one from about 100k+ lines, but the file size was around 6MB and takes 35 seconds on my little VM. This was the result from a call with around 10k lines:
The problem looks fairly well nested in some character / string handling. In my experience, it might benefit all if those calls could be replaced with optimized Rcpp equivalents. I don't know if you have a need for speed, but a change would drastically elevate R's competitiveness to python or the like in these situations.
profile = dget("profile.txt")
profile.txt
System Info
The text was updated successfully, but these errors were encountered: