Nice feature I would want too.

Sometimes I have quite a big script I want to test how long it would take to do this and that.

but maybe for big scripts, something like this can be used:

bench {

script here

}