In order to play Sonic The Hedgehog 2 on macOS with maximum graphics settings, you need a computer with a configuration no worse than the following
OS: OS Sierra Version 10.12.6
Processor: 2.6GHz Intel Core i5
Memory: 8 GB RAM
Graphics: Intel Iris 1536