Created
September 30, 2015 14:10
-
-
Save fjyuu/ff5cc0c077efe414ff8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.time('css'); | |
var a = $('html body form div.mb8p4 div.data_input table tbody tr td div p.font12 a'); | |
console.timeEnd('css'); | |
console.time('find') | |
var b = $('html') | |
.find('body') | |
.find('form') | |
.find('div.mb8p4') | |
.find('div.data_input') | |
.find('table') | |
.find('tbody') | |
.find('tr') | |
.find('td') | |
.find('div') | |
.find('p.font12') | |
.find('a'); | |
console.timeEnd('find'); | |
console.log(a); | |
console.log(b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment