http://qs1969.pair.com?node_id=11141565


in reply to Re: Performance issue in the loop.
in thread Performance issue in the loop.

Ye, I used 'time' command: time perl my_program.pl

Replies are listed 'Best First'.
Re^3: Performance issue in the loop.
by Anonymous Monk on Feb 23, 2022 at 13:01 UTC
    How about you use time instead to time some subs?

    using a laptop? OS got CPU throttling feature? It can throw off benchmarks significantly. You can tell full throttle difference by fan noise.