I'm a senior software developer at my company. My boss has always been really happy with my work and we've got on really well. I've always got good performance reviews and been confident in my abilities.
5 months ago I had a baby girl and I took 3 months of maternity leave. Over the past two months I have really struggled to work at the same level of efficiency and productivity that I did before. The sleep has been getting better, but I still am getting very interrupted sleep. My daughter is usually waking up for a feed at least once a night.
I'm really not performing as well as I used to. A lot of the work I do is mentally very intensive and I have been noticing that I'm just not as quick or as sharp as I used to be. I need to write stuff down more often now and take notes otherwise I forget things. This has really had an impact on my confidence. I'm worried about my progress and I am really stressed that I'm not doing good enough work anymore. I've been very worried that my boss will notice my decrease in performance and that I'll lose my job.
How do I approach my boss and explain myself? I think this is temporary and that when my sleep gets better I'll do better but how do I explain my lower performance in the meantime?