JS inline function performance test
Please see the web console for performance measure.