Jump to content

Javascript performance


Recommended Posts

Posted
Is there a way to gauge the peformance of a javascript in marcomcentral? I have a series of templates that i would like to clean up or optimize in composition speed but i do not not know if it is entirely on the FP server or if it is simply the number of objects i am using in the template.
Posted

Is this question really specific to MarcomCentral? If you're talking about JavaScript rules, it's really a general FusionPro question.

 

You can always add some logic like this to a rule:

var StartTime = new Date;
// The rest of your rule logic except the final "return" here.
Print("Execution time in milliseconds: " + (new Date().getTime() - StartTime.getTime()));
// Your "return" statement here.

The result will appear in your composition log (.msg) file.

Posted
It is specific to MarcomCentral as i am trying to figure out what resources or iterations are slowing the composition time in the actual MarcomCentral Store. I can compose the template using the desktop app but that is not a true representation of the composition once loaded to MarcomCentral.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...