Preheat Oven: Preheat to 200°C (400°F).
Cook Mushrooms: In a skillet, heat butter and olive oil over medium heat. Add mushrooms and thyme; sauté 8-10 minutes until golden. Remove thyme sprigs if using fresh.
Prepare Pastry: Roll out puff pastry to fit a 25x35 cm (10x14 inch) baking tray. Place on a parchment-lined tray. Score a 1 cm (½ inch) border; prick the center with a fork.
Add Cheese: Sprinkle all the Gruyere cheese evenly over the center of the pastry.
Add Mushrooms: Spread the sautéed mushrooms over the cheese.
Egg Wash: Brush the pastry edges with beaten egg for a golden finish.
Bake: Bake 15-20 minutes, until pastry is golden and puffed.
Serve: Cool slightly, slice, and serve warm.
