It looks like Frame Generation disables itself when you open a crafting window or inventory, resulting in it toggling off and on constantly as you open crafting tables/inventories. This results in frames dropping pretty heavily when exiting a crafting table as it has to re-enable itself every time. The same happens when alt-tabbing as well, but I believe this is pretty normal behaviour for alt-tabbing.
Steam overlay framerates in screenshots attached.