[tahoe-dev] [tahoe-lafs] #1170: new-downloader performs badly when downloading a lot of data from a file

tahoe-lafs trac at tahoe-lafs.org
Wed Sep 1 00:27:08 UTC 2010


#1170: new-downloader performs badly when downloading a lot of data from a file
------------------------------+---------------------------------------------
     Reporter:  zooko         |       Owner:                                           
         Type:  defect        |      Status:  new                                      
     Priority:  critical      |   Milestone:  1.8.0                                    
    Component:  code-network  |     Version:  1.8β                                     
   Resolution:                |    Keywords:  immutable download performance regression
Launchpad Bug:                |  
------------------------------+---------------------------------------------

Comment (by zooko):

 Ugh, [attachment:1170-p3.diff 1170-p3.diff] adds in jquery.js, 120 KB and
 more than 4000 lines of code, and protovis-!r3.2.js, 116 KB and a minified
 (therefore obscured) version of more than 15,000 lines of code. This means
 we are storing 3rd party source code in our revision control history, and
 in the case of protovis-!r3.2.js it isn't even the real source code, but a
 minified (compressed) version of it. If only there were a principled,
 manageable way to declare our dependencies on those !JavaScript codebases!
 :-(

 But I'm not aware of one that we can use. At least let us not store
 computer-produced stuff -- the minified version of protovis -- but instead
 store the original "preferred form for making modifications" and minify it
 as a part of the build process or as part of the start up of the web
 gateway.

 Does anyone know of a better way to manage our dependencies on !JavaScript
 code?

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1170#comment:106>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-dev mailing list