[eluser]pickupman[/eluser]
Yes, running thousands of lines of code more, will be slower. Starting coding a complete application using plain PHP, and then code similar function in CI. You will find that gap will shrink. You are kind of comparing apples and oranges. CI is still one of the faster mature frameworks. Sure there are faster ones, but doesn't have the community behind them to keep them going.
Also, keep in mind what these stats truly mean rather than the actual number. Taking your slow CI number of 22.12 request per second.
22.12 x 60 = 1,327.20 request / min
1,327.20 x 60 = 796,212.00 request / hour
796,212.00 x 24 = 19, 109, 088.00 request / day
If you consider these number 22.12 request per second doesn't look to bad. If you are getting almost 800k hits per hour, you will likely be scaling your project to a bigger server.