Opened 8 years ago

Closed 3 years ago

#7879 closed defect (wontfix)

Improve compass performance

Reported by: gsathya Owned by: metrics-team
Priority: Low Milestone:
Component: Metrics/Compass Version:
Severity: Keywords:
Cc: karsten, cwacek@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Compass seems to be slower than usual and seems to block the UI, freezing the browser for significant amounts of time. We need to figure out why this is happening and fix it.

Child Tickets

Change History (9)

comment:1 Changed 8 years ago by arma

Agree.

I assume it is because of code merge at https://trac.torproject.org/projects/tor/ticket/6612#comment:16

comment:2 Changed 8 years ago by arma

Cc: karsten added

comment:3 Changed 8 years ago by karsten

gsathya, are you looking into this, or shall I?

comment:4 in reply to:  3 Changed 8 years ago by gsathya

Replying to karsten:

gsathya, are you looking into this, or shall I?

I'm clueless about AngularJS. It'll take quite a while for me to read up on that and figure out what's going on. I hope cwacek can look into this maybe?

comment:5 Changed 8 years ago by karsten

Cc: cwacek@… added

Cc'ing cwacek. cwacek, I hope you don't regret submitting a patch. :) Please let us know if you can't look into this, maybe giving us a hint where to look, and either gsathya or I will try to fix this. Thanks!

comment:6 in reply to:  5 ; Changed 8 years ago by cwacek

Replying to karsten:

Cc'ing cwacek. cwacek, I hope you don't regret submitting a patch. :) Please let us know if you can't look into this, maybe giving us a hint where to look, and either gsathya or I will try to fix this. Thanks!

Do we have any examples of activity where this occurs? Is it during specific actions, or just generally?

comment:7 in reply to:  6 Changed 8 years ago by karsten

Priority: normalminor

Replying to cwacek:

Do we have any examples of activity where this occurs? Is it during specific actions, or just generally?

I think it's not specific to any query, but it's generally slow. It seems that producing result.json is particularly slow. However, running ./compass.py on the VM is also much slower than, e.g., on my laptop (5 seconds vs. 0.5 seconds). We can't blame the web stuff for this.

So, we could try to make compass.py faster, or we could beef up the VM. Or we could learn the lesson that writing a web wrapper for a command-line tool doesn't magically produce a good website. I'm leaning towards the latter and suggest we focus on gsathya's suggestion in #6682 for providing a faster Compass website.

comment:8 Changed 3 years ago by karsten

Owner: changed from gsathya to metrics-team
Status: newassigned

I believe that gsathya has stopped working on any of these tickets quite a while ago. Reassigning to the friendly metrics-team user. (gsathya, thanks for having worked on all these tickets back when you did!)

comment:9 Changed 3 years ago by irl

Resolution: wontfix
Status: assignedclosed

The metrics team has put a goal of shutting down Compass in its roadmap and merging functionality with Relay Search (previously known as Atlas). This ticket is specific to Compass and as development on Compass has ceased, I am marking this ticket as wontfix.

See #23517 for information on the planned work to integrate Compass functionality into Relay Search.

Note: See TracTickets for help on using tickets.