My base 2017 model MacBook sometimes takes several seconds to wake from sleep. Maybe five seconds just to display the login screen. It may be my imagination but it seems to wake faster when plugged in. Anyone else notice similar behavior?
I have a base model m3 2017.
Mine wakes up in 1-2 seconds.
Try this:
Go to System Preferences/Energy Saver.
Un-check the box "put hard disks to sleep when possible" (we have SSD)
I have all the boxes un-checked (both ac power & battery)
There are posts here about "slow to wake" caused by certain versions of MacOS.
I am still on my shipped with "High Sierra" 10.13.5 (10.13.6 is slow to wake per several people here). https://forums.macrumors.com/threads/10-13-6-slow-to-wake-from-sleep.2127447/