[tor-bugs] #28481 [Core Tor/Tor]: Tor's startup time is getting slower on Android

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 18 12:24:24 UTC 2018


#28481: Tor's startup time is getting slower on Android
-------------------------------------------------+-------------------------
 Reporter:  akwizgran                            |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.0.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.4.9
 Severity:  Normal                               |     Resolution:
 Keywords:  android startup performance          |  Actual Points:
  controller                                     |
Parent ID:  #26630                               |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor8-can
-------------------------------------------------+-------------------------

Comment (by akwizgran):

 I've reworked my scripts to remove the Briar dependency; the results are
 still the same. I'm attaching the following files:

 native.sh - bash script that starts Tor, authenticates to the control port
 and stops Tor, printing the time (seconds and nanoseconds since the epoch)
 at each step. Specify the location of the Tor binary (and dynamic libs if
 required) with TOR_DIRECTORY. Requires GNU sleep, hexdump, expect, nc.

 run-native.sh - bash script that runs native.sh with binaries for various
 Tor versions, 5 runs per version. Specify the location of the binaries
 with TOR_BINARIES_DIRECTORY.

 startup-time-native.pl - Perl script that extracts elapsed times from a
 log produced by run-native.sh. Feed the log to stdin.

 I used statically linked binaries built with
 [https://code.briarproject.org/briar/tor-reproducer tor-reproducer].
 native.sh should also work with Tor Browser binaries, but you'll need to
 copy the dynamic libs into the cwd before running run-native.sh.

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


More information about the tor-bugs mailing list