Opened 9 years ago

Closed 5 years ago

#2092 closed task (wontfix)

Profile a running Vidalia

Reported by: arma Owned by:
Priority: Medium Milestone:
Component: Archived/Vidalia Version: Vidalia 0.2.10
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Look at vidalia in oprofile, and let us know where it spends its time. In particular, there are some pieces of the code that seem to take a lot of energy (e.g. all the country code lookups for the new network map).

There are many reports recently of Vidalia freezes, and it's possible some of them are just Vidalia being slow and not being responsible to its UI while it's being slow.

Child Tickets

Attachments (1)

callgrind.out.12291.gz (794.0 KB) - added by phobos 8 years ago.
callgrind of vidalia 0.3.1-alpha

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by cypherpunks

In 0.2.10 this freeze isn't true. Vidalia is correctly coded to interrupt the cc resolution (network map refresh too) to allow for user actions in the gui. A better question is why the local resolution of IP to country is so slow, when everything is running on the localhost interface through the tor control interface and local cpu. Unless tor does something odd with the geoip db, this should be sub-second resolution for 2000 relays.

comment:2 Changed 9 years ago by cypherpunks

I have a trace from the Mac XCode Instruments utility. It is 1.2MB large when compressed, which is too large for this ticketing system. How can I upload it? You can see what vidalia is doing when running and when refreshing the network window?

comment:3 Changed 9 years ago by chiiph

Version: Vidalia 0.2.10

Any of all the uploading systems will be ok.
Thanks

Changed 8 years ago by phobos

Attachment: callgrind.out.12291.gz added

callgrind of vidalia 0.3.1-alpha

comment:4 Changed 8 years ago by phobos

As vidalia 0.3.1-alpha is the future version of vidalia, I did a callgrind dump of it. Use kcachegrind in linux to make pretty call graphs and analyze the callgrind data.

comment:5 Changed 5 years ago by arma

Resolution: wontfix
Status: newclosed

Closing as Vidalia isn't much maintained anymore.

Note: See TracTickets for help on using tickets.