Preheat oven to 350°F. Spray a 9x13 baking pan with cooking spray. Set aside.
In the bowl of a large mixing bowl and an electric mixer, beat sugar and eggs for 5 minutes with a mixer on medium. The volume of mixture will increase by almost half and will be thickened and light in color.
Add butter and extracts and beat for 2 more minutes. Slowly add flour and beat until just combined. Fold in blueberries and pecans, reserved some for topping, if desired.
Using a spatula, pour and smooth batter into prepared pan. Sprinkle pecans on top, if using.
Bake for 40-45 minutes until a toothpick comes out clean.
Allow to cool completely before serving, or the cake will crack.