[libGD] #232 [Task opened] gdFontCacheMutex degrades performance

[email protected] Tue, 9 Nov 2010 19:59:39 +0100 (CET)
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - solve media (solvemedia) 

Attached to Project - libGD
Summary - gdFontCacheMutex degrades performance
Task Type - Feature Request
Category - Freetype
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - 2.0.35
Due in Version - Undecided
Due Date - Undecided
Details - in a multi-threaded application which does a lot of
gdImageStringFTEx()ing, lock contention on gdFontCacheMutex
degrades performance.

removing the mutex, and using a per-thread cache and library,
improves performance by 2x (in our application, your mileage may vary).

patch for gdft.c attached.



More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=232

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.