asmjs

JavaScript performance comparison

Revision 16 of this test case created

Info

(ignore)

Preparation code

<script>
function mine(p1x,p1y, p2x,p2y,sqTolerance) { // square distance between 2 points
        window.stuff.push([p1x,p1y, p2x,p2y,sqTolerance])
                        //all doubles;
                        p1x = +p1x;
                        p1y = +p1y;
                        p2x = +p2x;
                        p2y = +p2y;
            sqTolerance = +sqTolerance;
                        var dx = 0.0,
                                dy = 0.0;
                        dx = p1x - p2x;
                        dy = p1y - p2y;

                        return (dx * dx + dy * dy)>sqTolerance;
                }
function his(p1, p2,sqTolerance) { // square distance between 2 points

                var dx = p1.x - p2.x,
                    dy = p1.y - p2.y;

                return (dx * dx + dy * dy)>sqTolerance;
        }
var points=[[224.55,250.14,224.55,250.15,0.6400000000000001],[224.53,250.14,224.55,250.15,0.6400000000000001],[224.53,250.15,224.55,250.15,0.6400000000000001],[224.53,250.16,224.55,250.15,0.6400000000000001],[224.53,250.16,224.55,250.15,0.6400000000000001],[224.53,250.17,224.55,250.15,0.6400000000000001],[224.53,250.17,224.55,250.15,0.6400000000000001],[224.53,250.18,224.55,250.15,0.6400000000000001],[224.53,250.18,224.55,250.15,0.6400000000000001],[224.52,250.18,224.55,250.15,0.6400000000000001],[224.52,250.18,224.55,250.15,0.6400000000000001],[224.52,250.18,224.55,250.15,0.6400000000000001],[224.52,250.18,224.55,250.15,0.6400000000000001],[224.51,250.18,224.55,250.15,0.6400000000000001],[224.51,250.18,224.55,250.15,0.6400000000000001],[224.51,250.17,224.55,250.15,0.6400000000000001],[224.51,250.17,224.55,250.15,0.6400000000000001],[224.5,250.17,224.55,250.15,0.6400000000000001],[224.5,250.17,224.55,250.15,0.6400000000000001],[224.5,250.17,224.55,250.15,0.6400000000000001],[224.5,250.17,224.55,250.15,0.6400000000000001],[224.5,250.17,224.55,250.15,0.6400000000000001],[224.5,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.17,224.55,250.15,0.6400000000000001],[224.49,250.18,224.55,250.15,0.6400000000000001],[224.49,250.18,224.55,250.15,0.6400000000000001],[224.49,250.18,224.55,250.15,0.6400000000000001],[224.49,250.18,224.55,250.15,0.6400000000000001],[224.49,250.19,224.55,250.15,0.6400000000000001],[224.48,250.2,224.55,250.15,0.6400000000000001],[224.48,250.21,224.55,250.15,0.6400000000000001],[224.48,250.21,224.55,250.15,0.6400000000000001],[224.48,250.21,224.55,250.15,0.6400000000000001],[224.48,250.21,224.55,250.15,0.6400000000000001],[224.49,250.22,224.55,250.15,0.6400000000000001],[224.49,250.22,224.55,250.15,0.6400000000000001],[224.49,250.23,224.55,250.15,0.6400000000000001],[224.5,250.25,224.55,250.15,0.6400000000000001],[224.51,250.26,224.55,250.15,0.6400000000000001],[224.51,250.27,224.55,250.15,0.6400000000000001],[224.52,250.28,224.55,250.15,0.6400000000000001],[224.52,250.28,224.55,250.15,0.6400000000000001],[224.52,250.28,224.55,250.15,0.6400000000000001],[224.52,250.29,224.55,250.15,0.6400000000000001],[224.52,250.29,224.55,250.15,0.6400000000000001],[224.52,250.29,224.55,250.15,0.6400000000000001],[224.52,250.3,224.55,250.15,0.6400000000000001],[224.52,250.3,224.55,250.15,0.6400000000000001],[224.52,250.31,224.55,250.15,0.6400000000000001],[224.52,250.31,224.55,250.15,0.6400000000000001],[224.52,250.31,224.55,250.15,0.6400000000000001],[224.52,250.32,224.55,250.15,0.6400000000000001],[224.52,250.32,224.55,250.15,0.6400000000000001],[224.52,250.32,224.55,250.15,0.6400000000000001],[224.52,250.33,224.55,250.15,0.6400000000000001],[224.53,250.33,224.55,250.15,0.6400000000000001],[224.53,250.35,224.55,250.15,0.6400000000000001],[224.54,250.35,224.55,250.15,0.6400000000000001],[224.54,250.36,224.55,250.15,0.6400000000000001],[224.55,250.36,224.55,250.15,0.6400000000000001],[224.55,250.37,224.55,250.15,0.6400000000000001],[224.55,250.38,224.55,250.15,0.6400000000000001],[224.55,250.38,224.55,250.15,0.6400000000000001],[224.55,250.39,224.55,250.15,0.6400000000000001],[224.56,250.39,224.55,250.15,0.6400000000000001],[224.56,250.4,224.55,250.15,0.6400000000000001],[224.57,250.4,224.55,250.15,0.6400000000000001],[224.57,250.41,224.55,250.15,0.6400000000000001],[224.58,250.41,224.55,250.15,0.6400000000000001],[224.58,250.42,224.55,250.15,0.6400000000000001],[224.59,250.42,224.55,250.15,0.6400000000000001],[224.59,250.43,224.55,250.15,0.6400000000000001],[224.59,250.44,224.55,250.15,0.6400000000000001],[224.6,250.46,224.55,250.15,0.6400000000000001],[224.6,250.46,224.55,250.15,0.6400000000000001],[224.6,250.47,224.55,250.15,0.6400000000000001],[224.6,250.47,224.55,250.15,0.6400000000000001],[224.61,250.48,224.55,250.15,0.6400000000000001],[224.62,250.49,224.55,250.15,0.6400000000000001],[224.63,250.5,224.55,250.15,0.6400000000000001],[224.63,250.5,224.55,250.15,0.6400000000000001],[224.64,250.51,224.55,250.15,0.6400000000000001],[224.65,250.53,224.55,250.15,0.6400000000000001],[224.66,250.54,224.55,250.15,0.6400000000000001],[224.67,250.56,224.55,250.15,0.6400000000000001],[224.67,250.57,224.55,250.15,0.6400000000000001],[224.68,250.58,224.55,250.15,0.6400000000000001],[224.68,250.59,224.55,250.15,0.6400000000000001],[224.69,250.6,224.55,250.15,0.6400000000000001],[224.69,250.6,224.55,250.15,0.6400000000000001],[224.69,250.6,224.55,250.15,0.6400000000000001],[224.69,250.6,224.55,250.15,0.6400000000000001],[224.69,250.61,224.55,250.15,0.6400000000000001],[224.69,250.61,224.55,250.15,0.6400000000000001],[224.69,250.61,224.55,250.15,0.6400000000000001],[224.69,250.61,224.55,250.15,0.6400000000000001],[224.69,250.61,224.55,250.15,0.6400000000000001],[224.68,250.6,224.55,250.15,0.6400000000000001],[224.68,250.6,224.55,250.15,0.6400000000000001],[224.69,250.59,224.55,250.15,0.6400000000000001],[224.69,250.59,224.55,250.15,0.6400000000000001],[224.69,250.58,224.55,250.15,0.6400000000000001],[224.69,250.57,224.55,250.15,0.6400000000000001],[224.69,250.56,224.55,250.15,0.6400000000000001],[224.69,250.56,224.55,250.15,0.6400000000000001],[224.69,250.55,224.55,250.15,0.6400000000000001],[224.69,250.55,224.55,250.15,0.6400000000000001],[224.69,250.54,224.55,250.15,0.6400000000000001],[224.69,250.54,224.55,250.15,0.6400000000000001],[224.7,250.53,224.55,250.15,0.6400000000000001],[224.7,250.53,224.55,250.15,0.6400000000000001],[224.7,250.52,224.55,250.15,0.6400000000000001],[224.71,250.52,224.55,250.15,0.6400000000000001],[224.71,250.51,224.55,250.15,0.6400000000000001],[224.72,250.5,224.55,250.15,0.6400000000000001],[224.72,250.5,224.55,250.15,0.6400000000000001],[224.72,250.49,224.55,250.15,0.6400000000000001],[224.73,250.49,224.55,250.15,0.6400000000000001],[224.73,250.49,224.55,250.15,0.6400000000000001],[224.74,250.48,224.55,250.15,0.6400000000000001],[224.74,250.48,224.55,250.15,0.6400000000000001],[224.75,250.47,224.55,250.15,0.6400000000000001],[224.76,250.46,224.55,250.15,0.6400000000000001],[224.78,250.45,224.55,250.15,0.6400000000000001],[224.79,250.44,224.55,250.15,0.6400000000000001],[224.81,250.43,224.55,250.15,0.6400000000000001],[224.82,250.42,224.55,250.15,0.6400000000000001],[224.82,250.42,224.55,250.15,0.6400000000000001],[224.83,250.42,224.55,250.15,0.6400000000000001],[224.83,250.41,224.55,250.15,0.6400000000000001],[224.84,250.4,224.55,250.15,0.6400000000000001],[224.85,250.39,224.55,250.15,0.6400000000000001],[224.86,250.38,224.55,250.15,0.6400000000000001],[224.86,250.38,224.55,250.15,0.6400000000000001],[224.87,250.37,224.55,250.15,0.6400000000000001],[224.88,250.36,224.55,250.15,0.6400000000000001],[224.88,250.36,224.55,250.15,0.6400000000000001],[224.89,250.35,224.55,250.15,0.6400000000000001],[224.9,250.34,224.55,250.15,0.6400000000000001],[224.91,250.34,224.55,250.15,0.6400000000000001],[224.92,250.33,224.55,250.15,0.6400000000000001],[224.92,250.33,224.55,250.15,0.6400000000000001],[224.92,250.33,224.55,250.15,0.6400000000000001],[224.93,250.33,224.55,250.15,0.6400000000000001],[224.93,250.32,224.55,250.15,0.6400000000000001],[224.93,250.31,224.55,250.15,0.6400000000000001],[224.94,250.31,224.55,250.15,0.6400000000000001],[224.94,250.3,224.55,250.15,0.6400000000000001],[224.94,250.3,224.55,250.15,0.6400000000000001],[224.95,250.29,224.55,250.15,0.6400000000000001],[224.95,250.28,224.55,250.15,0.6400000000000001],[224.95,250.28,224.55,250.15,0.6400000000000001],[224.96,250.27,224.55,250.15,0.6400000000000001],[224.96,250.26,224.55,250.15,0.6400000000000001],[224.97,250.26,224.55,250.15,0.6400000000000001],[224.98,250.25,224.55,250.15,0.6400000000000001],[224.98,250.25,224.55,250.15,0.6400000000000001],[224.99,250.24,224.55,250.15,0.6400000000000001],[224.99,250.23,224.55,250.15,0.6400000000000001],[225,250.22,224.55,250.15,0.6400000000000001],[225,250.21,224.55,250.15,0.6400000000000001],[225.01,250.21,224.55,250.15,0.6400000000000001],[225.01,250.2,224.55,250.15,0.6400000000000001],[225.02,250.19,224.55,250.15,0.6400000000000001],[225.02,250.18,224.55,250.15,0.6400000000000001],[225.03,250.17,224.55,250.15,0.6400000000000001],[225.04,250.17,224.55,250.15,0.6400000000000001],[225.04,250.16,224.55,250.15,0.6400000000000001],[225.05,250.15,224.55,250.15,0.6400000000000001],[225.06,250.14,224.55,250.15,0.6400000000000001],[225.06,250.13,224.55,250.15,0.6400000000000001],[225.07,250.12,224.55,250.15,0.6400000000000001],[225.07,250.11,224.55,250.15,0.6400000000000001],[225.08,250.1,224.55,250.15,0.6400000000000001],[225.09,250.09,224.55,250.15,0.6400000000000001],[225.09,250.08,224.55,250.15,0.6400000000000001],[225.1,250.07,224.55,250.15,0.6400000000000001],[225.1,250.06,224.55,250.15,0.6400000000000001],[225.11,250.05,224.55,250.15,0.6400000000000001],[225.12,250.05,224.55,250.15,0.6400000000000001],[225.12,250.04,224.55,250.15,0.6400000000000001],[225.12,250.04,224.55,250.15,0.6400000000000001],[225.13,250.03,224.55,250.15,0.6400000000000001],[225.13,250.02,224.55,250.15,0.6400000000000001],[225.13,250.02,224.55,250.15,0.6400000000000001],[225.14,250.02,224.55,250.15,0.6400000000000001],[225.14,250.02,224.55,250.15,0.6400000000000001],[225.14,250.01,224.55,250.15,0.6400000000000001],[225.14,250.01,224.55,250.15,0.6400000000000001],[225.14,250,224.55,250.15,0.6400000000000001],[225.14,249.99,224.55,250.15,0.6400000000000001],[225.15,249.98,224.55,250.15,0.6400000000000001],[225.15,249.97,224.55,250.15,0.6400000000000001],[225.15,249.96,224.55,250.15,0.6400000000000001],[225.15,249.95,224.55,250.15,0.6400000000000001],[225.15,249.95,224.55,250.15,0.6400000000000001],[225.15,249.94,224.55,250.15,0.6400000000000001],[225.15,249.93,224.55,250.15,0.6400000000000001],[225.14,249.92,224.55,250.15,0.6400000000000001],[225.14,249.91,224.55,250.15,0.6400000000000001],[225.14,249.9,224.55,250.15,0.6400000000000001],[225.14,249.89,224.55,250.15,0.6400000000000001],[225.14,249.89,224.55,250.15,0.6400000000000001],[225.14,249.89,224.55,250.15,0.6400000000000001],[225.14,249.88,224.55,250.15,0.6400000000000001],[225.14,249.87,224.55,250.15,0.6400000000000001],[225.14,249.86,224.55,250.15,0.6400000000000001],[225.14,249.85,224.55,250.15,0.6400000000000001],[225.14,249.85,224.55,250.15,0.6400000000000001],[225.15,249.84,224.55,250.15,0.6400000000000001],[225.15,249.84,224.55,250.15,0.6400000000000001],[225.15,249.83,224.55,250.15,0.6400000000000001],[225.15,249.82,224.55,250.15,0.6400000000000001],[225.15,249.82,224.55,250.15,0.6400000000000001],[225.15,249.81,224.55,250.15,0.6400000000000001],[225.15,249.81,224.55,250.15,0.6400000000000001],[225.15,249.81,224.55,250.15,0.6400000000000001],[225.15,249.8,224.55,250.15,0.6400000000000001],[225.15,249.8,224.55,250.15,0.6400000000000001],[225.15,249.8,224.55,250.15,0.6400000000000001],[225.15,249.8,224.55,250.15,0.6400000000000001],[225.14,249.79,224.55,250.15,0.6400000000000001],[225.14,249.79,224.55,250.15,0.6400000000000001],[225.13,249.79,224.55,250.15,0.6400000000000001],[225.13,249.79,224.55,250.15,0.6400000000000001],[225.13,249.78,224.55,250.15,0.6400000000000001],[225.12,249.77,224.55,250.15,0.6400000000000001],[225.11,249.77,224.55,250.15,0.6400000000000001],[225.11,249.77,224.55,250.15,0.6400000000000001],[225.11,249.76,224.55,250.15,0.6400000000000001],[225.11,249.76,224.55,250.15,0.6400000000000001],[225.1,249.77,224.55,250.15,0.6400000000000001],[225.1,249.77,224.55,250.15,0.6400000000000001],[225.09,249.77,224.55,250.15,0.6400000000000001],[225.08,249.76,224.55,250.15,0.6400000000000001],[225.06,249.76,224.55,250.15,0.6400000000000001],[225.04,249.75,224.55,250.15,0.6400000000000001],[225,249.74,224.55,250.15,0.6400000000000001],[224.99,249.73,224.55,250.15,0.6400000000000001],[224.96,249.72,224.55,250.15,0.6400000000000001],[224.95,249.71,224.55,250.15,0.6400000000000001],[224.94,249.71,224.55,250.15,0.6400000000000001],[224.93,249.71,224.55,250.15,0.6400000000000001],[224.91,249.71,224.55,250.15,0.6400000000000001],[224.9,249.71,224.55,250.15,0.6400000000000001],[224.89,249.7,224.55,250.15,0.6400000000000001],[224.87,249.7,224.55,250.15,0.6400000000000001],[224.86,249.7,224.55,250.15,0.6400000000000001],[224.85,249.69,224.55,250.15,0.6400000000000001],[224.82,249.67,224.55,250.15,0.6400000000000001],[224.79,249.66,224.55,250.15,0.6400000000000001],[224.77,249.64,224.55,250.15,0.6400000000000001],[224.76,249.63,224.55,250.15,0.6400000000000001],[224.74,249.61,224.55,250.15,0.6400000000000001],[224.7,249.58,224.55,250.15,0.6400000000000001],[224.67,249.55,224.55,250.15,0.6400000000000001],[224.64,249.52,224.55,250.15,0.6400000000000001],[224.6,249.48,224.55,250.15,0.6400000000000001],[224.57,249.45,224.55,250.15,0.6400000000000001],[224.53,249.42,224.55,250.15,0.6400000000000001],[224.5,249.39,224.55,250.15,0.6400000000000001],[224.46,249.35,224.55,250.15,0.6400000000000001],[224.43,249.32,224.46,249.35,0.6400000000000001],[224.42,249.31,224.46,249.35,0.6400000000000001],[224.41,249.3,224.46,249.35,0.6400000000000001],[224.4,249.3,224.46,249.35,0.6400000000000001],[224.39,249.29,224.46,249.35,0.6400000000000001],[224.38,249.29,224.46,249.35,0.6400000000000001],[224.37,249.28,224.46,249.35,0.6400000000000001],[224.37,249.28,224.46,249.35,0.6400000000000001],[224.36,249.28,224.46,249.35,0.6400000000000001],[224.35,249.27,224.46,249.35,0.6400000000000001],[224.34,249.27,224.46,249.35,0.6400000000000001],[224.32,249.27,224.46,249.35,0.6400000000000001],[224.31,249.27,224.46,249.35,0.6400000000000001],[224.3,249.27,224.46,249.35,0.6400000000000001],[224.29,249.27,224.46,249.35,0.6400000000000001],[224.28,249.26,224.46,249.35,0.6400000000000001],[224.27,249.26,224.46,249.35,0.6400000000000001],[224.26,249.26,224.46,249.35,0.6400000000000001],[224.25,249.26,224.46,249.35,0.6400000000000001],[224.24,249.26,224.46,249.35,0.6400000000000001],[224.23,249.26,224.46,249.35,0.6400000000000001],[224.22,249.26,224.46,249.35,0.6400000000000001],[224.2,249.27,224.46,249.35,0.6400000000000001],[224.2,249.27,224.46,249.35,0.6400000000000001],[224.19,249.27,224.46,249.35,0.6400000000000001],[224.19,249.27,224.46,249.35,0.6400000000000001],[224.18,249.26,224.46,249.35,0.6400000000000001],[224.18,249.26,224.46,249.35,0.6400000000000001],[224.17,249.26,224.46,249.35,0.6400000000000001],[224.17,249.25,224.46,249.35,0.6400000000000001],[224.17,249.25,224.46,249.35,0.6400000000000001],[224.16,249.25,224.46,249.35,0.6400000000000001],[224.16,249.25,224.46,249.35,0.6400000000000001],[224.16,249.24,224.46,249.35,0.6400000000000001],[224.16,249.24,224.46,249.35,0.6400000000000001],[224.16,249.24,224.46,249.35,0.6400000000000001],[224.16,249.23,224.46,249.35,0.6400000000000001],[224.15,249.23,224.46,249.35,0.6400000000000001],[224.15,249.23,224.46,249.35,0.6400000000000001],[224.15,249.23,224.46,249.35,0.6400000000000001],[224.15,249.23,224.46,249.35,0.6400000000000001],[224.16,249.22,224.46,249.35,0.6400000000000001],[224.16,249.21,224.46,249.35,0.6400000000000001],[224.16,249.21,224.46,249.35,0.6400000000000001],[224.16,249.21,224.46,249.35,0.6400000000000001],[224.16,249.2,224.46,249.35,0.6400000000000001],[224.18,249.17,224.46,249.35,0.6400000000000001],[224.19,249.15,224.46,249.35,0.6400000000000001],[224.19,249.14,224.46,249.35,0.6400000000000001],[224.21,249.11,224.46,249.35,0.6400000000000001],[224.21,249.1,224.46,249.35,0.6400000000000001],[224.22,249.09,224.46,249.35,0.6400000000000001],[224.22,249.09,224.46,249.35,0.6400000000000001],[224.22,249.07,224.46,249.35,0.6400000000000001],[224.22,249.05,224.46,249.35,0.6400000000000001],[224.23,249.05,224.46,249.35,0.6400000000000001],[224.24,249,224.46,249.35,0.6400000000000001],[224.24,248.99,224.46,249.35,0.6400000000000001],[224.24,248.98,224.46,249.35,0.6400000000000001],[224.25,248.94,224.46,249.35,0.6400000000000001],[224.26,248.9,224.46,249.35,0.6400000000000001],[224.26,248.89,224.46,249.35,0.6400000000000001],[224.26,248.88,224.46,249.35,0.6400000000000001],[224.26,248.87,224.46,249.35,0.6400000000000001],[224.27,248.86,224.46,249.35,0.6400000000000001],[224.27,248.86,224.46,249.35,0.6400000000000001],[224.28,248.83,224.46,249.35,0.6400000000000001],[224.28,248.83,224.46,249.35,0.6400000000000001],[224.29,248.81,224.46,249.35,0.6400000000000001],[224.29,248.81,224.46,249.35,0.6400000000000001],[224.3,248.81,224.46,249.35,0.6400000000000001],[224.3,248.8,224.46,249.35,0.6400000000000001],[224.3,248.79,224.46,249.35,0.6400000000000001],[224.31,248.78,224.46,249.35,0.6400000000000001],[224.32,248.77,224.46,249.35,0.6400000000000001],[224.32,248.76,224.46,249.35,0.6400000000000001],[224.33,248.75,224.46,249.35,0.6400000000000001],[224.33,248.74,224.46,249.35,0.6400000000000001],[224.33,248.73,224.46,249.35,0.6400000000000001],[224.33,248.73,224.46,249.35,0.6400000000000001],[224.34,248.71,224.46,249.35,0.6400000000000001],[224.34,248.7,224.46,249.35,0.6400000000000001],[224.35,248.7,224.46,249.35,0.6400000000000001],[224.35,248.69,224.46,249.35,0.6400000000000001],[224.35,248.69,224.46,249.35,0.6400000000000001],[224.36,248.68,224.46,249.35,0.6400000000000001],[224.36,248.68,224.46,249.35,0.6400000000000001],[224.37,248.67,224.46,249.35,0.6400000000000001],[224.38,248.67,224.46,249.35,0.6400000000000001],[224.39,248.66,224.46,249.35,0.6400000000000001],[224.4,248.66,224.46,249.35,0.6400000000000001],[224.4,248.65,224.46,249.35,0.6400000000000001],[224.41,248.64,224.46,249.35,0.6400000000000001],[224.41,248.64,224.46,249.35,0.6400000000000001],[224.42,248.62,224.46,249.35,0.6400000000000001],[224.43,248.6,224.46,249.35,0.6400000000000001],[224.44,248.59,224.46,249.35,0.6400000000000001],[224.44,248.58,224.46,249.35,0.6400000000000001],[224.44,248.58,224.46,249.35,0.6400000000000001],[224.45,248.56,224.46,249.35,0.6400000000000001],[224.46,248.55,224.46,249.35,0.6400000000000001],[224.47,248.54,224.46,249.35,0.6400000000000001],[224.48,248.54,224.47,248.54,0.6400000000000001],[224.48,248.53,224.47,248.54,0.6400000000000001],[224.49,248.53,224.47,248.54,0.6400000000000001],[224.5,248.52,224.47,248.54,0.6400000000000001],[224.51,248.51,224.47,248.54,0.6400000000000001],[224.51,248.5,224.47,248.54,0.6400000000000001],[224.52,248.49,224.47,248.54,0.6400000000000001],[224.52,248.48,224.47,248.54,0.6400000000000001]]
</script>

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
his
var len = points.length;
var i = 0;
var out = new Array(len);
var cur;
while(i<len){
cur=points[i];
out[i]=his({x:cur[0],y:cur[1]},{x:cur[2],y:cur[3]},cur[4])
}
pending…
mine
var len = points.length;
var i = 0;
var out = new Array(len);
var cur;
while(i<len){
cur=points[i];
out[i]=mine(cur[0],cur[1],cur[2],cur[3],cur[4])
}
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment