Hi,

So adding cmsFLAGS_NOOPTIMIZE to the transform makes it faster, so we are back 
into LCMS1 performance. Now I've got to check whether the calculations are good 
/ fast enough

Lee

On 24 Jan 2013, at 10:10, Lee Badham wrote:

> Hi,
> 
> Same performance hit on MBS 12.5 and MBS 13.1pr8, so LCMS 2.4 still has this 
> problem.
> 
> Lee
> 
> On 23 Jan 2013, at 17:08, Lee Badham wrote:
> 
>> Hi,
>> 
>> I've been updating an app to use LCMS2, rather than LCMS1 and have a 2000% 
>> performance drop using CreateTransform.
>> 
>> Basically:
>> 
>> Function Createlcms2transform(p as LCMS2ProfileMBS) As LCMS2TransformMBS
>> return 
>> LCMS2TransformMBS.CreateTransform(p,LCMS2MBS.kTYPE_CMYK_16,lcms2labprofileLCMS2MBS.kTYPE_Lab_16,3)
>> 
>> End Function
>> 
>> Takes 20 times longer than
>> 
>> Function Createlcmstransform1(p as CMProfileMBS) As CMTransformMBS
>> return 
>> LCMSMBS.CreateTransform(p,LCMSMBS.TYPE_CMYK_16,lcmslabprofile,LCMSMBS.TYPE_Lab_16,3)
>> 
>> End Function
>> 
>> or
>> 
>> Function Createlcmstransform(p as CMProfileMBS) As CMTransformMBS
>> return LCMSMBS.CreateTransform(p,lcmslabprofile,3)
>> 
>> End Function
>> 
>> Here's the profile information calling these functions 100 times.
>> 
>> Window1
>> Name Called  Average (seconds)       Total (seconds) %
>> Createlcmstransform  101     0.0042  0.42    3%
>> Createlcmstransform1 101     0.004   0.40    3%
>> Createlcms2transform 101     0.1064  10.75   90%
>> Total                        23.15   193%
>> 
>> What can I do about this? As I import colour information I create these 
>> transforms to calculate new colours so each transform is done many times.
>> 
>> Lee Badham
>> 
>> www.bodoni.co.uk | www.presssign.com
>> 
>> 
>> _______________________________________________
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> [email protected]
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
> 
> Lee Badham
> 
> www.bodoni.co.uk | www.presssign.com
> 
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Lee Badham

www.bodoni.co.uk | www.presssign.com


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to