2013 iMac formatted disk and now very slow
Previous cleaning of 1tb data drive suggested only 1.5 gb left. Performance seemed a bit slow. Was suggested that I repeat following process that cleans drive and reloads OS. This would restore disk with OS and Apps and prepares machine to be offered for sale or trade in. Disk now shows reapportioned memory in keeping with OS and apps but now boot time is 4 minutes and 26 seconds. The disk 'cleaning' and OS restore took about 2 hours and once in motion I saw no hiccup, just lots of lines indicating process beginning and completing. Any ideas as to why so slow.
iMac 21.5″, macOS 10.15