[tor-bugs] #11563 [Metrics Website]: Improve consensus-health page by reducing size of HTML

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Apr 19 22:14:39 UTC 2014


#11563: Improve consensus-health page by reducing size of HTML
---------------------------------+------------------------------
     Reporter:  alphawolf        |      Owner:  karsten
         Type:  enhancement      |     Status:  assigned
     Priority:  normal           |  Milestone:
    Component:  Metrics Website  |    Version:
   Resolution:                   |   Keywords:  consensus-health
Actual Points:                   |  Parent ID:
       Points:                   |
---------------------------------+------------------------------

Comment (by alphawolf):

 Part 4 achieves significant gains in render time, especially in Firefox.
 After replacing '<br>' with '\n', document renders in a pretty consistent
 3-4 seconds under Firefox.  Before the change, it renders in 5-9 seconds.
 Under Chrome, DOMContentLoaded is cut from 3.4 seconds to 2.4.  File is
 reduced to about 2.9 MB.  Not bad, starting from 5.4 MB!  I'll supply a
 patch, if desired.

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


More information about the tor-bugs mailing list