Added benchmark, compatible with both PPAPI and PNaCl plugin versions.