Ramadan was my most productive month last year (hard to measure this year as I started at a new job just before Ramadan). There are no food related distractions (no thinking about lunch, getting up for water, going to the washroom, etc). The key was adjusting my schedule a little bit (start work later) to ensure you get enough proper sleep.