A question about performance, using the Saxon Profile tool

"Dr. Roger L Costello" <[email protected]>
Newsgroups gmane.text.xml.saxon.help
Message-ID <DM6PR09MB3337A54592D67E0B8B19C1A5C8790@DM6PR09MB3337.namprd09.prod.outlook.com>
Hi Folks,

This is a question about performance. In particular, about the Saxon Profile tool.

I have a function matrix:create. The profile tool says this about its performance:

Average time (net/ms): 0.007

The matrix:create doesn't call any other function. So, the average time required for matrix:create to do its thing is 0.007 milliseconds. Right?

Next, I have a function f:neuralNetwork that calls matrix:create. Suppose f:neuralNetwork calls matrix:create three times. And that's all f:neuralNetwork does. Then the time to execute f:neuralNetwork should be about: 3 x 0.007ms = 0.021ms, right? Well, perhaps a tiny bit more, to account for the overhead of making the function calls, so let's say the total time is 0.023ms. Does that sound about right?

/Roger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.