chore: add benchmarks
This commit is contained in:
parent
ec0c238504
commit
52f6694dfe
|
@ -35,10 +35,14 @@ const div1 = $("div", body);
|
||||||
Selects all matching elements (or an empty `NodeList`):
|
Selects all matching elements (or an empty `NodeList`):
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const head = $('head');
|
const head = $("head");
|
||||||
const stylesheets = $$('link[rel="stylesheet"]', head).map(console.log);
|
const stylesheets = $$('link[rel="stylesheet"]', head).map(console.log);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Benchmarks
|
||||||
|
|
||||||
|
![ajquery-benchmarks "it's over 9000"](https://user-images.githubusercontent.com/122831/126773141-ba082a86-c394-42d4-99ef-4039681f36be.png)
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
Written entirely in modern ECMAScript 3, and directly transpilable into ES5, ES6
|
Written entirely in modern ECMAScript 3, and directly transpilable into ES5, ES6
|
||||||
|
|
Loading…
Reference in New Issue