Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-05-18 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+-
 Reporter:  karsten  |  Owner:  karsten
 Type:  enhancement  | Status:  closed
 Priority:  Low  |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:  fixed
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:  iwakeh   |Sponsor:
-+-
Changes (by karsten):

 * status:  needs_review => closed
 * resolution:   => fixed


Comment:

 Great, thanks for checking! Merged to master. Closing, because we did what
 we could and there's always more to do. Thanks!

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-05-18 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  karsten
 Type:  enhancement  | Status:  needs_review
 Priority:  Low  |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:  iwakeh   |Sponsor:
-+--

Comment (by iwakeh):

 All ant tests and checks pass. On my machine the war-building time is at
 43 sec.  So, looking further into a tight RS integration as mentioned in
 comment:2 would still help.

 Please adjust the status as needed.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-05-16 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  karsten
 Type:  enhancement  | Status:  needs_review
 Priority:  Low  |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:  iwakeh   |Sponsor:
-+--
Changes (by karsten):

 * priority:  Medium => Low


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-05-16 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  karsten
 Type:  enhancement  | Status:  needs_review
 Priority:  Medium   |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:  iwakeh   |Sponsor:
-+--
Changes (by iwakeh):

 * reviewer:   => iwakeh


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-05-16 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  karsten
 Type:  enhancement  | Status:  needs_review
 Priority:  Medium   |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+--
Changes (by karsten):

 * status:  accepted => needs_review


Comment:

 Please review two commits [https://gitweb.torproject.org/karsten/metrics-
 web.git/commit/?h=task-25699=e4c0404a743d99d589361a8acece5ec84ba97f99
 e4c0404] and [https://gitweb.torproject.org/karsten/metrics-
 web.git/commit/?h=task-25699=786fae5314024b69b824af21143a98226c3ef045
 786fae5] in [https://gitweb.torproject.org/karsten/metrics-
 web.git/log/?h=task-25699 my task-25699 branch]. It doesn't help much, but
 at least a little bit.

 What we should do in the future is that we watch out for new libraries
 that we only need for the stats part. For example, Apache Commons Math.
 Just something to keep in mind.

 Not sure if there's more to do here. Happy to give this ticket back after
 these two commits are reviewed, possibly revised, and merged.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-05-16 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  karsten
 Type:  enhancement  | Status:  accepted
 Priority:  Medium   |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+--
Changes (by karsten):

 * owner:  iwakeh => karsten


Comment:

 I'm briefly looking a bit more into this. Will get back here with results
 this afternoon. Temporarily stealing the ticket.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-05-04 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  iwakeh
 Type:  enhancement  | Status:  accepted
 Priority:  Medium   |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+--

Comment (by iwakeh):

 Yes, everything that is not included helps!

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-05-03 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  iwakeh
 Type:  enhancement  | Status:  accepted
 Priority:  Medium   |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+--

Comment (by karsten):

 I think I found something: I just added `commons-math3-3.6.1.jar` (2.1M)
 to the libs for an unrelated experiment, and the effect on `ant war`
 (which doesn't even use that lib in my experiment) was that it took 97
 seconds as compared to 66 seconds without that lib.

 So, a quick fix might be to look closer which libraries are required in
 the .war file. For example, we could easily remove
 `postgresql-9.4.1212.jar` (636K) from the .war and only use it in the
 .jar. I didn't look much further, but maybe there are other libraries we
 can avoid including in the .war.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-04-09 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  iwakeh
 Type:  enhancement  | Status:  accepted
 Priority:  Medium   |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+--

Comment (by iwakeh):

 Update:
 Ticket's #25392 start of an integration branch (see
 [https://gitweb.torproject.org/user/iwakeh/metrics-
 web.git/commit/?h=task-25392=d53c790aa8e85adfeb6f042816eb41209d76ed50
 comment 5 there]) reduces the war-file size to 19M and duration to 28sec,
 where the latter is not really comparable as I'm using a different
 machine.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25699 [Metrics/Website]: Make `ant war` run faster and the resulting .war file smaller

2018-04-09 Thread Tor Bug Tracker & Wiki
#25699: Make `ant war` run faster and the resulting .war file smaller
-+--
 Reporter:  karsten  |  Owner:  iwakeh
 Type:  enhancement  | Status:  accepted
 Priority:  Medium   |  Milestone:
Component:  Metrics/Website  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+--
Changes (by iwakeh):

 * owner:  metrics-team => iwakeh
 * status:  new => accepted


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs