Optimizing Edge AI: Performance Engineering in Resource-Constrained Environments