Add build time to end of the page comments.
This commit is contained in:
@ -291,10 +291,16 @@ function build_all_page {
|
||||
}
|
||||
|
||||
## Main ##
|
||||
beg_time="$SECONDS"
|
||||
|
||||
start_main_page
|
||||
build_album_pages
|
||||
build_all_page
|
||||
end_main_page
|
||||
|
||||
end_time="$SECONDS"
|
||||
time="$(( $end_time - $beg_time ))"
|
||||
echo "<!-- Script took '$time' seconds to process. -->" >> $mainpage
|
||||
|
||||
cat $mainpage
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user