Hi there,
I am continuing an in-depth investigation into why our application is performing more slowly with 12.0 compared to 10.0. I found something that looks like a smoking gun. It actually ended up being a debug line.
isc.Log.logInfo("in calculateSubGroupStatList, for subGroupProperty=" + subGroupObj.subGroupAssetProperty + " calculating subGroupStats...")
My dev console wasn't even set to display INFO statements. So, i wasn't seeing this in the dev console. But, the attempt to resolve subGroupObj.subGroupAssetProperty and turn it into a string was causing massive slowdowns for us in 12.0. When I change this line like this to force the property to a string, the performance impact is eliminnated
isc.Log.logInfo("in calculateSubGroupStatList, for subGroupProperty=" + subGroupObj.subGroupAssetProperty.toString() + " calculating subGroupStats...")
I can easily comb over my code and make sure we are not suffering from this penalty anywhere else. But, I wanted to ask if you know why this is happening in 12.0 when it doesn't in 10.0? Also curious if there is a way to avoid the penalty if the Dev Console settings are configured to not even display this message?
I am continuing an in-depth investigation into why our application is performing more slowly with 12.0 compared to 10.0. I found something that looks like a smoking gun. It actually ended up being a debug line.
isc.Log.logInfo("in calculateSubGroupStatList, for subGroupProperty=" + subGroupObj.subGroupAssetProperty + " calculating subGroupStats...")
My dev console wasn't even set to display INFO statements. So, i wasn't seeing this in the dev console. But, the attempt to resolve subGroupObj.subGroupAssetProperty and turn it into a string was causing massive slowdowns for us in 12.0. When I change this line like this to force the property to a string, the performance impact is eliminnated
isc.Log.logInfo("in calculateSubGroupStatList, for subGroupProperty=" + subGroupObj.subGroupAssetProperty.toString() + " calculating subGroupStats...")
I can easily comb over my code and make sure we are not suffering from this penalty anywhere else. But, I wanted to ask if you know why this is happening in 12.0 when it doesn't in 10.0? Also curious if there is a way to avoid the penalty if the Dev Console settings are configured to not even display this message?
Comment