JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

spork/test/timeit

spork


    macro
    /usr/local/lib/janet/spork/test.janet on line 61, column 1

    (timeit form &opt tag)

    Time the execution of `form` using `os/clock` before and after, and 
    print the result to stdout. Returns result of executing `form`. 
    Uses `tag` (default "Elapsed time:") to tag the printout.


0 examplesSign in to add an example
Loading...