Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function benchmark

    • Benchmark the performance of a function, calling it a requested number of iterations.

      Parameters

      • func: Function

        The function to benchmark

      • iterations: number

        The number of iterations to test

      • ...args: any[]

        Additional arguments passed to the benchmarked function

      Returns Promise<void>