User bio
404 bio not found
Member since Jun 11, 2024
Posts:
Oliver has not published any posts yet.
Replies:

I don't see why you can't create another ClassMethod to test GetAllRecords()

Your test ClassMethod would need to create instances of %CSP.Request and %CSP.Response and set any properties required but it should be possible.

Looking at the Documentation for %CSP.Request it actually mentions the Command Line:

http://cg-az-cendev01/csp/documatic/%25CSP.Documatic.cls

property CSPGatewayRequest as %Boolean [ InitialExpression = 0 ];

True if the request came the CSP Gateway, and false if it was from the command line or the built in web server.

You could write your own std deviation ClassMethod() in ObjectScript. You then have the flexibility to use that however you want.

The logic doesn't look that complex, and for a few thousand rows would run fast enough in Object Script.

See link below for the calculations you need to do:

https://www.scribbr.com/statistics/standard-deviation/

You can validate your results with the STDDEV(SQL) method, which will also allow you to compare performance.

Certifications & Credly badges:
Oliver has no Certifications & Credly badges yet.
Global Masters badges:
Oliver has no Global Masters badges yet.
Followers:
Oliver has no followers yet.
Following:
Oliver has not followed anybody yet.