In a rational world people should perform equally under a uniform incentive structure irrespective of whether there is specific meaning or purpose to their work or not.
As far back as 2007 Adam Grant experimented with call center employees to establish that adding purpose to a task drives better performance. The research question was whether a simple five-minute interaction with another person dramatically increase your weekly productivity?
In the intervention leg of the experiment a group of call center agents raising money for a university cause were introduced to recipients of the efforts, but only for as brief a period as five minutes. Turned out that putting a face to the cause spent more than two times as many minutes on the phone, and raised significantly more money – a weekly average of $503.22, up from $185.94
The experiment is well summarized here: