Forum Discussion

namgaw's avatar
namgaw
Copper Contributor
Mar 10, 2025
Solved

Excel Office Script "Performance API"?

I was working on an Office Script and trying to improve the performance. I typed "Performance" into the code editor, and I was suprised to see the Intellisene kick in. My question is how to find and understand the relevant documentation for Typescript applicable to Excel Office Scripts. I could not find this object/API in official MSFT Office Script documentation. Icing on the cake would be a suggestion for a more sophisticated way of measuring performance bottlenecks on an Office Script.

 

I have attached a screenshot of the object and Intellisense.

TIA!

  • Have no idea why, but I can't answer by text, content is not permitted. Here is the short

     

  • Have no idea why, but I can't answer by text, content is not permitted. Here is the short

     

    • namgaw's avatar
      namgaw
      Copper Contributor

      Interesting...but I'd also love to get feedback on effective methods to measure performance, especially to help identify bottlenecks.

      • Sorry, I'm not so familiar with TypeScript. Just a guess, with timing interface (ok, Performance) you may mark start and end of some blocks and check what is the timing for each block.

Resources