Tried running the below code using Inline C, the speed was 10reqs/s compared with pure perl hello world at 110reqs/s. What's the problem?
#!/usr/bin/perl -w
use Inline (Config => DIRECTORY => '/home/example/.Inline',);
use Inline 'C';
greet();
exit 200;
__END__
__C__
void greet() {
printf("Hello, world\n");
}