When you try to build something is no matter how much time you consume to do that thing. But the matter is how efficaciously and efficiently you implement such a feature. It doesn't matter if you spend more or less time. What you build should work fastly and well. In order to achieve such a result, you don't need (necessarily) hard work but innovation and creativity. If you spend too much time working and so little time innovating there is something that doesn't work in your job. So innovate first, and after you will find solutions more rapidly and with less effort. Yes, of course, innovation requires time but on my own, I find more pleasure in studying new technologies and solutions than staying stuck in the old and obsolete ones.
On the other hand, if you don't experiment, creatively, with other solutions, you never discover new possibilities. Besides, using creativity is a strong pusher on motivation and makes the job more enjoyable.
In such a way you work less, with more joy and with more productivity, even though is still a job.