[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Class Performance - Expected?

Status
Not open for further replies.
M

Mike Fechner

Guest
What startup parameters have you used? -D -reusableObjects -q ??? Does your class reference other types? Super class? Interfaces? Parameter objects? Sent from Nine Von: Roger Blanchard Gesendet: Sonntag, 31. März 2019 16:16 An: TU.OE.Development@community.progress.com Betreff: [Technical Users - OE Development] Class Performance - Expected? Update from Progress Community Roger Blanchard 11.7.4..just wondering if this is expected. I know there is a performance hit with ABL classes but to this extent? If we call the following 1000 times it will take 7348ms!! (NEW Osprey.PointOfSale.PosTransaction.UpdateMediaTotal (oTransactionTotals)):performUpdate (DATASET dsPosTransaction BY-REFERENCE, iMediaType, iRecNum, dTenderAmount, NO, dECCAmount, cCardType ). If we do the same with a .p it takes only 166ms. RUN Osprey\PointOfSale\PosTransaction\UpdateMediaTotal2.p (oTransactionTotals, DATASET dsPosTransaction BY-REFERENCE, iMediaType, iRecNum, dTenderAmount, NO, dECCAmount, cCardType). If we create an instance of the class only once and call the PerformUpdate METHOD 1000 times it takes 3697ms. oMediaTotal:performUpdate (DATASET dsPosTransaction BY-REFERENCE, iMediaType, iRecNum, dTenderAmount, NO, dECCAmount, cCardType ). View online You received this notification because you subscribed to the forum. To stop receiving updates from only this thread, go here . Flag this post as spam/abuse.

Continue reading...
 
Status
Not open for further replies.
Top