#!/usr/local/bin/zsh-arrsm-opt
#!/usr/local/bin/zsh-clean

zmodload zsh/zprof

test_fun() {
    local -a arr
    arr=( "a" )
    repeat 20; do
        arr+=( $arr )
    done
}

test_fun
test_fun
test_fun

zprof
