[tor-bugs] #28799 [Metrics/Website]: Use R.cache to speed up drawing graphs

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 14 12:19:13 UTC 2018


#28799: Use R.cache to speed up drawing graphs
-----------------------------+-----------------------------------
 Reporter:  karsten          |          Owner:  karsten
     Type:  enhancement      |         Status:  needs_information
 Priority:  Medium           |      Milestone:
Component:  Metrics/Website  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+-----------------------------------
Changes (by notirl):

 * status:  needs_review => needs_information


Comment:

 This commit looks OK. I'm not sure about the approach though. We had
 talked about using the same CSVs for these graphs as we make available for
 download so that we don't have two different CSVs and it is easier to plot
 custom graphs using our code as a starting point.

 For the graphs that I've been making for various requests I've been using
 the readr library which works nicely with the tidyr universe of packages.
 What would the performance impact be of reading the CSVs from a ramdisk
 instead of caching them in R?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28799#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list