[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #20331 [Metrics/Metrics website]: Speed up Metrics graphs by up to 4 seconds
#20331: Speed up Metrics graphs by up to 4 seconds
-------------------------------------+------------------------
Reporter: karsten | Owner:
Type: enhancement | Status: closed
Priority: Medium | Milestone:
Component: Metrics/Metrics website | Version:
Severity: Normal | Resolution: fixed
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------+------------------------
Changes (by karsten):
* status: new => closed
* resolution: => fixed
Comment:
Alright, I made some good progress here by switching from `read.csv()` to
`load()`:
https://gitweb.torproject.org/metrics-
web.git/commit/?id=1f90b72368bfd2a15ee60efb7fbbcc62b3c03cdc
Performance gain as compared to pre-a91f2dc:
- userstats-relay-country: 3.0 seconds
- userstats-bridge-country: 3.5 seconds
- userstats-bridge-transport: 3.5 seconds
- userstats-bridge-version: 3.5 seconds
- userstats-bridge-combined: 2.7 seconds
I'll call this done, in particular with regard to not overengineering
this. Closing.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20331#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs