I’m trying to see if various foods and sleep routines have an effect on my productivity during and after work. But it seems extremely difficult to objectively measure productivity. For example, if you’re a developer, you can’t use lines of code written (uncorrelated with productivity), time spent, or # of pomodoros done (can work for 30 minutes unfocused or focused and it’ll still be 30 minutes).
It gets even more difficult if you try to measure your productivity for non work-related tasks that you do after work; I have a laundry list of tasks that I want to do in my personal life. But I can’t measure my productivity by # of tasks done since they all differ in size. My best guess right now is to give an estimate for the size of each task and measure total size of all tasks done divided by time devoted to all the tasks, but even then if you spend less time after work one day compared to another, then that could impact your results since your productivity likely decreases as you spend more time working.