Opened 11 years ago

Closed 11 years ago

#3289 closed Enhancement (fixed)

cache whether or not a peer atom is blocklisted

Reported by: charles Owned by: charles
Priority: Normal Milestone: 2.00
Component: libtransmission Version: 1.93
Severity: Normal Keywords: performance
Cc:

Description

According to a recent Shark report from John Clay, checking to see if a peer atom is blocklisted takes up about 6.5% of runtime.

We should cache this value, and calculate it only when a new atom is tested or when the blocklist's contents change.

Attachments (1)

blocklist-cache.diff (3.4 KB) - added by charles 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by charles

  • Milestone changed from 2.00 to 2.10

Changed 11 years ago by charles

comment:2 Changed 11 years ago by charles

  • Component changed from Transmission to libtransmission
  • Keywords performance added
  • Milestone changed from 2.10 to 2.00
  • Owner set to charles
  • Status changed from new to assigned

Fixed in trunk for 2.00 by r10751

comment:3 Changed 11 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.