Cook the gnocchi according to package directions. Skip to the next step if using fresh.
Meanwhile heat the olive oil and butter in a large skillet with a pinch of red pepper flakes.
Saute the onion until softened.
Drain the gnocchi and add to the onions, stirring to coat. Continue to cook the gnocchi until they begin to turn golden brown. Stir gently to prevent over browning.
Add the peas and mix. Season with salt, pepper and herbs as desired.
Mix in some grated hard cheese before serving and garnish with more herbs.