To be fair, Kobayashi only lost out to Perez during the 2012 season - and even then, it was very close. 66-60 in championship points, 11-9 in qualifying. Before that, he generally did as well as his teammates in qualifying and better than his teammates in races every season.
2009 - debut season, drove only in two races. Lost to his teammate Trulli in qualifying, but got the better of him in those two races.
2010 - Beat Heidfeld both in qualifying and in races (11-6 in pts), was equal to de la Rosa in qualifying and comfortably beat him in races (21-6 in pts).
2011 - was better than de la Rosa in one quali/race (6-0 in pts), was equal to Perez in qualifying, beat him in races (24-14 pts).
2012 - got outqualified and outscored by Perez (60-66 in pts).
2014 - no points in a shitty Caterham for either him or his teammates, but he outqualified Ericsson quite clearly.
And yes, he's fantastic in sportscars, still love watching him.