css jquery vs own

JavaScript performance comparison

Test case created by haidsyed

Preparation code

<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=10">
    <title>sdsdsds</title>


</head>

<body>
    <style>
        .red {
            color: rgb(230, 21, 21)!important;
        }
        
        .blue {
            color: rgb(8, 8, 235)!important;
        }
        
        .green {
            color: rgb(243, 165, 19)!important;
        }
    </style>
    <h2>External JavaScript</h2>

    <P>grandparent
        <b class=" parent ">parent
                <i class="child">child a</i>
                <i class="child ">child </i>
        <i class="child  ">child c</i>
        </b>
        <b class=" parent ">parent
            <i class="child  ">child a</i>
            <i class="child  ">child </i>
        <i class="child ">child c</i>
        </b>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>
    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>

    <P>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b><br><br><br>
    </P>


    <div>grandparent
        <b class="parent ">parent
                    <i class="child ">child</i>
                                </b>
    </div>
    <span>grandparent
                <b class="parent ">parent
                        <i class="child ">child</i>
                                    </b>
            </span>
<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.2.0/zepto.min.js" integrity="sha256-vrn14y7WH7zgEElyQqm2uCGSQrX/xjYDjniRUQx3NyU=" crossorigin="anonymous"></script>
    <script>

Element.prototype.$style = function (css) {
    var css = Array.prototype.slice.call(arguments);

    var count = css.length;
    for (var i = 0; i < count; i++) {
        var split = css[i].replace(" ", "").split(":");
            this.style[split[0]] = split[1];
    }
    return this;

};

function $$(selector) {

    var output = document.querySelectorAll(selector);


    switch (output.length) {
        case 1:
            return output[0];
            break;

        default:
            return output;


    }

};




</script>

</body>

</html>
    

Preparation code output

<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=10"> <title>sdsdsds</title> </head> <body> <style> .red { color: rgb(230, 21, 21)!important; } .blue { color: rgb(8, 8, 235)!important; } .green { color: rgb(243, 165, 19)!important; } </style> <h2>External JavaScript</h2> <P>grandparent <b class=" parent ">parent <i class="child">child a</i> <i class="child ">child </i> <i class="child ">child c</i> </b> <b class=" parent ">parent <i class="child ">child a</i> <i class="child ">child </i> <i class="child ">child c</i> </b> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <P>grandparent <b class="parent ">parent <i class="child ">child</i> </b><br><br><br> </P> <div>grandparent <b class="parent ">parent <i class="child ">child</i> </b> </div> <span>grandparent <b class="parent ">parent <i class="child ">child</i> </b> </span> </body> </html>

Test runner

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

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
jquery
$("div b i").css({'background-color': 'yellow', 'font-size': '100'});
pending…
own
$$("div b i").$style("background-color: yellow", "font-size: 100%");
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.

0 Comments

sdsdsds

External JavaScript

grandparent parent child a child child c parent child a child child c

grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child


grandparent parent child
grandparent parent child