[tor-bugs] #33283 [Applications/rbm]: Add caching for the exec function in rbm

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 12 20:31:03 UTC 2020


#33283: Add caching for the exec function in rbm
--------------------------------------------+------------------------------
 Reporter:  boklm                           |          Owner:  boklm
     Type:  task                            |         Status:  needs_review
 Priority:  Medium                          |      Milestone:
Component:  Applications/rbm                |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tbb-rbm, TorBrowserTeam202002R  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:                                  |        Sponsor:
--------------------------------------------+------------------------------

Comment (by dcf):

 Replying to [comment:3 boklm]:
 > When running the command `rbm/rbm showconf tor-browser filename --target
 torbrowser-linux-x86_64 --target alpha` on my machine, without those
 patches it takes 3m25. With the first patch, it now takes 2m49, and 1m59
 with both patches.

 For me the times are 5m28s with no patches, and 3m50s with both patches.
 This is with having run `make fetch` beforehand.

 {{{
 # git log --oneline | head -n 1
 c27a4f7 Pick up tor-browser -build2
 # time rbm/rbm showconf tor-browser filename --target torbrowser-linux-
 x86_64 --target alpha
 tor-browser-9.5a5-linux-x86_64-0e25a4

 real    5m28.603s
 user    4m53.818s
 sys     0m38.330s
 # cd rbm
 # git remote add boklm https://git.torproject.org/user/boklm/rbm.git
 # git fetch boklm
 # git checkout bug_33283_v2
 # cd ..
 # time rbm/rbm showconf tor-browser filename --target torbrowser-linux-
 x86_64 --target alpha
 tor-browser-9.5a5-linux-x86_64-0e25a4

 real    3m50.601s
 user    3m38.372s
 sys     0m13.379s
 }}}

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


More information about the tor-bugs mailing list