Add benchmark to internal API, add help for build script