Opened 5 years ago

Closed 5 years ago

#12750 closed enhancement (duplicate)

Make bridgedb fast

Reported by: cypherpunks Owned by: isis
Priority: Medium Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Keywords:
Cc: chingucha@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Cold startup (fresh bridgedb install) -

old new
with logging 20.714s 14.172s
without logging 10.440s 4.393s

More detailed info -
old bridgedb -
bridgedb 16.73s user 2.09s system 90% cpu 20.714 total
bridgedb 6.93s user 1.58s system 81% cpu 10.440 total

new bridgedb -
bridgedb 13.59s user 0.52s system 99% cpu 14.172 total
bridgedb 4.24s user 0.09s system 98% cpu 4.393 total

Note - this breaks Stability stuff, set COLLECT_TIMESTAMP=False

Commit messages should be self explanatory.

Child Tickets

TicketTypeStatusOwnerSummary
#12780enhancementclosedisismake bridgedb fasterrrr

Attachments (15)

Change History (18)

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

Attachment: 0013-Make-g-faster.patch added

Changed 5 years ago by cypherpunks

Changed 5 years ago by cypherpunks

comment:1 Changed 5 years ago by cypherpunks

Status: newneeds_review

Note - the benchmark was done with leekspin -n 5000

comment:2 Changed 5 years ago by chingucha

Hey any updates on this? Anything I can do to speed up the code review?

comment:3 Changed 5 years ago by isis

Resolution: duplicate
Status: needs_reviewclosed
Note: See TracTickets for help on using tickets.