Unless you're alerady "fluent" in C++, I wouldn't do that. HTTP is a stateless protocol, meaning it's capable of horizontal scaling. This also means language performance is not that important.
Bottlenecks for web are most often in database queries. Meaning you would have much more performance gains by dropping ORMs and learning how to do proper SQL and database management.